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

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.

Reply
Anonymous
Not applicable

Help with error in calculating Cumulative

Hi all,

 

I need help with solving an error with calculating a cumulative. I am calculating a cumulative of backlog issues by Date.

My current measures are

  • Open bugs = Distinctcount('GetIssues'[Id])  Note: My active relationship with the date key table is 1:n Datekey[Date]:GetIssues[CreatedDate]
  •  Closed Bugs = CALCULATE(DISTINCTCOUNT(GetIssues[id]),USERELATIONSHIP(GetIssues[ClosedDate],DateKey[Date]))
  • Backlog issues= CALCULATE([open bugs]- [closed bugs],FILTER(ALL('Datekey'[Date]),AND('Datekey'[Date] <= MAX ('Datekey'[Date]), Datekey[Date] >= DATE(2015,01,01)))) 

        Datekey[Date] >= DATE(2015,01,01)- I have added this above as i need to count the issues only from this date onwards 

 

Now the problem am facing is that, when there is no issues opened on a day the backlog line breaks but the consequent cumulative is calculated correctly .i.e.

In the below graph on 10th the backlog is 274 , 12th 1issue was closed hence on 12th backlog is 274-1=273

On 13th 3 were open and 11 closed i.e. 273+3 -11 = 265. This value is correct but i need the line to be continous

 

SamplePBI.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Thanks in advance for your help.

 

Regards 

 

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

In my test, the cumulative measure added to chart generated a continuous line without any break. Please provide some sample data in table 'GetIssues' so that I can try to reproduce.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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