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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
William_Moreno
Helper II
Helper II

Análisis de Pareto

Hola gente, ¡Necesita ayuda! Quiero hacer un análisis 80/20 hice la siguiente tabla con el siguiente DAX:

Valor de inventario: suma(Inventario[Inventario ($)])
Rango de Rango (Rank)RANKX( ALL(Register[Code]), [Valor de inventario],, DESC )
Valor de inventario Acc ?CALCULATE([Valor de inventario], TOPN([Rank], ALL(Register[Code]), [Valor de inventario], DESC))

William_Moreno_0-1600273945567.png

Sin embargo, cuando pongo un atributo del código de producto, la clasificación (rango) se pierde y distorsiona mi análisis, como se indica a continuación:

Sem título.png

¿Cómo hago que un análisis sea correcto al aplicar atributos en el código del producto (por ejemplo: tipos, familia y otros)?

Gracias en avanzado

3 REPLIES 3
vanessafvg
Super User
Super User

¿Qué espera ver en sus resultados? puede por favor proporcionar un ejemplo




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hello, thanks for your reply!

 

I expected the ranking to remain the same, it means that the highest value keeps number 1 and not have repeated numbers.

 

If you notice it ranks by the type of product, but the type is just an attribute.

 

I would wish that the return it was like the table below:

 

CodeRankInventory ($)Inventory ($) AccType
749764616.885.839,976.885.839,97Raw Material
774061823.344.454,8410.230.294,81Raw Material
285758232.833.388,2213.063.683,03Packaging
773891442.715.712,5315.779.395,56Raw Material
709669252.632.064,6118.411.460,17Raw Material
758746862.316.370,5320.727.830,70Raw Material
219180872.171.456,0722.899.286,77Packaging
765228382.128.575,6325.027.862,40Raw Material
792277991.666.849,2326.694.711,63Raw Material
7322027101.653.872,9428.348.584,57Raw Material
7007089111.580.017,9229.928.602,49Raw Material
2956524121.284.415,5631.213.018,05Packaging

probar este

Rango de Rango (Rank)
CALCULAR (
RANKX ( ALLSELECTED ( Register[Code] ), CALCULATE ( [Valor de inventario] ) ),
ALLEXCEPT ( Registrarse, Registrarse[Código] )
)





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors