I wrote the following simple expression to bring out some enum options for an enum column in the ValidIf text box.
IFS([Involved Bowel Segment]=โTransverse Colonโ,{โProximalโ,โMidโ,โDistalโ},[Involved Bowel Segment]=โRectumโ,{โUpperโ,โMidโ,โLowerโ})
But it receives the following error.
Expression โIFS([Involved Bowel Segment]=โTransverse Colonโ,{โProximalโ,โMidโ,โDistalโ},[Involved Bowel Segment]=โRectumโ,{โUpperโ,โMidโ,โLowerโ})โ could not be parsed due to exception: #VALUE!.
Can anyone tell me whatโs wrong with it?
Thanks
Hi @djmalaka,
I believe the reason for error is that the enum options you are using in your expression are also used as function names in AppSheet .These words are โUpperโ, โMid"and"Lowerโ. There are AppSheet functions exactly by these names. Such words are typically reserved words as the parser could interpret them as functions instead of enum text options. You could slightly alter these words , e.g say โ1Upperโ from โUpperโ and โ2Midโ etc.
I believe then your expression will parse.
Thank you very much.
User | Count |
---|---|
43 | |
30 | |
26 | |
14 | |
14 |