Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Counting Customers Over Time Using DISTINCTCOUNT
How can I get a unique count of “Client Group” over time using DISTINCTCOUNT?
I have used the below measure, but it is not working, when I put the date range through a slicer. The count does not change.
ClientCount = DISTINCTCOUNT(Client Group)
Solved! Go to Solution.
Hi @gauravnarchal ,
You could refer to my sample and create relationship between calendar date and fact table date.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@gauravnarchal , It should if month year in slicer is related to date in this table.
Or check if interactions are off.
https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions
@amitchandak - It should work but it is not working. I have checked the interactions and it is turned ON.
Hi @gauravnarchal ,
You could refer to my sample and create relationship between calendar date and fact table date.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 50 | |
| 46 | |
| 41 | |
| 39 |