12 Replies Latest reply: Nov 11, 2013 11:10 AM by Yousef Amarneh

# bar chart sum last year total

hi all,

bar chart sum last year total

sum( {\$<Year={"<=\$(Year)-1"}>} value)

Dimensions : if(MonthYear >= '012013',MonthYear)

bar chart value :

012013 > 60

022013 > 60

032013 > 60

042013 > 60

052013 > 60

062013 > 60

072013 > 60

082013 > 60

092013 > 60

102013 > 60

112013 > 60

122013 > 60

• ###### Re: bar chart sum last year total

try

SUM({<Year = {'\$(=max(Year)-1)'}>}value)

Regards

Al

• ###### Re: bar chart sum last year total

Hi Alan,

expression you sent ;  SUM({<Year = {'\$(=max(Year)-1)'}>}value)

should be ;

• ###### Re: bar chart sum last year total

or you could try

• ###### Re: bar chart sum last year total

Hi Alan,

expression you sent ;  SUM({<Year = {'\$(=max(Year)-1)'}>}value)

should be ;

• ###### Re: bar chart sum last year total

so should it be

SUM({<Year = {'\$(=max(Year))'}>}value)

which will give

• ###### Re: bar chart sum last year total

should be ;

I want to be like

example : 012013 value >> 2012 vales total 60

012013 > 60

022013 > 60

032013 > 60

042013 > 60

052013 > 60

062013 > 60

072013 > 60

082013 > 60

092013 > 60

102013 > 60

112013 > 60

122013 > 60

• ###### Re: bar chart sum last year total

• ###### Re: bar chart sum last year total

Thanks Alan,

There is a more  problem with,

Year to day total

how can ?

example : bar chart Dimensions >> montyear 08-2013

< 08-2013 + > 01-2013

value YTD total > 80+70+60+50+40+30+20+10 = 360

example : bar chart Dimensions >> montyear 07-2013

value YTD total > 70+60+50+40+30+20+10 = 280

• ###### Re: bar chart sum last year total

Hi,

See below, maybe this could get the result you need

• ###### Re: bar chart sum last year total

do you want to show values greater than 60 only ? I couldn't understand your question !!

• ###### Re: bar chart sum last year total

hi Yousef,

Dimensions >> montyear (YTD) total. I want to do.

Year to day total

how can ?

example : bar chart Dimensions >> montyear 08-2013

< 08-2013 + > 01-2013

value YTD total > 130+140+150+160+170+180+190+200 = 1320

example : bar chart Dimensions >> montyear 07-2013

value YTD total > 130+140+150+160+170+180+190 = 1120

• ###### Re: bar chart sum last year total

see the attached file, I think it's working