Forum Discussion
vishalbaldania
Helper I
9 years agoTotal Count Without Duplicates
vanessafvg How to Count total number of rows in table after using some filter. I have created column and Measure to calculate number of rows in table but could not get right result. As you c...
vishalbaldania
Helper I
9 years ago
Could you please tell me formula for count of all rows in the table. becasue i want to use that as KPI
vanessafvg
Community Champion
9 years agovishalbaldania counting all rows is simply countrows(tablename)
- vishalbaldania9 years ago
Helper I
As you said i used DISTINCTCOUNT(RPT_COMEBACKS[Equipment ID]) but the still output does not right (you can see in image). if you calculate total number of rows in table then it would be 9 insted 10.
I also used COUNTROW: Measure = COUNTROWS(RPT_COMEBACKS) but result is not changed.
- vanessafvg9 years ago
Community Champion
vishalbaldania why are you creating a column? they should both be measures
just so that i understand what you trying to do.
you want to see the total rows in the table vs the count of unique equipment id's?
- vishalbaldania9 years ago
Helper I
YES that's right