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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Luca_perdic
Contributor II
Contributor II

Dynamic aggregated average

Hi,

I have a data set with all the costs by data that are categorized and recapped in a table as follow. Now i would like to create a column sensitive to the selected YearMonth that gives me back the average monthly costs per category in order to see each month for every category how much i have spent compared to the dinamic average.  Mind that behind every line of the table there is more records but the average i need is based on the total monthly costs per category.

Thank you 

Br Luca

Luca_perdic_0-1681331161934.png

 

Labels (4)
2 Replies
BrunPierre
Partner - Master II
Partner - Master II

=Avg(Aggr(Your Expression), YearMonth, Category))

Luca_perdic
Contributor II
Contributor II
Author

Hi BrunPierre, 

I had tried already but i get the same value i have on each month and not the avg value of all the selected month 

Luca_perdic_0-1681389728979.png