i have plan date coulmn
10/12/2021 12:22:00 PM 10/13/2021 12:00:00 AM 288
10/12/2021 4:16:00 PM 10/12/2021 9:09:44 AM 336
DIFFERENCE BETWEEN BOTH IN HOURS
I USED THIS
Solved! Go to Solution.
hi @adnankabina
Try this
Measure = ABS(DATEDIFF(SELECTEDVALUE('IBdata'[ACTUAL_PKUP_DTT]), SELECTEDVALUE('IBdata'[PLANNED_PKUP_DTT]), HOUR))
The ABS() function just returns the absolute value of the number, regardless of whether it's positive or negative. You may have cases where Actual - Planner (or Planned - Actual) results in a negative number of hours.
Regards
Phil
Proud to be a Super User!
hi @adnankabina
Try this
Measure = ABS(DATEDIFF(SELECTEDVALUE('IBdata'[ACTUAL_PKUP_DTT]), SELECTEDVALUE('IBdata'[PLANNED_PKUP_DTT]), HOUR))
The ABS() function just returns the absolute value of the number, regardless of whether it's positive or negative. You may have cases where Actual - Planner (or Planned - Actual) results in a negative number of hours.
Regards
Phil
Proud to be a Super User!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!
User | Count |
---|---|
205 | |
71 | |
69 | |
57 | |
57 |
User | Count |
---|---|
251 | |
220 | |
105 | |
76 | |
74 |