Forum Discussion
Need a Count on Distinct Information
Hi CA8172 , try this:
Measure = CALCULATE(COUNTROWS(myTable),ALLEXCEPT(myTable,myTable[Account Number]))
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos πare nice too.
Nathaniel
Nathaniel_C - I did as you suggested (see below), but it counted each row and is showing 21,912 for each Case Number, etc (see screen shot) when I try to put it all in a Table visualization.
- Nathaniel_C6 years agoCommunity Champion
- CA81726 years agoHelper I
Nathaniel_C- it is only one table so there is no relationships at this point
- Nathaniel_C6 years agoCommunity Champion
Dummied PBIX
Hi CA8172 ,
So here is a pbix with dummied data, it is one table with a measure that is applied to a table. See if this gives you an idea.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos πare nice too.
Nathaniel
- Anonymous6 years agoNot applicable
It is filtered with account number, if you drag account number column to the table it should be clear.
If you want to countrows for each Case Number(Request Id) you need to change the "ALLEXCEPT" function to ALLEXCEPT(TableA,TableA[Case Number])).Paul