Hello everyone,
New to power apps...
I have a gallery that is grouped and sorted: SortByColumns(GroupBy('2021_PART_C_GRV', "SOURCE_ORG", "REGION", "CONTRACT_NUMBER", "ListResults"), "REGION", Ascending, "CONTRACT_NUMBER", Ascending, "SOURCE_ORG", Ascending)
Each of the sorted / grouped rows have 4 rows each for each quarter of the year (1 thru 4) but I only want to see the data grouped by 3 fields. So this works, I can see the data in the gallery as I like.
Next, I have to change the color of each item in the gallery based on if a field is blank or 0. I can't get that to work with a switch or IF statement. I tried a sum, I have tried just the field itself, but nothing. Any thoughts?
This is what I started with: If(Sum(ThisItem.ListResults.OData__x0031_A_TOT_NUM_GRV)=0 || Sum(IsBlank)ThisItem.ListResults.OData__x0031_A_TOT_NUM_GRV) || ,White,Yellow).
Thanks for your help!!