Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
siquilesq
Frequent Visitor

Convert hh:mm:ss am to hh:mm:ss

HI, I read my data from excel file, and the column came in this format: hh:mm:ss am

siquilesq_3-1689010977275.png

i need to show in duration format:

siquilesq_2-1689010929540.png

 

I will apreciate any help...thanks

 

 

6 REPLIES 6
Manishaparmar19
Frequent Visitor

@siquilesq change the datatype of the duration column to time

 

Thanks!!

Rabech
Frequent Visitor

Clicking the small "ABC123" field next to your column title, you should be able to change the format to duration 🙂

I try this dax: 

Avg Handled Duration X = FORMAT(Efficiency[Avg Handled Duration],"HH:MM:SS") but
siquilesq_0-1689013497330.png

 

Sorry but I already try this option and not work.,

siquilesq_0-1689012344273.png

siquilesq_1-1689012350931.png

 

 

@siquilesq first try converting it to text & then to time

 

Hope so this helps!!

Change to text, trunc the seconds part

siquilesq_0-1689013111211.png

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.