Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MANU_MOHAN_C
New Member

Cumulative Open Cases tracking measure in DAX

I want to show cumulative count of distinct topics with Open cases for each month using a measure (DAX). my data looks like below

YearMonthTypeDateCASE IDStatusTopic
2023JanCreated Date1/1/20231OpenAB
2023JanCreated Date1/13/20232OpenAC
2023FebCreated Date2/1/20233OpenAC
2023FebCreated Date2/20/20234OpenAD
2023FebCreated Date2/23/20235OpenAD
2023FebCreated Date2/27/20236OpenAD
2023MarClosed Date3/1/20231ClosedAB
2023MarCreated Date3/5/20237OpenAE
2023MarCreated Date3/7/20238OpenAE
2023AprClosed Date4/1/20233ClosedAC
2023MayClosed Date5/1/20234ClosedAD
2023MayClosed Date5/1/20238ClosedAE
2023MayCreated Date5/15/20239OpenAF
2023MayClosed Date5/29/20239ClosedAF
2023JulClosed Date7/1/20237ClosedAE

 

My expected result would be

MonthCumulative Distinct Count of Topic
Jan2
Feb3
Mar3
Apr3
May3
Jun3
Jul2

 

1 ACCEPTED SOLUTION
MANU_MOHAN_C
New Member

3 REPLIES 3
MANU_MOHAN_C
New Member

I got the Answer by following the below blog.

https://www.daxpatterns.com/events-in-progress/

MANU_MOHAN_C
New Member

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)

Anonymous
Not applicable

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.

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.