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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Sowparni
Frequent Visitor

Issue with Duration datatype

I have a table in Power BI desktop where the Time on Page shows a duration as 00:43:18, which means 43 mins and 18 seconds on a particluar page.

But when I publish the report to Power BI online, the data is converted to 12:43:18 AM.

Is there a way to retain the duration type for the data?

 

6 REPLIES 6
v-chenwuz-msft
Community Support
Community Support

Hi @Sowparni ,

 

I have test this and it works fine for me. 

What's the mode of you data model? Direct Qurey or import?

Have you try other broswers?

 

Or

You can try DAX expression:

 Format([Time on page], "hh:nn:ss")

https://docs.microsoft.com/en-us/dax/format-function-dax#predefined-datetime-formats 

 

Best Regards

Community Support Team _ chenwu zhu

 

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

mattww
Responsive Resident
Responsive Resident

Hi @Sowparni 

 

That is strange, I got the example you gave to work by changing the format. I'm not sure how it would behave if the duration rolled over 24 hours, but I don't know if that's an issue for you

 

mattww_0-1637088148925.png

 

 

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

The formet is set to what you have mentioned.

format.png

But on Power BI online, this is what I see:

Sowparni_1-1637088741073.png

 

mattww
Responsive Resident
Responsive Resident

Hi @Sowparni 

 

Sorry to see that's not working, it does it on my side. I'm in UK so maybe some localisation might explain some difference

 

mattww_1-1637088961645.png

 

 

This doesn't seem like intended behaviour to me since it is a duration data type. Have you contacted Microsoft Support?

 

 

 

Thanks for checking @mattww .

I have not contacted Microsoft. Will check the localisation aspect before I do.

mattww
Responsive Resident
Responsive Resident

Good luck with it, and it would be really useful to hear if you resolve it.

 

Microsoft Support are generally pretty quick I've found

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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