Show column depending on EnumList selection

Hi,

Iโ€™m trying to show a column based on what value user selected in a Enum List (shopCategory). I tired putting the show if of the column as [shopCategory] = โ€œSelected Optionโ€ but Iโ€™m getting the following error:

Cannot compare List with Text in ([shopCategory] = โ€œSelected Optionโ€)

Solved Solved
2 5 1,108
1 ACCEPTED SOLUTION

Thank you. Could you please try in show if following

IN(โ€œOption Aโ€, [ShopCatgeory])

View solution in original post

5 REPLIES 5

Do you wish toshow that column based on any specific value in enumlist column [ShopCategory] or for any and all categories in the enumlist column, meaning when it is non-blank?

Enumlist as the name suggests will select more than one option.

@Suvrutt_Gurjar

For specific values, e.g, if user selected โ€œOption Aโ€ from EnumList, I want to display a column relevant to that specific selected option.

Thank you. Could you please try in show if following

IN(โ€œOption Aโ€, [ShopCatgeory])

@Suvrutt_Gurjar Thanks.

And I assume there is a different expression for ENUM?

Nvm, I figured it out. Itโ€™s as simple as [shopCategory] = โ€œOption Selectedโ€

Correct. Since Enum returns a single value always , one can simply compare with that value such as [ShopCategory]=โ€œOption Aโ€

Enumlist returns a list, so we need the list based compare expression.

Top Labels in this Space