Hello, I have a pivot table with values from sales like this:
(generic demonstration)
City | 2024 W42 | 2024 W41 | 2024 W40
Chicago | 402 | 457 | 503
New York | 609 | 803 | 651
I would like to create a column that get the highest value from the row and a column that returns the week of the highest value.
For example:
City | Top Week | Top Week Value | 2024 W42 | 2024 W41 | 2024 W40
Chicago | 2024W40 | 503 | 402 | 457 | 503
New York | 2024W41 | 803 | 609 | 803 | 651
How can I create the values this way through the analysis?
It is easy using excel’s Index(column, Match(top value)) on Top Week and Max(row) on Top Week Value. But I can’t think of a way on quicksight to do it.