I've been unsuccessfully trying to figure out the syntax for an IF condition based on the value of a Yes/No feild. I cant figure it out how to adapt the examples I see online to what I am working on, I am hoping someone might be able to explain how Yes/No conditions work?
The current example I'm working on:
Table name: CreditLimitChanges
Columns:
'AccountName' -Text column
'Done' -Yes/No column
Gallery: ListGallery
I have created a label, and I want the fill of the label to be Red if Done = No, and White if Done = Yes
I can get it to work with the text column. E.g. this does work:
If(LookUp(CreditLimitChanges, AccountName= ListGallery.Selected.AccountName, AccountName) = "Pfeffer LLC", Red, White)
But I can't figure out how to do this with the yes/no column. The help text says value types being compared are not the same but I don't understand what it needs E.g.:
If(LookUp(CreditLimitChanges, AccountName= ListGallery.Selected.AccountName, Done) = true, Red, White)
I would appreciate any help.