Text mode to subtract two columns in a view, ability to add in color coding??
I am trying to subtract two columns in a view but not getting the result expected:
displayname=Remaining Seats Available
textmode=true
valueexpression=SUB({DE:CO - Available Seats},{numberOfOpenRequests})
valueformat=HTML
This calc is only bringing in the "CO - Available Seats" data point (so, say my CO - Available Seats field is 6, I have 3 open requests on the task - the calculated field should be showing me I have 3 remaining seats available, but it is showing 6). Do I need to specify what object "numberOfOpenRequests" relates to in the calculation? I tried adding in {task:numberOfOpenRequests} but that is still not working.
On another level, once that calc works, am I able to color code the calculated field (say, if the number is negative meaning I have more open requests than available seats, the field would be red)?
Thank you for your help,
Olivia