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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Memorable Member
Memorable Member

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
Memorable Member
Memorable Member

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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