Hi I'm trying to change the colour fill of a button based on whether the logged-on user has a value in the SharePoint choice column 'Planning' of more than 5 and less than 7. The logged-on users' email is held as a global variable - varUser.
So I have been trying variations of this without success, stored on the Fill condition of the button:
If(!IsBlank(Filter('Staff Dev','Team Member'.Email = varUser && 'Planning' > 5 && 'Planning' < 7)),RGBA(0,255,0,1),RGBA(255,0,0,1))
I have tried swapping the && for an And formula and , but this has not worked. If I bin off the conditions for the choice column and just test the colour change against the logged on user the colour selection works fine. Can anyone suggest a correction for the formula?
Thanks in advance!