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?

preguntada hace 2 años4358 visualizaciones
2 Respuestas
1
Respuesta aceptada

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
EXPERTO
respondido hace 2 años
profile picture
EXPERTO
revisado hace un mes
0

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

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas