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.
Please tell me how to customize the column Time which is (HH:MM:SS) format and i want it in (MM:SS) format in power BI. What is the formula and steps to convert it ?
Solved! Go to Solution.
Hi @rajanand2807 ,
Below two options might meet your requirement.
Column = FORMAT ( MINUTE ( TB2[Time] ), "00" ) & ":" & FORMAT ( SECOND ( TB2[Time] ), "00" ) Column 2 = VAR _totalSec = HOUR ( TB2[Time] ) * 60 * 60 + MINUTE ( TB2[Time] ) * 60 + SECOND ( TB2[Time] ) RETURN INT ( _totalSec / 60 ) & ":" & FORMAT ( _totalSec - INT ( _totalSec / 60 ) * 60, "00" )
Best regards,
Yuliana Gu
Hi @rajanand2807 ,
Below two options might meet your requirement.
Column = FORMAT ( MINUTE ( TB2[Time] ), "00" ) & ":" & FORMAT ( SECOND ( TB2[Time] ), "00" ) Column 2 = VAR _totalSec = HOUR ( TB2[Time] ) * 60 * 60 + MINUTE ( TB2[Time] ) * 60 + SECOND ( TB2[Time] ) RETURN INT ( _totalSec / 60 ) & ":" & FORMAT ( _totalSec - INT ( _totalSec / 60 ) * 60, "00" )
Best regards,
Yuliana Gu
User | Count |
---|---|
116 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |