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
ChoiJunghoon
Helper III
Helper III

¿Calcular el valor de otras tablas?

No puedo entender a DAX..

Quiero crear la "tabla" en visualizaciones mediante el valor de medida.

NúmeroArtículoContar
0097Wn100

Es una consulta directa. Así que no puedo usar la función "lookupvalue".

Pbix.file (desde una unidad)

¿podría escribir la medida sin valor de búsqueda ?

Tabla A

Número

Artículo

0097

Wn

1303

Co

2955

Co

7496

Co

7820

Ic

0308

Fl

5692

Co

6512

Pero

8251

Fl

8257

Co

8259

Tabla B

Artículo

Item_A

AL

AA

Ar

AA

Co

Cc

Fl

Ff

Ic

Ff

Pero

Mm

Wn

Ww

Wt

Ww

Tabla C

Número

Item_A

Contar

0097

AA

50

0097

Ww

100

0308

Ff

10

0327

Mm

20

0340

Mm

30

1303

Cc

1567

Mm

1654

Ww

1

1658

AA

1

1658

Ff

1

2068

Ww

2141

Ff

1

2155

Cc

1

2181

Ww

1

2184

AA

1

4 REPLIES 4
AllisonKennedy
Super User
Super User

¿Tiene relaciones entre estas tablas?

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

gracias por su respuesta.
Sí, lo he hecho.

relationship.png

Esto será muy complicado con muchas a muchas relaciones. ¿Puede explicar lo que esto representa?

Por ejemplo, Item_AA WW, ¿qué recuento debe ir en el artículo WN y qué recuento debe ir en el artículo WT?

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Gracias.

El cuadro "Elemento" tiene relación con el "Elemento" de la TablaB.
El cuadro "Item_A" tiene relación con el cuadro "Item_A".

-Tabla A : Consulta directa [ No uso la función relacionada , lookupvalue, crossjoing ]
-Tabla B : Importar
-Tabla C : Consulta directa [ No uso la función relacionada , lookupvalue, crossjoing ]

así que
Quiero conseguir la mesa
Cree la tabla en Visulizations.

Valores de entrada

Valores:
Tabla[Número]
TablaB[Item_A]

Medida

Medida......
Resultado : SUM(TableC[Count])
Condición : TableA[Number]+Related(TableB[Item_A]) á TableC[Number]+TableC[Item_A]


Dax..

Medidas ?
CALCULATE(
SUM(TableC[Count]),
TREATAS(
SELECTCOLUMNS(
TableA,
"Number",TableA[Número],
"Producto",RELACIONADO (TablaB[ITEM_A])
)
TablaC[Número],
Tablac[ITEAM_A]
)
)

¿Cómo puedo escribir el DAX mediante measure..

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