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
Anonymous
Not applicable

Cálculo condicional basado en filas

Hola

Soy nuevo en Power BI y se me ha pedido que cree un informe de efectivo para mi empresa que muestre un saldo de apertura mensual, entrante, saliente y efectivo total. Me las arreglé para generar el saldo de apertura con la funcionalidad de agrupación dentro del editor de consultas, que luego anexé a la tabla de datos original.

Capture.JPG

Además, me gustaría que el Saldo de Apertura estuviera en blanco durante los meses en los que no ha habido ningún efectivo entrante o saliente. Traté de hacer esto con una medida calculada, pero no funcionó completamente como pretendía (tenga en cuenta cómo se ha ido la fila Saldo de apertura):


Capture 2.JPG

La medida que creé es:

Medida: IF(CALCULATE(SUM(Data[Total]), 'Cash Categories'[Category] <> "Opening Balance") á 0, BLANK(), [TotalMeasure])
Dónde:
TotalMeasure TM SUMX(Datos, Datos[Total])
Cualquier ayuda será muy apreciada!
0 REPLIES 0

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.