Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 52 | |
| 38 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 63 | |
| 34 | |
| 32 | |
| 21 |