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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RobG
Frequent Visitor

Help with cumulative counts based on category

I'm not even sure if I'm using the right terminology here, but I need some assistance.    I have a table that looks like this:

 

ProjectIdRoadmapIdStatusChangedDate
5999Not Started26/08/2016
5999Hold18/09/2018
5999Research19/08/2019
5999Hold08/07/2020
6284Requirements26/11/2015
6284QA19/07/2016
6284Implementation03/11/2016
6284Completed30/12/2016
6319New17/11/2015
6319Cancelled28/10/2016
6339New17/11/2015
6339Not Started02/08/2016
6339Cancelled17/11/2017

 

I need to show a table in Power BI that counts the cumulative status of each RoadmapId as of the Year/Month.    For instance as of Aug 2020, how many projects are on hold for RoadmapId 9.    When it was July 2020, how many were on hold at that time, etc.

 

RoadmapId94
Feb1 
Mar4 
Apr13
May61
Jun 1

 

 

4 REPLIES 4
v-xuding-msft
Community Support
Community Support

Hi @RobG ,

 

Is the answers above helpful? If yes, please accept them as solution. If you still need help, can you please tell us how to calculate it? I'm not clear about your sample data and the expected output. Can you please explain it fully?

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@RobG , with a date table try like

Cumm = CALCULATE(count(Table[RoadmapId]),filter(date,date[date] <=maxx(date,date[date])))

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

See if my webinar on Time Intelligence can help: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-Y...


Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@RobG check this post if helps



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Greg_Deckler
Community Champion
Community Champion

@RobG - Not entirely sure I understand exactly what you are going for. I do not understand how you get to your output from the sample data provided.

 

Please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors