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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I want to show cumulative count of distinct topics with Open cases for each month using a measure (DAX). my data looks like below
| Year | Month | Type | Date | CASE ID | Status | Topic |
| 2023 | Jan | Created Date | 1/1/2023 | 1 | Open | AB |
| 2023 | Jan | Created Date | 1/13/2023 | 2 | Open | AC |
| 2023 | Feb | Created Date | 2/1/2023 | 3 | Open | AC |
| 2023 | Feb | Created Date | 2/20/2023 | 4 | Open | AD |
| 2023 | Feb | Created Date | 2/23/2023 | 5 | Open | AD |
| 2023 | Feb | Created Date | 2/27/2023 | 6 | Open | AD |
| 2023 | Mar | Closed Date | 3/1/2023 | 1 | Closed | AB |
| 2023 | Mar | Created Date | 3/5/2023 | 7 | Open | AE |
| 2023 | Mar | Created Date | 3/7/2023 | 8 | Open | AE |
| 2023 | Apr | Closed Date | 4/1/2023 | 3 | Closed | AC |
| 2023 | May | Closed Date | 5/1/2023 | 4 | Closed | AD |
| 2023 | May | Closed Date | 5/1/2023 | 8 | Closed | AE |
| 2023 | May | Created Date | 5/15/2023 | 9 | Open | AF |
| 2023 | May | Closed Date | 5/29/2023 | 9 | Closed | AF |
| 2023 | Jul | Closed Date | 7/1/2023 | 7 | Closed | AE |
My expected result would be
| Month | Cumulative Distinct Count of Topic |
| Jan | 2 |
| Feb | 3 |
| Mar | 3 |
| Apr | 3 |
| May | 3 |
| Jun | 3 |
| Jul | 2 |
Solved! Go to Solution.
I got the Answer by following the below blog.
I got the Answer by following the below blog.
Hi, The number shows cumulative distinct count of topics for open cases. as you can see there 6 open cases at the end of Feb and 3 distinct topics (2 in feb and 1 in jan)
Hi @MANU_MOHAN_C ,
Sorry, I'm a bit dense. Even though you've given detailed data, I'm trying to understand if you're trying to calculate open cases for different topics each month, but in February there were 4 cases that were OPEN, but 3 of the topics were AD, so why is the result still 3?
How to Get Your Question Answered Quickly
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 123 | |
| 99 | |
| 67 | |
| 49 |