Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Buenos días, me gustaría restar los valores de una tabla, considerando que las palabras ingreso y egreso se encuentran en una misma columna
En el total quisiera obtener la resta entre ellos.
Mil gracias
Escribe una medida como esta:
Total $ = CALCULATE(SUM('TableName'[I/E]),'TableName'[I/E]="INGRESO") - CALCULATE(SUM('TableName'[I/E]),'TableName'[I/E]="EGRESO")
Eso le daría la diferencia total, pero no tendría sentido dividirlo por INGRESO / EGRESO.
Para eso, puedo sugerirle que vaya a crear una columna calculada como NewColumn = IF([I / E] = "EGRESO", [ColumnWithTheValues]*-1, [ColumnWithTheValues])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.