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: 
tim_at_ford
Contributor III
Contributor III

On Open with Select in Field

Hey everyone!

I've got this Select in Field condition as such:

 

Select in Field Popup.PNG

And this work fine when it comes Month but I want to add on the year as well for my MonthYear selection:

='=Year=year(today())'

Essentially I want to do this:

='=Month=month(today())'  plus ='=Year=year(today())'

So my "MonthYear" field will be populated correctly.  The on open search is working correctly for each.  I just want to combine them.

It's a syntax question and sorry for the elementary nature!!

 

 

 

1 Solution

Accepted Solutions
sunny_talwar

May be do it on the MonthYear field? or do it with two select in field actions?

View solution in original post

4 Replies
sunny_talwar

May be do it on the MonthYear field? or do it with two select in field actions?

dplr-rn
Partner - Master III
Partner - Master III

this is what has worked for me before

date(monthstart(today()), 'MMM-YYYY') - to set current month

but this assumes your year month is in date format.

whats the format of your year month field?
tim_at_ford
Contributor III
Contributor III
Author

Sunny!!

OH YEA BABY, BABY!!

That worked!!!  Thank you sir!!

 

tim_at_ford
Contributor III
Contributor III
Author

Thank you for your reply Dilipranjith we got it working!!