I have one dataverse table Customer where I have 3 columns: UEmail (text type), Validity (Choice: Monthly, Yearly) and StartDate (Dateonly Type)
I am using below formula for OnVisible property of one screen.
If(LookUp(Customer, UEmail = User().Email && Validity = "Monthly").StartDate < DateAdd(Today() , 30) , UpdateContext({expval:true}))
I am getting error:
Incompatible type of comparisons. These types cannot be compared. OptionSetValue and Text
Any solution to above error ?