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.
Hi Experts
How could you convert 08:30:00 into minutes as a column in a table. So if a employee has workd 08 hr and 30 minutes and zero seconds i want to show this as minutes only (calculated column)
Solved! Go to Solution.
Check this article: https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Duration-to-Seconds-Converter/m-p/3...
You can adjust the formula to convert into minutes
what do you want this
or that
@Anonymous ,
There are a number of ways this can be done. Here is one solution:
Duration_Minutes =
VAR _Hours = VALUE(( LEFT( [Duration], 2 ) * 60 ))
VAR _Minutes = VALUE( MID( [Duration], 4,2))
VAR _Seconds = VALUE(RIGHT( [Duration], 2)/ 60 )
RETURN
_Hours + _Minutes + _Seconds
Assumes all of your Duration is the exact format xx:yy:zz
Hope this helps.
Regards,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
87 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |