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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
CharlotteCity12
Microsoft Employee
Microsoft Employee

Duration Field coming in as date/time

I have these fields in my EXCEL sheet:

Duration

0:58:01

1:25:32

0:00:59

When I bring it into PowerQuery it formats it as:

Screenshot 2023-10-25 152249.png

How do I force PowerQuery to bring in this field as just the text? 

2 REPLIES 2
ppm1
Solution Sage
Solution Sage

If you convert them to text, they will sort alphabetically and you won't be able to do analysis easily (min, max, avg time). A good practice is to bring them in as time or duration, do your analysis, and then FORMAT it how you like in the measure/visual.

Calculate and Format Durations in DAX – Hoosier BI

Pat

Microsoft Employee
olgad
Super User
Super User

Hi, right click on Duration, Transform, time only

olgad_0-1698273064276.png

 


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors