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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Trying to calculate the time it takes between steps and use that as a filter.

Hi, I am relatively new with Power BI Desktop and I have some data that is showing a sequence of steps (Step 1, Step 2, Step 3) and they have a time stamp for each step completed, as well as a time column. Is there a way to find the time it took from step 1 to step 3? 

There are also multiple step 1's, step 2's, and step 3's, but I have grouped them by unique id # so that each set of 3 have their own unique number. 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

You could use Datediff function and set the interval to hours, so it would give you the difference between two columns.

 

https://learn.microsoft.com/en-us/dax/datediff-function-dax

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

You could use Datediff function and set the interval to hours, so it would give you the difference between two columns.

 

https://learn.microsoft.com/en-us/dax/datediff-function-dax

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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