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
K-LED
Helper I
Helper I

Problem to get cumulative values

Hi all,

I'm trying to display cumulative values using "Line and stacked column chart" graph. The x axis represents the month number and the y axis represents values. for all valus, I've 2 status displayed below with red and blue colors: 

KLED_0-1630414638776.png

 

Below you'll find the measure I've created:

Total Cumulable = 
CALCULATE(
	CALCULATE(SUM(Table[Price net])),
	FILTER(
		ALLSELECTED('Table'[Month Nr]),
		ISONORAFTER('Table'[Month Nr], MIN('Table'[Month Nr]), DESC)
	)
) + 0

 

The problem is for the month 7, 8 and 11 the red part is not displayed. Even if I don't have values for the status in the red color, I would like to display for months 7, 8 and 11 the values of the precedent month..

 

Any help to have the correct visuatlisation of cumulative values ? is there any mistake in the measure i'm using ?

 

Thanks in advance 🙂

2 REPLIES 2
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @K-LED ,

 

Try this measure to get the cummulative total:
Measure= CALCULATE(SUM(Table[Price_net]), FILTER(ALLSELECTED(Table[Month Nr]), Table[Month Nr] <=MAX (Table[Month Nr])))

 

 

Mark this as a solution, if I answered your question. Kudos are always appreciated.

 

Thanks.

Hi @Tanushree_Kapse thanks for your help but unfortunately it doesn't work..

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.