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

num(month(date))

in calendar i have month sequence column  - created using num(month(date)) as monSeq

now i want to use set analysis to get previous month .

i use -            monSeq={">=$(=max(monSeq)-1)<=$(=max(monSeq))"}

i am not clear with what number we are subtracting ?

is it date / week / month

behavior for today date:

=max(monSeq)-1)     -> march

=max(monSeq)-2)-> march
=max(monSeq)-3)-> march
=max(monSeq)-4)-> feb

can anybody please guide me , what are these number (number that we are subtracting) means day or week or month

Labels (1)
4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Without looking at the actual data we can't give you a definite answer. But my first guess would be month numbers.


talk is cheap, supply exceeds demand
robert_mika

What's  your data format?

As this

will give different value that this:

Not applicable
Author

'2015-03-17'

robert_mika

Please post sample of your data so we can better understand what we are dealing with.