Forum Discussion
Anonymous
5 years agoNot applicable
Create a function in DAX?
I have a table with about 20 measures displaying a number which is the number of seconds. E.g. 19,000 which means 5 hours 16 minutes and 40 seconds. I can edit each measure and add the logic to do th...
amitchandak
5 years agoSuper User
Anonymous , You can create a function, that is in M, and that can be used in power query -https://radacad.com/custom-functions-made-easy-in-power-bi-desktop
as of now a code like this need to added in all formula
quotient([Value],3600) & ":" & quotient(mod([Value],3600),60) & ":" mod(mod([Value],3600),60)