Hello.
I have the following pivot table, that groups users (Column: Type) into their respective home regions (Column: Macro and EU region).
I want to highlight in red the two users with the lowest average percentage, for the four weeks shown, for each of the Macro regions.
In the case seen below, I’m trying to highlight the rows: CEU-EU13-AR & CEU-EU17-AR and UK-EU22-AR & EU23-AR.
It’s proven quite complex, specially due to the table being a Pivot, and not a normal Table. Unfortunately I need the Pivot format as I’m aggregating various other metrics which - visually- are best sorted in a Pivot.
I’ve tried:
-
The conditional formatting menu (under properties): Unfortunately this will only let me set numerical conditions which are neither variable (as the average will change as new weeks get added) nor allow for ranking-based conditions (or any other of condition based on tertiary variables).
-
Creating a new “indicator” variable: I tried handling the condition from the query side, adding a column that will make the ranking, and give a binary value [0,1] if the particular row is a top offender for the 4-week average or not. Unfortunately, I have to (visually) include this variable in my pivot in order to apply conditions on it, I cannot apply the condition directly on “Kipp Comp.”.
-
Creating a new “indicator” variable within quicksight: I also tried using LAC-A functions to create the same variable within quicksight, but I have the same issue linking the Pivot formatting to it, unless I explicitly include it.
-
Creating a parameter: Similar as before, I cannot base any sort of conditional formatting on a Parameter in Pivot Tables.
Any type of help or suggestion will be greatly appreciated!
I’m also open to trying using a Table again, if you find a way of aggregating all the “CEU” lines into a single (thicker) line, grouping all of the contents as the pivot does.
Thanks in advance.