Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggregated function Sum of Averages

Hi,

trying to sum the average amount for each branch as per below:

Sum(aggr(avg(Balance),Branch))

When selecting one time (ie 09:00) Im getting the correct value.

However, Problem is I cannot plot these values in a graph (hour as dimension), neither can I show these values per hour in a Pivot.

Im missing something here. Any clues?

Sample file attached.

Regards,

Olle


1 Solution

Accepted Solutions
ariel_klien
Specialist
Specialist

Hi,

Try  sum(aggr(avg(Balance),Branch,Time))

BR

Ariel

View solution in original post

2 Replies
ariel_klien
Specialist
Specialist

Hi,

Try  sum(aggr(avg(Balance),Branch,Time))

BR

Ariel

Not applicable
Author

thanks!