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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
rupaliqlik
Partner - Creator
Partner - Creator

How to calculate average line in line chart

Hi Folks,

In my dashboard I have one line chart where I am showing Target Volume and Actual volume .User asked me to make new average line chart for the Actual Volume .

Jan 391732+
Feb 370586+
Mar 250750
Total Of the Actual for all 3 month=10,13,068
No of month=3

Average line =3,37,689.33

rupaliqlik_0-1636634726065.png

Month can be vary so how to achieve above.

@abhijitnalekar 

 

2 Replies
rubenmarin

Hi, you can try adding a reference line, in the add-ons sections of the object property.

the expression for the reference line can be:

([ExpressionForActualVolume])/Count(Distinct MonthFieldName)

abhijitnalekar
Specialist II
Specialist II

Agree with @rubenmarin .

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!