Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I have a field in my dataset that is MM:SS I converted it to this... and I want to have another field that displays this in seconds. I am hoping someone can assist me with this one.
https://drive.google.com/open?id=1FbkofaPhI5ouoXk_NLx9YZenTVEA_B9H
Thanks!
Solved! Go to Solution.
Hi @nmck86,
Based on my test, you could refer to below formula:
TimeInSeconds = (HOUR('Data'[AvgTalkDuration])*60+ MINUTE('Data'[AvgTalkDuration]))*60
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
Hi @nmck86,
It seemed your link could not be accessed:
Could you please upload it again?
Regards,
Daniel He
Hello,
I apologize, can we try this link instead. Thanks!
https://drive.google.com/file/d/1FbkofaPhI5ouoXk_NLx9YZenTVEA_B9H/view?usp=sharing
Hi @nmck86,
Based on my test, you could refer to below formula:
TimeInSeconds = (HOUR('Data'[AvgTalkDuration])*60+ MINUTE('Data'[AvgTalkDuration]))*60
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
Hi @nmck86
How about creating a new column like this:
TimeInSeconds = VALUE ( LEFT ( Table1[Column], 2 ) ) * 60 + VALUE ( RIGHT ( Table1[Column], 2 )
where Table1 is your table and Table1[Column] the column with the MM: SS
User | Count |
---|---|
97 | |
87 | |
77 | |
67 | |
63 |
User | Count |
---|---|
112 | |
96 | |
95 | |
67 | |
65 |