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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AndreTeixeira
New Member

Sum Total of column with a value from line

Hello

I have this two formulas 

This
Impacto € =
VAR StartDate = MIN(DIARIO[FECHA])
VAR EndDate = MAX(DIARIO[FECHA])
VAR Custo = DIVIDE(SUM('DIARIO'[CUSTO_CONTAB]), SUM('Resumo'[Count]))
VAR Impacto = (CALCULATE([Peso €], DIARIO[FECHA] = EndDate)) - (CALCULATE([Peso €], DIARIO[FECHA] = StartDate))
Return Impacto

 

and

 

Peso € =
DIVIDE(SUM('DIARIO'[CUSTO_CONTAB]), SUM('Resumo'[Count]))
 
The solution that i need is sum the total of the second formula (Peso €) with the values by line  of Impacto €PBI_chat.PNG

 

1 REPLY 1
CoreyP
Solution Sage
Solution Sage

You can remove the row level context of the visual by using ALL or ALLSELECTED in a CALCULATE function. 

 

Like..   Peso_% = DIVIDE( [Impacto] , CALCULATE( [Peso] , ALL( DESC_GTL ) ) , BLANK() )

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors