Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Select automatic-created date field on year.

Hi,

I have a Date with format MM/DD/YYYY, Qlik Sense Desktop splits it into

DATE.Year,

DATE.QuarterYear,

... ,

etc

I'm trying to select DATE.Year into field() as a parameter in the following way:

app.field('DATE.Year').unlock();

app.field('DATE.Year').selectValues([2010]);


But instead displaying existent data in 2010 specifically, the code displays the visualization normally as if I didn't do anything.


How is the correct way to call auto-generated date fields in field() function. 

0 Replies