Hi,
I was trying to create a parameter and when I use it in the calculated field for the controls then it is throwing an error saying -
"The syntax of the calculated field expression is incorrect. Correct the syntax and choose create again. "
Here is the syntax I have used
ifelse(
${GranularityLevel1} = “Field 1”, {field_1},
${GranularityLevel1} = “Field 2”, {field_2},
${GranularityLevel1} = “Region”, {region}, NULL)
I have created a single value parameter and applied controls as
Field 1
Field 2
Region
I think it is related to string as I use numbers in my controls but not sure how to fix it. Can you please help with it? Thank you.