Help with IN() Expression evaluation

I have an app that uses slices that allow users to filter and query data collected in another app. The expression that made these slices work was:

IN([column], Query[column])

It seems that this expression is still working fine for most of the columns that are being evaluated, but it looks like something may have changed with how this expression is being evaluated with columns with multiple values (the data is being collected in ENUMLIST columns).

So if the possible values in the ENUMLIST for [column] are โ€œa, b, cโ€. When a person populated the Query[column] with โ€œaโ€, they used to get back any rows that had values with โ€œaโ€ in them, ie โ€œaโ€, โ€œa, bโ€, โ€œa, b, cโ€, โ€œa, cโ€. Now however they are only getting rows with โ€œaโ€. If they populate the Query[column] with โ€œa, cโ€, they will get rows with โ€œaโ€ and rows with โ€œcโ€, but not rows with โ€œa, cโ€.

Is there a simple way to change this so that it functions the way that it used to? CONTAINS would let someone find โ€œaโ€ in an โ€œa, cโ€ row, but Iโ€™d have to limit what my users search by to one value at a time.

Thanks,

Solved Solved
0 2 140
1 ACCEPTED SOLUTION

If you are searching a table of date for an โ€œaโ€ and โ€œcโ€ from an ENUMLIST, then you are actually trying to compare 2 lists. IN() wont work in this senario but this will:

Simon@1minManager.com

View solution in original post

2 REPLIES 2

If you are searching a table of date for an โ€œaโ€ and โ€œcโ€ from an ENUMLIST, then you are actually trying to compare 2 lists. IN() wont work in this senario but this will:

Simon@1minManager.com

Thanks Simon, that did the trick.

Top Labels in this Space