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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
jagannalla
Partner - Specialist III
Partner - Specialist III

Interval match based on our selection

Hello,

I've two tables:

T1:

StartEndCustomer
2012-09-19 10:16:04.0002012-09-18 11:00:00.0000000A
2012-09-19 11:16:04.0002012-09-18 12:00:00.0000000B
2012-09-19 12:16:04.0002012-09-18 13:00:00.0000000C
2012-09-19 13:16:04.0002012-09-18 14:00:00.0000000D

T2:

NameIntervalValue
A12012-09-19 10:20:04.00010
A12012-09-19 10:31:04.00020
A12012-09-19 10:40:04.00030
A12012-09-19 10:50:04.00040
B12012-09-19 11:20:04.00010
B12012-09-19 11:31:04.00020
B12012-09-19 11:40:04.00030
B12012-09-19 11:50:04.00040
C12012-09-19 12:20:04.00010
C22012-09-19 12:31:04.00020
C32012-09-19 12:40:04.00030
C42012-09-19 12:50:04.00040
A12012-09-19 12:20:04.000100
A12012-09-19 12:31:04.000101
A12012-09-19 12:40:04.000102
A12012-09-19 12:50:04.000103

- To link this two tables I've taken another table i.e

T3:

NameCustomer
A1A
B1B
C1C
D1D

- Now there is a link between all the tables. Now I'll take line chart with dimension with Interval and Value as expression.

- If i select A from Customer listbox i need to see the Value which are existing for this Customer and also the range which is existing for this customer from the first table.

For eg:

A customer has the start and end  time in T1 table is 2012-09-19 10:16:04.000 to 2012-09-18 11:00:00.0000000. So I need to see in the line chart only this range.

But If you see the range is existing for this A customer is 2012-09-19 10:16:04.000 to 2012-09-18 11:00:00.0000000 and also 2012-09-19 12:20:04.000 to 2012-09-19 12:50:04.000.

I don't want to see in the line chart the second range which is existing for this Customer.

For your reference I'm attaching sample file along with data.

1 Reply
jagannalla
Partner - Specialist III
Partner - Specialist III
Author

Sorry the above file is wrong data. Plz see lates file.