I want to calculate a specific value at each event with it's current value as the input (along with some other values)
new value = (x/y) - current value
How do I re-use the current value when subtracting it from the left half of the formula?
I've tried to store the current value in another attribute, but when I finish the setup of the attributes I get a dependency error.
Thanks in advance!
In UDH, an attribute is only enriched once per event. This leads to the circular dependency problem you have encountered. It is not possible to have an attribute on both the left and right hand side of an assignment, unfortunately.
I'd suggest you log a product idea for that ability.
In the meantime, depending on your use case, there may be another way to achieve it. You can either discuss it here, or you can send me a private message.
03-26-2018 11:42 PM - last edited on 03-27-2018 05:28 AM by kathleen_jo
Thanks for your reply. I was afraid of that.
Our current strategy is to recalculate part of the algorithm within the tag manager (IQ) for web-based tags and do the calculation, based on start and end of session, for other channels that have single hits (eg. email opens etc.)