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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
BenBallantine
Frequent Visitor

Power BI Report Visual for duration

I'm struggling to create a power BI visual showing outages types with their respective durations against them.

This is one aspect of the data I'm looking to use and as you can see it's in 'time' format:

BenBallantine_0-1669724910315.png

I assume for it to work properly on a visual it needs to be in 'duration' data type but it's throwing an error when I try and convert it from 'time' to 'duration' data type.

 

Any help or tips would be appreciated.

Thanks

 

 

3 REPLIES 3
ppm1
Solution Sage
Solution Sage

Durations are converted to a decimal (in days) when loaded. Best practice is to leave it as a decimal, do your measures, and then format it at the end. Please see this article for more detail and examples.

Calculate and Format Durations in DAX – Hoosier BI

 

Pat

 

Microsoft Employee
amitchandak
Super User
Super User

Thank you @amitchandak for the very quick response. I'm not sure this has answered my question. The root-cause of the problem is when I try and load duration and outage title to a Power BI Visual I get a 'count of duration outage' when I need duration displayed across the bottom as 'hh:mm:ss'.

 

BenBallantine_0-1669730465605.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors