Forum Discussion
Calculate Time
- 2 years ago
Once you examined the code, replace the Source step with your own source.
Hi tracyhopaulson ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create two slicer tables.
Start Time Slicer = VALUES('Table'[TimeStamp(PST)])Stop Time Slicer = VALUES('Table'[TimeStamp(PST)])
(3) We can create a measure.
Time = DATEDIFF(MAX('Start Time Slicer'[TimeStamp(PST)]),MAX('Stop Time Slicer'[TimeStamp(PST)]),MINUTE)
(4) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your feedback. Is it possible to have the measure calculate the total minutes from start to stop for each day without the slicers?