Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a table with a measure # TierJav = DISTINCTCOUNT(JAVELLIN[ACCOUNT_TIER]).
The purpose is to have a measure to give me this result instead:
That has the distinct count of ACCOUNT_TIER added in row, removing filter context of Month_YEAR (ALL Function I suppose).
Month_YEAR is a column from DIM CALENDAR not from the Fact Table JAVELLIN.
Can you help me with this?
Thanks
Hi @rmeng ,
Try with this measure..
Measure =
CALCULATE ( DISTINCTCOUNT ( JAVELLIN[ACCOUNT_TIER] ), ALL ( DIMCALENDAR ) )
Sorry for the late response, but the result still bring 1 instead of 2 in #TierJav Measure.
I also though that could be the answer.
Could you please share the pbix file so that I can look into the issue...?
Sure, let me first create a new PBIX because this is sensitive data. Thanks
Hello @rmeng ,
You can use COUNTAX (<Table>, <Expression>) function with ALL:
#measure = COUNTAX(ALL(Table[Column]),Table[Column])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |