Select from a list to validate

Hey Everyone,

I’m trying to set a valid if constraint for a session to be created. I want the session that is to be booked to validate whether the parent table (Client Case) has a column (Status) value as active.

I have this at present:

IFS(SELECT(Client Case[Status], [_THISROW].[Ref] = [Ref]) = Active, True, False)

Problem is that my Status column is a list, so Im getting the Cannot compare list with text. After doing a little research I found that I should more than likely use the IN() function, but I cant seem to figure out how to fit it in to make it work.

Could someone please offer some advice.

Kind Regards
Ben

Solved Solved
0 7 206
1 ACCEPTED SOLUTION

Try these, hopefully you won’t need a virtual column if one of them works:

[Reference_to_client_case].[Status]=“Active”

OR

IN(“Active”,[Reference_to_client_case].[Status])

View solution in original post

7 REPLIES 7
Top Labels in this Space