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: 
Not applicable

select set of dates in listbox

Hi All,

I would like to see set of dates in listbox (Date) get selected up on the selection of list of values of list box(Days).

If possible pls share it with a working example..with the sample data given below.

listbox(Date )        Listbox(Days)

01-01-2015             Past 2 days --- when this get selected it should Select....04-01-2015 & 03-01-2015

02-01-2015             Past 3 days --- when this get selected it should Select....04-01-2015 , 03-01-2015 & 02-01-2015

03-01-2015

04-01-2015


Thanx in advance

Regards

Krishna

1 Solution

Accepted Solutions
timanshu
Creator III
Creator III

Hi Krishna,

Look for attached file. This works perfectly.

View solution in original post

24 Replies
aveeeeeee7en
Specialist III
Specialist III

Hi

Go through the below threads:

http://community.qlik.com/thread/125400

Regards

Av7eN

Not applicable
Author

Hi Av7en,

Thnx for the reply ....Actually I am  looking for a list box selection but not buttons...

Regards

Krishna

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Take a look at

Qlikview Cookbook: Date Grouping http://qlikviewcookbook.com/recipes/download-info/date-grouping/

for an example of assigning values like "last 2 days" and "last week" to a listbox.

-Rob

http://masterssummit.com

http://robwunderlich.com

Not applicable
Author

Thnx Rob,

It is very informative ....

Regards

Krishna

timanshu
Creator III
Creator III

Hi Krishna,

Look for attached file. This works perfectly.

Not applicable
Author

Hi Timanshu, This is really awesome....thnq very much..

Regards,

Krishna

Not applicable
Author

Hi,

May I know the logic behind this work ? Beacoz, Both the dates and the Duration table has no connection and on what condition it filters? Please explain

Regards

Lathaa

timanshu
Creator III
Creator III

Hi Lathaa,

It works on the basis of Trigger.  With the help of trigger , we can select any field available in qlikview independent of any linking.

varunvarma
Contributor III
Contributor III

Hi Virmani,

Please explain the logic, how  it is working. Thank you.

Regards,

Varma.