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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button Selections

Hi all,

I'm trying to create a button that will select a current and previous month.

='('&Concat(Month(MonthsName(1,Today())-1) &',' & Month(Today()), '|')&')'

but doesn't work

Any help please, Thanks!!

Javier.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

='('&Month(Addmonths(Today(),-1)) &'|' & Month(Today())&')'

View solution in original post

4 Replies
tresesco
MVP
MVP

Try like:

='('&Month(Addmonths(Today(),-1)) &'|' & Month(Today())&')'

its_anandrjs
Champion III
Champion III

Try like the below code

=Concat(Month(MonthsName(1,Today())-1) & ',' & Month(Today()), '|')

Hope this helps

Thanks & Regards

Not applicable
Author

Thanks Anand, but doesn't work

Not applicable
Author

tresesco Perfect !!!!

Thanks!!