Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

last 12 months data

i have two column monthname and consumption value

monthname has the value between aug2010 to jul2012 and also have consumption repectively

now tell me how to calculate consumtion value for the last 12 months

1 Reply
Not applicable

Re: last 12 months data

Try like:

=sum(if(monthname>=Date( (MonthStart(Today())-365),'MMMYYYY'),consumption))

Regards

R