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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Victormar
Helper V
Helper V

Column format change not applying

Hi all,

 

So I am getting time duration from a sharepoint list in fractions of days, and when loading into power bi using power query I can transform it to "duration" but then this change doesn't apply when working with the data:

Power query:

Victormar_0-1648711864783.png

 

But when applying the changes:

Victormar_1-1648711901806.png

Data type is still decimal: 

Victormar_2-1648711970073.png

 

I know I can extract the data I want as text, but don't understand why this is happening.

 

Thanks in advance 🙂

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Victormar ,

 

I'm afraid you'll have to convert it to text since, as far as I know, Power BI doesn't yet handle fractions of a second in time format.

The decimal representation you have is in days. Taking that into account, you can convert it to the format you show (text) in a calculated column:

NewColumn =
TRUNC(Table4[Zeit2 - Copy]) & "." &  //Days
FORMAT(TRUNC(Table4[Zeit2 - Copy]*24);"00") & ":" &//Hours 
FORMAT(TRUNC(Table4[Zeit2 - Copy]*24*60);"00") &  ":" & //Minutes
FORMAT(Table4[Zeit2 - Copy]*24*60*60;"00.0000000") //Seconds

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Victormar
Helper V
Helper V

Thanks to both, and sorry for the late reply. They changed my pc and was setting everything up.

Many thanks!

Anonymous
Not applicable

Hi  @Victormar ,

 

I'm afraid you'll have to convert it to text since, as far as I know, Power BI doesn't yet handle fractions of a second in time format.

The decimal representation you have is in days. Taking that into account, you can convert it to the format you show (text) in a calculated column:

NewColumn =
TRUNC(Table4[Zeit2 - Copy]) & "." &  //Days
FORMAT(TRUNC(Table4[Zeit2 - Copy]*24);"00") & ":" &//Hours 
FORMAT(TRUNC(Table4[Zeit2 - Copy]*24*60);"00") &  ":" & //Minutes
FORMAT(Table4[Zeit2 - Copy]*24*60*60;"00.0000000") //Seconds

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Victormar , In Dax you have Time, not duration. Can you manually Change it text and check

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.