Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
francis_gr
Creator
Creator

multi box show values

Hi!

Ì have a multi box that it allows me do selections using 3 fields. One field is año_inicio. Their values are a range between 2005 to 2010.

I would like to show only present and previous year ( 2009 y 2010)

how I can obtain it?

Thanks

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello,

Go to your multibox and instead of selecting a field from the left list, click on the "Expression >" button, and add something like

=If(año_inicio > 2008, año_inicio)


and label it as you want.

Regards

View solution in original post

4 Replies
Miguel_Angel_Baeyens

Hello,

Go to your multibox and instead of selecting a field from the left list, click on the "Expression >" button, and add something like

=If(año_inicio > 2008, año_inicio)


and label it as you want.

Regards

johnw
Champion III
Champion III

I'd base it on the current date so that I didn't have to change my application each year, but same idea:

=if(año_inicio>year(today())-2,año_inicio)

francis_gr
Creator
Creator
Author

Thanks Miguel!!

That works fine.

thanks

francis_gr
Creator
Creator
Author

Thanks John!!

Starting off of the idea from Miguel, i have arrived the same expression that you.
Regards