Forum Discussion
ArchStanton
Power Participant
4 years agoSUMX Formula creating a negative value
Hi, The following formula produces a figure of -23 days which is incorrect, it should be 23 days. Working Days = SUMX(FILTER(Deferrals,[regardingobjectid]= 'Cases'[incidentid]),Deferrals[Time...
- 4 years ago
ArchStanton I'm thinking:
Working Days = SUMX(FILTER(Deferrals,[regardingobjectid]= 'Cases'[incidentid]),'Cases'[Duration from Assigned (wd)] - Deferrals[Time in Deferral AP])or:
Working Days = 'Cases'[Duration from Assigned (wd)] - SUMX(FILTER(Deferrals,[regardingobjectid]= 'Cases'[incidentid]),Deferrals[Time in Deferral AP])
Greg_Deckler
Community Champion
4 years agoArchStanton I'm thinking:
Working Days = SUMX(FILTER(Deferrals,[regardingobjectid]= 'Cases'[incidentid]),'Cases'[Duration from Assigned (wd)] - Deferrals[Time in Deferral AP])
or:
Working Days = 'Cases'[Duration from Assigned (wd)] - SUMX(FILTER(Deferrals,[regardingobjectid]= 'Cases'[incidentid]),Deferrals[Time in Deferral AP])