Synthetic Variables with Context

Hi All,

I have some variables with context categories labeled CATEGORY and USER that accompany a value which is our feed weight. I have attached a screenshot that shows this. I wanted to know if there was a way to make a variable that summed up the feed weights of just Category produce, or just post consumer, etc. Or even the same by User.

Thanks,
Paul

Hi @psalibe,

While synthetic variables can operate with data taken out from the context, this is limited to only numerical data so if the value sent in your CATEGORY and USER context keys are different from numbers, you won’t be able to use them in the expression.
Is there any way you can map at least the CATEGORY context key to numbers so it can be used in a synthetic expression.

By the way, the image wasn’t attached correctly.

–David