Pregunta
Calculation for number of times a custom date field has been changed
Hi! I'm building out some custom calculated fields to be used in reporting. One thing I need to record is the number of times a specific custom date field has been updated. I've gotten everything worked out using one of @Doug Den Hoed - AtAppStore concepts but the sum is adding 2 instead of 1. Ignore the weirdness of my field names The concept is that we have a baseline audit date that stays the same after the first entry. If a reschedule is done it goes into the Reschedule date field which updates the Reschedule History field (a calculated field which is working correctly) and the PPS Audit Reschedules (ie the number of times the reschedule date has changed) will add 1. But it adds 2 every time I make an update. The calculation I've used is PPS Audit Reschedules = IF(LEFT(PPS Reschedule History,8)=1st Reschedule Date,PPS Audit Reschedules,SUM(PPS Audit Reschedules,1))
Reschedule History = LEFT(IF(LEFT(PPS Reschedule History,LEN(IF(ISBLANK(1st Reschedule Date),"-",1st Reschedule Date)))=1st Reschedule Date,PPS Reschedule History,CONCAT(IF(ISBLANK(1st Reschedule Date),"-",1st Reschedule Date)," (on ",$$NOW," ) because",1st Reason for Reschedule," | ",PPS Reschedule History)),2000)
Here is how it's working on an object. It's adding 2 every time I edit the reschedule date. Whhhhyyyyyy?
Kristy Musgrove Havertys