Can anyone point out where my problem is in this espression?
The goal is to use this as a valid if constraint, where the options are Candidates 1-4 but not candidates that have alredy been used in rows with the same useremail() and interview key.
= IN([_THIS],SELECT(LIST([Interview Key].[Candidate 1],[Interview Key].[Candidate 1],[Interview Key].[Candidate 1],[Interview Key].[Candidate 4]),NOT(IN([_THIS],SELECT(Results[Candidate], AND([_THISROW].[Interview Key] = [Interview Key],[Interviewer Email]=useremail()))))))
The error I get is “select has invalid inputs”
Update:
This is my new working expression:
= IN([_THIS], (LIST([Interview Key].[Candidate 1],[Interview Key].[Candidate 2],[Interview Key].[Candidate 3],[Interview Key].[Candidate 4],[Interview Key].[Candidate 5] ,[Interview Key].[Candidate 6] ,[Interview Key].[Candidate 7] ,[Interview Key].[Candidate 8] ,[Interview Key].[Candidate 9] ,[Interview Key].[Candidate 10])- SELECT(Results[Candidate], AND([_THISROW].[Interview Key] = [Interview Key],[Interviewer Email]=useremail()))))