Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
n1ef5ng1
Creator
Creator

Month on Month?

untitled.bmp

Hi,

I need to generate a table that consist of two years data, YOY comparison and  MOM comparison.

My dimension is Month so it will tabulate monthly data for two years

Basicially I solved my YOY by using column 1 and 2 (2011 and 2012)

However, I am stuck in MOM as I have no idea to ask Qlikview to use Month minus Month-1 data

Any gurus can help on this?

is there such a thing of Column(2) - Column(1)-1?

Labels (1)
14 Replies
n1ef5ng1
Creator
Creator
Author

tried using that but failed.

is there such a thing of column(2) - column(1)-1?

am totally clueless on this now.

unable to use if else statement too...

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If you're using Month as dimension you can't use set analysis (without making things very very complicated). You can use an AsOf table instead. See this document. In your case all you need is a table with the month and the previous month:

MonthAsOfMonth
Jan 2012Dec 2011
Feb 2012Jan 2012
...etc

talk is cheap, supply exceeds demand
n1ef5ng1
Creator
Creator
Author

my output is zero when i use that code.

below are my qv file,

n1ef5ng1
Creator
Creator
Author

any help

n1ef5ng1
Creator
Creator
Author

Hi,

I am using your method, bascially it MonthAsOf - Month to achieve the result?

However how do I create a new column for MonthAsOF

i am trying out by using Month -1 AS MonthAsOf