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 frinds,
Tengo campos debajo
Producto | Cantidad | Date_Time |
A | 10 | 6/23/20 12:10:10 |
B | 20 | 6/23/20 12:10:10 |
C | 30 | 6/23/20 12:10:20 |
D | 40 | 6/23/20 12:40:30 |
A | 40 | 6/22/20 12:10:50 |
B | 120 | 6/22/20 12:00:24 |
C | 60 | 6/22/20 12:00:10 |
D | 100 | 6/22/20 12:10:00 |
Basado en el sello de tiempo cómo calcular la cantidad actual y anterior para los productos dinámicamente.
C | 30 | 6/23/20 12:10:20 |
D | 40 | 6/23/20 12:40:30 |
El producto D debe ser el actual y el producto C debe ser anterior. Por favor, ayuda a calcular dinámicamente.
Por favor, ayuda
Gracias y saludos,
Solved! Go to Solution.
@BhavyaM, cree un rango de columna descendente en datetime y filtre para 2.
Para rango Consulte estos enlaces
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
@BhavyaM, cree un rango de columna descendente en datetime y filtre para 2.
Para rango Consulte estos enlaces
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
Gracias funcionó 👍
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 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |