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.
Hello,
I have the table below and I´m Trying to construct a DAX formula to calculate the total of Killometers traveled and the total of hours worked from distinct ID´s, I was able to do it on the Killometers column using 2 measures
1: Kmrodados_1 = MAXX(DISTINCT(Registros[ID Viagem]);MAX(Registros[Km Rodados]))
2: Kmrodados_2 = SUMX(DISTINCT(Registros[ID Viagem]);[Kmrodados_1])
But when I tried the same formula in the period column I can have the total if I split in months for example, but I can´t get the total of everything.
Thanks in advace,
Fábio
Hi @Fabio,
Current power bi not support to use math functions calculate on date/time type, maybe you can consider to convert time type as total seconds to calculate total time.
Regards,
Xiaxin Sheng
Can anyone help me with that?
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 |
---|---|
110 | |
96 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |