Forum Discussion
Best Method to calculate the difference between two date/times columns across multiple tables
- 6 years ago
hi,
According to your description, please try this measure:
Time taken = DIVIDE(DATEDIFF(Job[createdon],SUMX(RELATEDTABLE(slakpiinstances),slakpiinstances[Responsetime]),SECOND),60)
You can also use ‘Fixed’ to set how many decimals you want.
Here is my test table:
And remember to click ‘Show data with no item’ to shows the blank rows.
The result shows:
Here is my test pbix file.
If you still have questions about it, please for free to let me know.
Best Regards,
Giotto Zhi
hi,
According to your description, please try this measure:
Time taken = DIVIDE(DATEDIFF(Job[createdon],SUMX(RELATEDTABLE(slakpiinstances),slakpiinstances[Responsetime]),SECOND),60)
You can also use ‘Fixed’ to set how many decimals you want.
Here is my test table:
And remember to click ‘Show data with no item’ to shows the blank rows.
The result shows:
Here is my test pbix file.
If you still have questions about it, please for free to let me know.
Best Regards,
Giotto Zhi
- Anonymous6 years agoNot applicable
Thank you