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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
sat_tok52
Creator
Creator

Avg refrence line in drill down group

Hi Guru's,

I am using time(Year,Month,Week) drill down group dimension in my line chart , i want to set avg refrence line for each dimension.I tried different ways but i won't get exact result.

any help.

Thanks,

Sateesh.T

Labels (1)
3 Replies
MK_QSL
MVP
MVP

Use Something like below

=Avg(TOTAL Aggr(SUM(Sales),$(='[' & GetCurrentField(TIME) & ']')))

or

=Avg(Aggr(SUM(Sales),$(='[' & GetCurrentField(TIME) & ']')))

Replace SUM(Sales) with your expression

TIME with your Drill Down Group Name

sat_tok52
Creator
Creator
Author

Hi Manish,

Thanks for quick reply. it's not working.

MK_QSL
MVP
MVP

Provide sample data or sample app... Without that difficult to answer.