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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Gdibbs
Helper I
Helper I

Stuck on how to visualize Data on a line chart with measure

Hello,

 

I have a measure to cumulate values year-by-year.  (Column % Year_Reset --- shown below)

 

I want to show the cumulation year by year, so I can compare lines.  (i.e.: Seasonality development)

 

When I chart it I only get one combined line.    Can any explain why this is happening?  Data incorrect?  Am I missing something in the graph?

 

Formula for % Year_Reset

% Year_Reset = DIVIDE(sum('Sheet1'[Cumm Value]),'Sheet1'[Year_Reset])

 

Gdibbs_0-1628133752181.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@Gdibbs , can you share Cumm Value formula.

 

But if you have a date. Then you can use datesytd, which will reset with the year

YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD("Date"[Date],"12/31"))

 

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 :radacad sqlbi My Video Series 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

Thank you for the response.  Here is the Cumu Value formula:  

Cumu Value 2 = TOTALYTD(Sheet1[Total Value], Sheet1[CALENDAR].[Date])
 
I was able to use you formula, which replicated the results.  But, I still cannot get the cumulative percentages  to show distinctly on a line chart.  It's the same for the Cumu values.  
 
Feel like I am close, but lost on a path forward.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.