Comparing list with text issue

Hi. Canโ€™t quite work out an issue I am having. I have Fabrication Search Table with 1 column [Product Code] that is scannable. The scanned code takes the user to subsequent table Operations_Master_Check. One column in this table [Master Reject] is a text with Yes/No value (based on app formula). If this value is set to yes I want to return an error to the user in the previous table when scanning the [Product Code]. So it is something like Operations_Master_Check[Master Reject]=โ€œNoโ€ in the ValidIf formula. I am getting an error because the system is trying to compare a List and Text. Could anyone tell me if I am on the right track here and if so how to tweak the expression to get me desired result?

Thank you.

Solved Solved
0 5 2,307
1 ACCEPTED SOLUTION

Probably something likeโ€ฆ LOOKUP([_THISROW].[Product Code],โ€œOperations_Master_Checkโ€,โ€œProduct Codeโ€,โ€œMaster Rejectโ€)=โ€œNoโ€

View solution in original post

5 REPLIES 5

Most likely you have a column called Related Master_checks in the Product table so you can use IN(โ€œYesโ€, [Related Master_checks][Master Reject])

Hi @Bellave_Jayaram. If I understand you correctly I donโ€™t have the Related Master Checks in the Product table. Is there an alternative approach.

Probably something likeโ€ฆ LOOKUP([_THISROW].[Product Code],โ€œOperations_Master_Checkโ€,โ€œProduct Codeโ€,โ€œMaster Rejectโ€)=โ€œNoโ€

That worked @Aleksi. Thanks a million.

Youโ€™re welcome

Top Labels in this Space