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.
I need to have time done as only MM:SS without hours so that the time would read as 90:30 rather than 1:30:30. Is there a way to create a custom format for a colukmn similar to how it is done in excel allowing me to have my data read this way?
Solved! Go to Solution.
Hi @orischmann9291,
You can create a DAX Column Minutes so you can perform calculations with it:
Minutes = HOUR(Table[Time_Column])*60 +
MINUTE(Table[Time_Column]) +
DIVIDE(SECOND(Table[Time_Column]);60)
Or create a DAX Column like this, with text format:
Minutes_Seconds = CONCATENATE(HOUR(Table[Time_Column])*60 + MINUTE(Table[Time_Column]); CONCATENATE(":";
SECOND(Table[Time_Column])
)
)
Regards.
Hi @orischmann9291,
You can create a DAX Column Minutes so you can perform calculations with it:
Minutes = HOUR(Table[Time_Column])*60 +
MINUTE(Table[Time_Column]) +
DIVIDE(SECOND(Table[Time_Column]);60)
Or create a DAX Column like this, with text format:
Minutes_Seconds = CONCATENATE(HOUR(Table[Time_Column])*60 + MINUTE(Table[Time_Column]); CONCATENATE(":";
SECOND(Table[Time_Column])
)
)
Regards.
Hi @Anonymous
I tried your first option and am getting a message telling me the syntax for ; is incorrect. Is this something that I could have incorrectly entered wrong?
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 |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |