Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
DavidFoster1
Specialist
Specialist

Average trendline

I am trying to show an average trendline on a column chart of weekly opened cases (I have a single dimension Open.WeekYr) . When I try to calculate the same value using the expression =avg(aggr(sum(#Cases),Open.WeekYr)) I get a different value.

Any ideas?

2 Replies
israrkhan
Specialist II
Specialist II

Hi, David

According to my understanding about Aggr function, you dont need it in one dimensional chart.

i think =sum(sale) and aggr(sum(sale)) will give you same result, if you have one dimension.

so in your scenario, you dont need aggr function, simply, avg(#Cases) will give you result.

kindly correct me if i am wrong...

DavidFoster1
Specialist
Specialist
Author

Sorry for the confusion.

The aggr statement is in a separate text box.