Hi,
I have an app that I've set up for the Steptember challenge at work. Everything works fine except for the column chart that I'm using to display total steps throughout the month. I have this sorted by first name ascending...
Items:
SortByColumns(Steptember,"FirstName",Ascending)
What I want to do is display the person's team color for their bar on the graph.
The below works fine provided I don't sort the data as above...
ItemColorSet:
ForAll(
Steptember,
Switch(
Team.Value,
"Tahi", RGBA(255, 156, 58, 1),
"Rua",RGBA(189, 55, 128, 1),
"Toru", RGBA(6, 181, 255, 1),
"Whā",RGBA(108, 164, 99, 1),
Color.Gray))

With the sort by first name in place the colors no longer correspond to the correct person...

How do I incorporate the requirement to sort by first name into ItemColorSet?
Thanks in advance for any assistance offered.