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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Durations

Hi,

What is the best way to represent durations in PBI?

I need to represent a long process durations.

Currently the durations represents as days, and it works good to describe the all process because usually it can take more then few days, but When drilling down to step in the process It becomes not understandable to the user because each step in the process can take several minutes, (20m = 0.013d).

In addition, it couldn't be string since I need sort/aggregate this column.

 

Thanks in advance to the assistants.

3 REPLIES 3
Anonymous
Not applicable

HI  @Anonymous,

In fact, I do not so recommend you to use a larger unit to store small value, these values accuracy will be reduced during unit conversion.

In my opinion, I will use a small unit(total second) to record these values and use the expression to calculate correspond conversion results if necessary.

Calculation priority: aggregation > transform. (Notice: do aggregation on values before unit conversion, it can reduce the deviation caused with unit conversion)

Aggregating Duration Time 

Regards,

Xiaoxin Sheng

az38
Community Champion
Community Champion

Hi @Anonymous 

in power query editor mode you can set Data type as Duration for your field

according https://docs.microsoft.com/en-us/power-bi/desktop-data-types 

Duration – Represents a length of time. It’s converted into a Decimal Number Type when loaded into the model. As a Decimal Number type it can be added or subtracted from a Date/Time field with correct results. As a Decimal Number type, you can easily use it in visualizations that show magnitude.

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Thanks but decimal is not good enought for me because this number can be days or minutes, it not understandable to the end user when the report shows 0.0013 days.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.