I have this screen
When a supervisor comes into the screen and needs to move someone they need to look up that current user, if that user has a seat it will appear in the Lookup Current Employee Location, what I am wanting to do is if that location populates I want the button in the gallery that matches in this case EHQ to be a different color.
This is what is on the the items property of the gallery
Sort(Distinct(Locations,Title),Result,Ascending)
I have tried this on the fill property
If(ThisItem.Result=Label1_4.Text = "EHQ",RGBA(0, 45, 114, 1),RGBA(229, 114, 0, 1))
However, it is giving me the following error
This is what is on the lookup field
LookUp(mapPins,cmb_Employee.Selected.DisplayName='Current Occupant'.DisplayName).Building
Is what I am trying to do possible?

Report
All responses (
Answers (