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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
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