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: 
MuraliPrasath
Creator III
Creator III

Avg() function with Aggr on Reference line producing wrong results.

I've a bar chart with following Dimension and Expression.

Dimension01: ProductName& ' '& Levels

Dimension02: =if(match(Country,'China'),Country)

Expression = sum(interval(([EndDate])-([StartDate]),'D'))

Reference Line Expression: =Avg(Aggr(interval(([EndDate])-([StartDate]),'D'),[ProductName] & ' '& [Levels]))

Someone correct me on my Reference line expression? Thanks

Labels (1)
0 Replies