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

Helper I
Helper I

Show Cumulative trend in a line chart

Hi I have a data in this format 

Employee Code, Employee Last date , Reason, Academic Year 


I want to create a line chart to show Cumulative trend of employee leaving in the academic year  starting from Sep till July

I am using this measure to calculate the trend but when i use it in line chart it show zig zag but i need it to be cumulative

CurrentYearWithdrawals =
  SUM(ECE[Custom]),  // Count the number of rows (withdrawals) in ECE, created a custom column
       ECE[Academic Year] = "23/24" && (SCE[Enrolment Status] = "W" || SCE[Enrolment Status] = "S")  // Current academic year and stac condition
Super User
Super User

You are missing the cumulative part.  You need to get the "current"  date and then sum up all values in the current period (academic year) that have dates less than or equal to that.


Please use Quick Measures to see samples of cumulative measures.

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.

Top Solution Authors