Reputation: 33
How do I subtract two Date/Time columns in Power BI.
If I have:
How do I find out the time difference between Last Updated and Created Time (in hours)?
Upvotes: 3
Views: 26351
Reputation: 8148
Assuming your table is called "Table":
Time Difference = DATEDIFF('Table'[Created Time], Table[Last Updated], DAY)
DATEDIFF Function description:
https://msdn.microsoft.com/en-us/query-bi/dax/datediff-function-dax
Upvotes: 2