Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Kmilla
Contributor
Contributor

Reference line with average over year

Hello everyone,

I have a bar chart representing my volumes for each month-year. I want to add a reference line representing the average level of my volumes for the current year. I have been trying a lot with functions avg, rangeavg, aggr, but still I can't find the solution.

I tried (unsuccessfully) for example :

RangeAvg(volumes,[date.autoCalendar.Year]=year(now()))

avg(aggr(volumes, [date.autoCalendar.Year]=year(now())))

Thanks in advance !

Labels (1)
1 Solution

Accepted Solutions
ChiragPradhan
Creator II
Creator II

Hi,

See attached.

If it is what you are looking for, consider marking it as resolved.

 

View solution in original post

1 Reply
ChiragPradhan
Creator II
Creator II

Hi,

See attached.

If it is what you are looking for, consider marking it as resolved.