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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
SiroPW
Helper I
Helper I

Mostrar filas con valor cero en la tabla (dos tablas de datos subyacentes)

Hola

Tengo dos tablas:

Tabla ORG

IdNombreOrg
123ax
456by
789cz

Tabla HOLDINGS

IdUnidadesValor
12350500
78920200

Me gustaría generar una tabla (o matriz):

IdNombreOrgUnidadesValor
123ax50500
456by00
789cz20200

El truco, por supuesto, es obtener el id 456 de la tabla ORG para mostrar incluso sin valores en la tabla de retenciones.

He probado una columna calculada de SUM(value) + 0 pero todavía no se muestra.

Espero que esté claro, cualquier ayuda es apreciada.

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hola @SiroPW ,

Cree dos medidas:

Measure = IF(ISBLANK(MAX('Table (2)'[units])),0,MAX('Table (2)'[units]))
Measure 2 = IF(ISBLANK(MAX('Table (2)'[value])),0,MAX('Table (2)'[value]))

V-lianl-msft_0-1602145059889.png

Saludos
Liang
Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

View solution in original post

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hola @SiroPW ,

Cree dos medidas:

Measure = IF(ISBLANK(MAX('Table (2)'[units])),0,MAX('Table (2)'[units]))
Measure 2 = IF(ISBLANK(MAX('Table (2)'[value])),0,MAX('Table (2)'[value]))

V-lianl-msft_0-1602145059889.png

Saludos
Liang
Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

watkinnc
Super User
Super User

Pruebe CALCULATE(SUM[Value]), ALL(Table[ID]), Values(Table[ID]))


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!
Ashish_Mathur
Super User
Super User

Hola

Con el Editor de consultas, combine la tabla Holdings en la tabla org.

Espero que esto ayude.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors