Hello everyone,
I use a maxOver function to get the new field “max duration” grouped By SessionID.
I want to represents a bar-chart of the sum of (max wt) per day it is not possible for me is there an other solution.
my dataset is an athena sources.
2-get the sum of max Duration by Day (in a barChart)
so i want to get this in a bar-Chart:
Mon 778
Tue 295
Your solution will Give me :
Mon 500
Tue 120
The problem in the barChart quicksight will ask to add the SessionID in the fields even if i don’t need it the visual(I need SessionId only in the calculated Field), so i will get the Bar chart with the repetition of each session ID.
LAC-A function is better suited for this than LAC-W(sumOver).
You can get the desired result with the below calculation and letting QuickSight auto sum it in the visual. (See screen shot below)
Max session duration per day max(duration,[day,sessionID])