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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
powerbiuser101
Advocate I
Advocate I

Cumulative Count by Date help

Hi,
I think I'm very close but I can't figure out the last piece of the puzzle. The solution here might be close but I need : https://community.powerbi.com/t5/Desktop/Cumulative-Count-by-Date/m-p/368918#M167100

 

Here's a sample of my data:

In DateIDCompletedOut Date
11.05.2018A1yes11.06.2018
18.05.2018B2no 
20.05.2018C3no 
06.06.2018L13no 
17.06.2018D4no 
18.06.2018E5yes20.06.2018
18.06.2018F6no 
19.06.2018G8yes19.06.2018
24.06.2018H9yes26.06.2018
25.06.2018I10yes26.06.2018
25.06.2018J11no 
26.06.2018K12no 
 M14yes03.06.2018

 

What I need to do is:
* Counts of [Complete] = "no" on a day/monthly basis (preferably weekly but day/month was more priority)

 

This would mean, today the 27th June, a line chart should show a count of 7 no's. I want to show a line chart of outstanding incompleted IDs going back 4-5 months.

 

Any assistance appreciated!

3 REPLIES 3
Seward12533
Solution Sage
Solution Sage

Unless I'm missing something I think all you need is to do define a measure for the count of incomplete

 

Count InComplete = CALCULATE(COUNTROWS('Count Complete'),'Count Complete'[Completed]="No")

 

And then write a measure for Cumulative count of that measure similar to the one you posted.  Assuming you have a date table linked you can then plot this over any period you want Day,Week, Month, Year, Quarter, etc...

 

 

You may also want to look at The TOTALMTD function

results1.PNG

 

Hi @Seward12533,

Unfortunately no success. When graphed, for example, expectation would be that on June 17th, the value of the red line would be at 4. 

 

I'll look into TOTALMTD. Thanks

You need to build a mesure to calcate cumulative Count of Incomplete either by using the built in TOTALMTD, TOTALYTD or building your own similar to the post you linked to in your original question. Someting like

 

Cumulative Count of Inc = IF(MIN(Calendar[Calendar_Date])<=NOW(),CALCULATE([Count Inc],FILTER(ALL(Calendar),Calendar[Calendar_Date]<=MAX(Calendar[Calendar_Date]))))

 

The IF blocks this from calculating for dates in the future assuming your date table does as well.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.