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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors