Forum Discussion
houssamedd
7 years agoNew Member
DISTINCT COUNT AND GROUP BY
Good morning Power BI community! I have been running through some problems creating the correct measure, and I'm wondering if you guys can help. I have a table that goes like this: I crea...
- 7 years ago
Hi houssamedd,
Try this formula, please. BTW, the first need doesn't need a measure. Try the built-in calculation.
Measure = CALCULATE ( DISTINCTCOUNT ( Table1[Book] ), ALLEXCEPT ( Table1, Table1[publishing house] ) )Best Regards,
Dale
v-jiascu-msft
Microsoft Employee
7 years agoHi houssamedd,
Try this formula, please. BTW, the first need doesn't need a measure. Try the built-in calculation.
Measure =
CALCULATE (
DISTINCTCOUNT ( Table1[Book] ),
ALLEXCEPT ( Table1, Table1[publishing house] )
)
Best Regards,
Dale
- houssamedd7 years agoNew Member
Perfect, this worked.
Thank you Dale!