
Hi Experts,
I have a choices column in a sharepoint list and a calendar in my powerapp which i'm wanting to show the appointments in the calendar in a different colour for each selection from the choices column (only about 10 options, let's say, Dave, John, Steve, Pete for example case). The sharepoint list is called Installations and the choices column is called Installers. I've put a button within the calendar, and I assume I need to set some code for the Fill input but i'm just not sure on what to use.
Please help
Regards
Dave
Hi @Dave-ITMan ,
Please set Fill of Button as follows:
Switch(
ThisItem.Installers.Value,
"Dave",
Red,
"John",
Yellow,
"Steve",
Blue,
... //other options etc.
"",
White //If is blank, show in white color
)
Best regards,