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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tiagomarciano
Frequent Visitor

How do I keep the amount accumulated when the day is zero?

How do I keep the amount accumulated when the day is zero?

 

Help Power BI.PNG

2 ACCEPTED SOLUTIONS
tiagomarciano
Frequent Visitor

I solved with this code. Tks!

 

Total acumulado de Funel Inscritos 2016 em Dia = 
CALCULATE(
	'Métricas de Negócio'[Funel Inscritos 2016];
	FILTER(
		ALLSELECTED('DIMdia'[Dia]);
		ISONORAFTER('DIMdia'[Dia]; MAX('DIMdia'[Dia]); DESC)
	)
)

  

View solution in original post

Vvelarde
Community Champion
Community Champion

@tiagomarciano

 

Hi, you ca obtain with a Quick Measure - Running Total

 

 

Inscritos running total in Date =
CALCULATE(
SUM('Table1'[Inscritos]),
FILTER(
ALLSELECTED('Table1'[Date]),
ISONORAFTER('Table1'[Date], MAX('Table1'[Date]), DESC)
)
)

 

Regards

 

Victor

Lima - Peru




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@tiagomarciano

 

Hi, you ca obtain with a Quick Measure - Running Total

 

 

Inscritos running total in Date =
CALCULATE(
SUM('Table1'[Inscritos]),
FILTER(
ALLSELECTED('Table1'[Date]),
ISONORAFTER('Table1'[Date], MAX('Table1'[Date]), DESC)
)
)

 

Regards

 

Victor

Lima - Peru




Lima - Peru
tiagomarciano
Frequent Visitor

I solved with this code. Tks!

 

Total acumulado de Funel Inscritos 2016 em Dia = 
CALCULATE(
	'Métricas de Negócio'[Funel Inscritos 2016];
	FILTER(
		ALLSELECTED('DIMdia'[Dia]);
		ISONORAFTER('DIMdia'[Dia]; MAX('DIMdia'[Dia]); DESC)
	)
)

  

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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