March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hola gente, ¡Necesita ayuda! Quiero hacer un análisis 80/20 hice la siguiente tabla con el siguiente DAX:
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:
¿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
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:
Code | Rank | Inventory ($) | Inventory ($) Acc | Type |
7497646 | 1 | 6.885.839,97 | 6.885.839,97 | Raw Material |
7740618 | 2 | 3.344.454,84 | 10.230.294,81 | Raw Material |
2857582 | 3 | 2.833.388,22 | 13.063.683,03 | Packaging |
7738914 | 4 | 2.715.712,53 | 15.779.395,56 | Raw Material |
7096692 | 5 | 2.632.064,61 | 18.411.460,17 | Raw Material |
7587468 | 6 | 2.316.370,53 | 20.727.830,70 | Raw Material |
2191808 | 7 | 2.171.456,07 | 22.899.286,77 | Packaging |
7652283 | 8 | 2.128.575,63 | 25.027.862,40 | Raw Material |
7922779 | 9 | 1.666.849,23 | 26.694.711,63 | Raw Material |
7322027 | 10 | 1.653.872,94 | 28.348.584,57 | Raw Material |
7007089 | 11 | 1.580.017,92 | 29.928.602,49 | Raw Material |
2956524 | 12 | 1.284.415,56 | 31.213.018,05 | Packaging |
probar este
Rango de Rango (Rank)
CALCULAR (
RANKX ( ALLSELECTED ( Register[Code] ), CALCULATE ( [Valor de inventario] ) ),
ALLEXCEPT ( Registrarse, Registrarse[Código] )
)
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.