Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 created a measure which is a count distinct of books per writer per publishing house.
Now, what I would like to do is to create a measure which is a distinct count of books per publishing house and have both the measures in the same table.
The desired table is the following:
Thank you in advance for your suggestions/answers!
Solved! Go to Solution.
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
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
Perfect, this worked.
Thank you Dale!
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |