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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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