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.
Tengo una tabla con la fecha de recepción múltiple (escupir de la clave de columna de comentario por usuario), quiero calcular el día de retraso basado en la última fecha de recepción vs docdate.
Cust | DocDate | Fecha de rec 1 | Fecha de rec 2 | Fecha de rec 3 | Fecha de rec 4 | Fecha de rec 5 |
Cust A | 3/1/2020 | 10/1/2020 | 5/2/2020 | |||
Cust B | 10/1/2020 | 12/2/2020 | 6/3/2020 | 12/3/2020 | ||
Cust C | 28/1/2020 | 10/2/2020 | 15/2/2020 | 28/2/2020 | 5/3/2020 | 13/3/2020 |
¿Alguna fórmula que pueda usar para calcular el día de retraso en función de la última fecha recibida frente a docdate?
Gracias.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@sglee , En consulta de energía puede agregar una columna max
Dax
https://bielite.com/blog/calculating-the-max-of-multiple-columns-or-measures-in-power-bi/
Max Rec Date á max(Table1[Rec Date1],max(Table1[Rec Date2],max(Table1[Rec Date3],max(Table1[Rec Date4],Table1[Rec Date5]))))
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |