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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.

Top Solution Authors