How to Use Count and Count Distinct in Tableau Counting Dimensions

Опубликовано: 04 Октябрь 2024
на канале: Ynteractive Training
5,156
41

Subscribe: http://bit.ly/3i3WN4p How do you use count and count D in tableau counter self-explanatory and count d means count distinct now first start by adding region to The View. I'm going to add a calculated field. I'm going to call this count of region so I'm going to type count and then pass in the region field most of the time you'll be counting dimensions it's an account how many times each region exists in my data click apply and okay let's move that to The View so the central region exists 2 323 times let's add a second calculation for count distinct create a calculated field call us count D of region it's simply going to be the same thing but a d added to count count D of region close that out click apply okay and move that over to The View you can see that within the central region I only have one region that makes sense it's only Central so it's one for each region if I remove region I can see that count distinct of region is four and count of region is 9994. There are 9994 rows in my data and there are four distinct regions hope this helps