Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Actually i am having the below data in excel i will use customise format ([hh]:mm) same i have to get in Power bi,
Can Anyone help me in this.
Time Open to Close ([hh]:mm:ss)
946:10:49
600:04:48
442:55:08
722:22:20
20:41:32
9:01:53
140:58:06
118:36:09
8:44:25
31:30:58
52:00:51
270:53:48
245:43:07
101:12:45
220:32:09
52:54:53
55:48:38
4:11:58
29:43:21
221:48:47
142:39:02
79:02:06
130:05:01
121:14:20
129:10:54
4:29:35
101:06:44
25:26:00
45:02:19
Solved! Go to Solution.
Hi @SamanthBha ,
Please try to create a new column with below dax formula:
Column =
VAR _a = [Column1]
VAR _hour =
DIVIDE ( _a, 3600 )
VAR _id1 =
FIND ( ".", _hour )
VAR _val =
LEFT ( _hour, _id1 - 1 )
VAR _b =
MOD ( _a, 3600 )
VAR _minute =
DIVIDE ( _b, 60 )
VAR _id2 =
FIND ( ".", _minute )
VAR _val1 =
LEFT ( _minute, _id2 - 1 )
VAR _second =
MOD ( _b, 60 )
RETURN
_val & ":" & _val1 & ":" & _second
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SamanthBha ,
Please try to create a new column with below dax formula:
Column =
VAR _a = [Column1]
VAR _hour =
DIVIDE ( _a, 3600 )
VAR _id1 =
FIND ( ".", _hour )
VAR _val =
LEFT ( _hour, _id1 - 1 )
VAR _b =
MOD ( _a, 3600 )
VAR _minute =
DIVIDE ( _b, 60 )
VAR _id2 =
FIND ( ".", _minute )
VAR _val1 =
LEFT ( _minute, _id2 - 1 )
VAR _second =
MOD ( _b, 60 )
RETURN
_val & ":" & _val1 & ":" & _second
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
98 | |
69 | |
46 | |
39 | |
33 |
User | Count |
---|---|
157 | |
101 | |
60 | |
43 | |
40 |