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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.