Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Experts,
Is there any way to get distinct count of "User Logins" based on selected date range, we can solve it using simply using the column and change the aggregation type distinct count. But I am trying use this in some measures, instead of giving Distinct count my measure is giving total. I tied the methods suggested in this forum but I am unable to get to the solution.
Can you please see the attached file and point me to right direction.
Thank you.
Solved! Go to Solution.
Thanks for your inputs team. I am able to resolve this issue using Calculated table with different granularity.
Hi,
Please try to write the below measure, and put it into the card visualization.
And, please check the attached file.
User Name Count: =
DISTINCTCOUNT('Fact'[User Name] )
Thanks for your inputs team. I am able to resolve this issue using Calculated table with different granularity.
Sorry I should have mentioned this earlier. I am able to make it work when I use it within dataset but when i use this dataset as source to other report in that report these values are showing incorrectly .
I also observed when I use MDX to pull this data from AAS this measure being considered as Column Tool instaed of measure. Doest it make any difference?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
74 | |
57 | |
40 | |
33 |
User | Count |
---|---|
70 | |
63 | |
57 | |
49 | |
46 |