Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

List boxes

Hi guys,

Is there a way to combine list boxes to look at two different date selections in tables?  Hopefully the screenshot will help this make sense!

I have got some list boxes which are looking up dates in two different tables.  What would be great is to have a single list box for both date and month which looks at both my tables when selected. 

Could I do this by creating an expression on the list boxes somehow?

Capture.JPG.jpg

1 Solution

Accepted Solutions
djsampat
Creator II
Creator II

Hi,

You can make the fields have the same name, so they get linked.

LOAD

day(OrderDate) as Day

month(OrderDate) as Month

from ORDERS;

LOAD

day(TicketDate) as Day,

month(TicketDate) as Month

from TICKETS;

or just make both dates as your DocDate and link it to a Master Calendar

If this helped you, please mark as Helpful. If it solves your issue, please mark as Answer

Regards

Dhruv

View solution in original post

3 Replies
djsampat
Creator II
Creator II

Hi,

You can make the fields have the same name, so they get linked.

LOAD

day(OrderDate) as Day

month(OrderDate) as Month

from ORDERS;

LOAD

day(TicketDate) as Day,

month(TicketDate) as Month

from TICKETS;

or just make both dates as your DocDate and link it to a Master Calendar

If this helped you, please mark as Helpful. If it solves your issue, please mark as Answer

Regards

Dhruv

jyothish8807
Master II
Master II

Hi Jamel,

I guess both dates are different so making them one will create an issue in this case the best solution i suggest is creating a canonical dates.

refre this:

http://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date

Regards

KC

Best Regards,
KC
ankit777
Specialist
Specialist

hi,

Maybe u can concat both date tables and add a flag like Day order and day tickets.

This gets all your dates in one table and they can be distinguished on the basis of flag.

Thanks.