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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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