March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |