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

Object Button and select a date for action

Hello world !

My data contains a date :
1.PNG

I'm using the Button object for his action possibility. I just want to select a specific date when clicking on it.

2.PNG 

Without succes 😒. I try many possibility to give the value (just text, with date function, different format...)... The result is the same.

If some values are selected in the field, a click on the button will deselect data.

When I try on another "text" field, it's working fine !

Any suggestion why ?

Thanks for help !

1 Solution

Accepted Solutions
MNicolas
Contributor III
Contributor III

Hello

Try with a numeric format (your date *1)

View solution in original post

5 Replies
Or
MVP
MVP

Make sure your date format matches the one your application uses - you can do this by making a manual selection and seeing what pops up.

For example, my dates are formatted as '01-JAN-2020', so I was able to get it to select using:

='01-JAN-2020'

or

Date(MakeDate(2020,1,1),'DD-MMM-YYYY')

But not e.g.

='01/01/2020'

_CD_
Contributor III
Contributor III
Author

Hi, thanks for your answer.

I agree ! But in the reality 😑

For example, a selection on this field : 3.png

And used like that :

2.PNG

It seems correct for me. 

Is it working for you ?

MNicolas
Contributor III
Contributor III

Hello

Try with a numeric format (your date *1)

_CD_
Contributor III
Contributor III
Author

Ouais ouais ouais ! (Lepers style for the french audience)😅😄

Seriously... Thanks, it works like that but I really don't understand why 😆

Many thanks !

ManuelRühl
Partner - Specialist
Partner - Specialist

Great! 🚀

Thank you!

Manuel Rühl