Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
8 | |
4 | |
3 |
User | Count |
---|---|
15 | |
14 | |
11 | |
10 | |
10 |