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.