Custom calculation using String parameter with multiple default values

I have a custom calculation, that was working and now is not working anymore.
${segment} is a String parameter with multiple default values:
Value1
Value2
Value3

ifelse(in(NULL, ${segment}), 1, 0)

now it shows:
amazon quicksight encountered an error comparing string with an unsupported type.
please ensure strings are only compared with strings or nulls

I think the problem is the in(NULL, ${segment})
once I change NULL to ‘’ it works.
I basically need to know if the filters is selected or not in my calculation.

This was working and suddenly not is not.

Any idea?

Hello @igfasouza !

Our team was running into this issue as well but we believe there was an update that should resolve it. Have you still been running into this error? I would also suggest recreating the calculated field to troubleshoot if the issue is persisting.

Hey @igfasouza !

Were you able to find a solution or are you still running into this issue? Again, on my side our team found that this issue was resolved some time last week.