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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors