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: 
yanivvl0
Creator III
Creator III

NPrinting-How to define filter using variable value ?

hi , i am trying to define a filter which using the variable value :

SET vPrevMonthYear =          year  ( date(floor(monthstart(addmonths(Today(),-1))), 'YYYYMMDD') ) ;

look like that :

np fltr 0.PNG

but i get warning like that :

np fltr 1.PNG

why ?   thanks .

1 Reply
eurofactor
Contributor II
Contributor II

Hi,

Use only the variable without "=$()" and check the "Evaluate" - Checkbox

Image.gif