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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

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