Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola a todos,
Actualmente tengo esta vista en Power BI
Documento de ventas | Material | Cantidad pedida | Stock.Cantidad disponible | Stock restante |
2744570 | 105980 | 56 | 15331 | 15275 |
2793574 | 105980 | 56 | 15331 | 15275 |
2744571 | 105980 | 56 | 15331 | 15275 |
2793575 | 105980 | 56 | 15331 | 15275 |
Pero quiero tener este punto de vista
Documento de ventas | Material | Cantidad pedida | Stock.Cantidad disponible | Stock restante |
2744570 | 105980 | 56 | 15331 | 15275 |
2793574 | 105980 | 56 | 15275 | 15219 |
2744571 | 105980 | 56 | 15219 | 15163 |
2793575 | 105980 | 56 | 15163 | 15107 |
¿Cómo puedo hacerlo y también tengo muchos materiales, así que para cada material tengo que hacerlo?
Daré un ejemplo de los diferentes materiales que tengo
Documento de ventas | Material | Cantidad pedida | Stock.Cantidad disponible |
2744570 | 105980 | 56 | 15331 |
2793574 | 105980 | 56 | 15331 |
2744571 | 105980 | 56 | 15331 |
2793575 | 105980 | 56 | 15331 |
2787998 | 1056446 | 1 | 3 |
2792122 | 1056446 | 1 | 3 |
2793918 | 1056446 | 1 | 3 |
2786859 | 522227 | 2 | 4548 |
2786860 | 522227 | 2 | 4548 |
2786861 | 522227 | 2 | 4548 |
2784586 | 726326 | 14 | 109 |
2793211 | 555153 | 1 | 186 |
2796889 | 555153 | 1 | 186 |
2796871 | 555153 | 1 | 186 |
2796492 | 555153 | 1 | 186 |
2796580 | 555153 | 1 | 186 |
2796918 | 555153 | 1 | 186 |
2796890 | 555153 | 1 | 186 |
Por favor, ayúdame con esto.
BR
Yashh Gaikwad
Los pls intentan crear una columna de índice y crear dos columnas calculadas
stock available =
VAR _index = CALCULATE(min([Index]),ALLEXCEPT('Table','Table'[Material]))
return [Stock.Available Quantity]-sumx(FILTER('Table','Table'[Material]=EARLIER('Table'[Material])&&[Index]<=EARLIER('Table'[Index])&&'Table'[Index]>_index),'Table'[Ordered Quantity])
remaining stock = [Stock.Available Quantity]-sumx(FILTER('Table','Table'[Material]=EARLIER('Table'[Material])&&[Index]<=EARLIER('Table'[Index])),'Table'[Ordered Quantity])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |