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
kjani
Helper I
Helper I

Cálculo

añolineitemValor
2019Volumen10
2021Volumen20
2019beneficio bruto50
2021beneficio bruto80
Tengo una medida calculada para la tasa de beneficio bruto (beneficio bruto dividido por volumen)
Quiero restar la tasa de beneficio bruto del año 2021 menos el año 2019
Y luego multiplique esta diferencia por el volumen de 2019.
¿Cómo lo hago? Por favor, ayúdeme. Gracias.
1 REPLY 1
jdbuchanan71
Super User
Super User

@kjani ¿Su volumen se hace en una medida que sería a lo largo de estas líneas:

Rate Impact =
VAR _2019GPRate = CALCULATE ( [Gross Profit Rate], YourTable[Year] = 2019 )
VAR _2021GPRate = CALCULATE ( [Gross Profit Rate], YourTable[Year] = 2021 )
VAR _RateChange = _2021GPRate - _2019GPRate
VAR _2019Volume = CALCULATE ( [Volume], YourTable[Year] = 2019 )
RETURN
_2019Volume * _RateChange

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.