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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

AVG Trendline Issue

Hello everyone,

I am not able to draw a AVERAGE Trendline for the below chart. The problem is the chart is showing 2 Average Trendline for different products. I only want to show 1 Average Trendline for the total products. Anyone out there able to advise ?Trendline.jpg

1 Solution

Accepted Solutions
Not applicable
Author

Hi Gysbert,

The Average Trendline comes out nicely, after I did some changes to the Expression. Your suggestion is good and I only need to make some changed. THANKS A LOT!!

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add one reference line on the Presentation tab using this expression: =avg(aggr( avg(Amount), Trade_Month_Year)). Replace avg(Amount) with the expression you use for the bar segments.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks for the quick response. It doesn't seem to work.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Please post a qlikview document that demonstrates the problem.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

The Average Trendline comes out nicely, after I did some changes to the Expression. Your suggestion is good and I only need to make some changed. THANKS A LOT!!