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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Duration between Date Time

Hi Power BI Community!

Is there a way to show the duration time between for example 01.01.2020 10:10:15 and 10.01.2020 20:10:15 (Form Date time)

So in this example the result should be 9 Days 10 hours

I did seperate date and time and tried to calculated something useful but I failed.

Your help is needed and appreciated.

1 ACCEPTED SOLUTION
nandic
Super User
Super User

Hi @Anonymous ,
There is option in Power Query to add new column (Custom column).
In formula just type: [End date column] - [start date column]
It returns it in format   days:hours:minutes.

Regards,
Nemanja Andic

View solution in original post

1 REPLY 1
nandic
Super User
Super User

Hi @Anonymous ,
There is option in Power Query to add new column (Custom column).
In formula just type: [End date column] - [start date column]
It returns it in format   days:hours:minutes.

Regards,
Nemanja Andic

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.