Quicksight - Total line in Table to show Sum of Max values from each row

0

Hi All, I have a data set in which I have to use the "max" function in displaying a particular measure (i.e. not sum) but I need the Total line to show the sum of the max values coming from each row. In Excel, a pivot table can do that, i.e. a measure in max function in the table can still be summed in the total line. In Quicksight, Total line gives me the max of all the max values it finds in the table Is this possible in Quicksight? i.e. controlling what the Total line should show for a measure?

feita há 2 anos4358 visualizações
2 Respostas
1
Resposta aceita

You could create a calculated field and use the sumOver function .

the measure would be the aggregated value you are looking for (max in your case), partition by the dimension in the pivot and you can leave blank the third parameter (the default is POST_AGG_FILTER that is what you are looking for).

Using QuickSight samples Sales Pipeline analysis the calculated field (max_revenue) would be:

sumOver(max({Weighted Revenue}),[Region])

the result would look like the pivot table on the right in this screenshot.

AWS
ESPECIALISTA
respondido há 2 anos
profile picture
ESPECIALISTA
avaliado há um mês
0

Thank you very much for this. This was exactly what I needed

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas