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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Not all the years

Naamloos.png

You see the years 2002 - 2015, but I only want to see the years 2012 - 2015 how can I fix that?

Labels (1)
6 Replies
rubenmarin

Hi, you can use an expression in multi-select box, ie:

=If(Year>2012, Year)

or

=If(Year>=Year(Today())-3, Year)

marcus_malinow
Partner - Specialist III
Partner - Specialist III

You'll have to limit the data you're loading.

In your load script you can use criteria such as 'where year(YourDateField) >= 2012'

buzzy996
Master II
Master II

try this on ur  year field on multi box  properties

=If(ur year field>='2012',ur year field,null())

prieper
Master II
Master II

Why? When there are data behind, it might be shown. If no data behind, might be limited in the script.

Anyhow: you may use an expression in the listbox:

IF(YearField >= 2012, YearField)

HTH Peter

marcus_malinow
Partner - Specialist III
Partner - Specialist III

Correction - as per Ruben's suggestion you can use a calculated dimension, so you don't have to limit the data you're loading.

However, if you're not going to allow it to be selected, why bother loading it?

Not applicable
Author

Here you go