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: 
Not applicable

Sub totals not working when using IF statements in chart expression

I can not get a chart expression to subtotal in the attached example.

Am I doing something wrong?

See attached simple example.

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello Adrian,

You have two options, adding condition within aggregation function:

=SUM(IF(B>'01/09/2010', C))
or using set analysis (preferably):
Sum({< B = {">$(=Date('01/10/2010'))"} >} C)
Hope that helps.

View solution in original post

1 Reply
Miguel_Angel_Baeyens

Hello Adrian,

You have two options, adding condition within aggregation function:

=SUM(IF(B>'01/09/2010', C))
or using set analysis (preferably):
Sum({< B = {">$(=Date('01/10/2010'))"} >} C)
Hope that helps.