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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
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