Skip to main content
Announcements
WEBINAR April 23, 2025: Iceberg Ahead: The Future of Open Lakehouses - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
MuraliPrasath
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