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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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