Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Is there a way to get the value of a custom field instead of the label when building a calculated field?

Avatar

Community Advisor

My example, I have a drop-down field, countries where I have a value and label set up, such as Australia (label=Australia value=AU), United States (label=United States value=US), and so on.  I would like to use the value in a Calculated field but not sure how to get to it or if that is possible, anyone know?

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

 

Hi @Kurt_Jones,

 

If a calculation uses the label by default and you'd prefer the value (or vice versa; I'm away from my computer, but from memory), I usually use a series of IF statements to decode the desired translation.
 
Regards,
Doug

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

 

Hi @Kurt_Jones,

 

If a calculation uses the label by default and you'd prefer the value (or vice versa; I'm away from my computer, but from memory), I usually use a series of IF statements to decode the desired translation.
 
Regards,
Doug

 

Avatar

Community Advisor

We run into this problem a lot (especially with AEM integrations)...definitely wish there was an option to choose to show the label vs. value in a calculated field without needing to write out the IF/Replace statements.