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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How can we make variable Dynamic?

Hi Everyone,

I have a variable vMonthENDDATE=date(monthend(today(),0),'YYMMDD').....Which returns the current year monthend date (20161031)

I have make this variable take current year month date as default value as well as make it dynamic for other all other month and date too..

How can I make this variable work in such a way?

User have Fiscal year and Month as the selection.

Thanks

Juna

1 Reply
sunny_talwar
MVP
MVP

May be use this:

Date(Floor(MonthEnd(Max(DateField))), 'YYMMDD')

or

Date(Floor(MonthEnd(MakeDate([Fiscal Year], [Month]))), 'YYMMDD')