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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Frequent Visitor

Incremental line graph

Please could you help guiding me on this? 


At the moment I have: 



Total Incidents is DISTINCTCOUNT of report ID 

Total Incidents = DISTINCTCOUNT('Report_Incidents'[ID])+0

Month Name and FY are from the calendar table 


How do I make this line graph to appear incrementally for each year? 

Aug = Aug count

Sep = Aug + Sep counts

Oct = Aug + Sep + Oct counts 



Please please, thank you very much

Frequent Visitor

Tried TOTALYTD but I don't quite understand, however I came up with the below but I would like to have the Measure reset in Aug each year 


Please thank you

Oh, if you want it to reset within a specific partition, check out the WINDOW function.

Example 2 should be quite useful:

RunningSum = SUMX ( WINDOW ( 1, ABS, 0, REL, ALLSELECTED ( 'Date'[Fiscal Year], 'Date'[Month Number Of Year] ), PARTITIONBY ( 'Date'[Fiscal Year] ) ), [Total Sales] )

Thank you for your help and suggestion, I ended up using: 



Thank you very much for your patience, my DAX knowledge is <0.  

I will keep researching.


Thanks again


Solution Sage
Solution Sage

I think you're looking for a cumulative sum. Try using the TOTALYTD function

thank you, I will look at this function 

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.