Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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
Partner - Master

=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