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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
1adam_haj
Contributor III
Contributor III

Current month button

hello,

i am using Sheet Navigation + Actions buttons for Qlik Sense extension and I need to make button for selection of current month


In field of selections i have this field

 

='Stop_Time.autoCalendar.YearMonth'


and in field for value i have tried following script


=date(makedate(year(today()),month(today()),day(today())),'YYYY-M')


- this script is returning right value = 2018-2


So i can´t get where is the problem. Any ideas ?

1 Solution

Accepted Solutions
qlik4asif
Creator III
Creator III

4 Replies
qlik4asif
Creator III
Creator III

agigliotti
MVP
MVP

are you sure both field values match?

what's the data type of "Stop_Time.autoCalendar.YearMonth field ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
1adam_haj
Contributor III
Contributor III
Author

It is string in timestamp format like this: YYYY-MM-DD HH:MM:SS

It is recognized and driven by QS autocalednar, autocalendar functions like YearMonth or Month are working right

agigliotti
MVP
MVP

that's why it's not working.

you should use the same date format.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it