Forum Discussion
Duration is reflecting in Time Format AM/PM
Hi,
I have a Data on Google sheet which is in Duration Format and when I link this sheet with Power Bi Data Source it is reflecting in Time Format AM/PM
I would really appreciate if anyone can please me show the same duration as it is in my data sheet.
PFB Screenshot for your refrenec.
Thanks.
Shayz2402 you can PM me and we could do a quick zoom to look together if you want. Hard to see from the sceenshots
@ this is the code:
Five 9 Total = VAR _value = SUM(Sheet7[Five 9 Login TIme]) VAR _hours = DATEDIFF(DATE(1899,12,30),_value,DAY) * 24 + HOUR(_value) VAR _minutes = MINUTE(_value) VAR _seconds = SECOND(_value) RETURN _hours & ":" & _minutes & ":" & _seconds
In case it answered your question, please accept the solution to help other members find it. Appreciate Your Kudos.
SpartaBI Logo
Visit SpartaBI website Visit SpartaBI Linkdin Visit SpartaBI Facebook
Showcase Report – Contoso By SpartaBI
6 Replies
- Shayz2402Frequent Visitor
Request everyone to please Help me.
- SpartaBI
Community Champion
@ this is the code:
Five 9 Total = VAR _value = SUM(Sheet7[Five 9 Login TIme]) VAR _hours = DATEDIFF(DATE(1899,12,30),_value,DAY) * 24 + HOUR(_value) VAR _minutes = MINUTE(_value) VAR _seconds = SECOND(_value) RETURN _hours & ":" & _minutes & ":" & _seconds
In case it answered your question, please accept the solution to help other members find it. Appreciate Your Kudos.
SpartaBI Logo
Visit SpartaBI website Visit SpartaBI Linkdin Visit SpartaBI Facebook
Showcase Report – Contoso By SpartaBI