Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'd like to set my document so that it selects the previous 2 full months based upon todays date. I can set one month by using variables and the Open trigger. But how would I select multiple months by default?
Separate the expression for the two months with | in the the search string text box which should allow for two selections.

all these works in my qlikview doc
='("Jul"|"Aug")'
another one
='(gen|feb)'
or
(gen|feb)
What if I have variable in my search string?
=vPrevMonth|=v2PrevMonth
Like this:
What if I have variables in my search string?
You may need to do something like this (depending on how you defined your variables):
='(' & $(v2PrevMonth) & '|' & $(vPrevMonth) & ')'
Can a bookmark be used in this case?
I tried this in a button and it works
='($(vM1)|$(vM2))'
