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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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