Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date Range Selection

Hello Community,

I have this Date Range Table:

startdateenddate
06/02/201206/11/2012
06/12/201206/21/2012
06/22/201207/01/2012
07/02/201207/11/2012
07/12/201207/21/2012
07/22/201207/31/2012
08/01/201208/10/2012
08/11/201208/20/2012
08/21/201208/30/2012
08/31/201209/09/2012
09/10/201209/19/2012
09/20/201209/30/2012

I have two other fields named ProductDate and ProductID's, I need to find COUNT of ProductID's for ProductDate between startdate and enddate of above table.

startdateenddateProductCount
06/02/201206/11/2012
06/12/201206/21/2012
06/22/201207/01/2012
07/02/201207/11/2012
07/12/201207/21/2012
07/22/201207/31/2012
08/01/201208/10/2012
08/11/201208/20/2012
08/21/201208/30/2012
08/31/201209/09/2012
09/10/201209/19/2012
09/20/201209/30/2012

I have used hardcoded =count({<ProductDate={'>=06/02/2012<=06/11/2012'} >} ProductID) and this gives correct results, I am unable to link this with the above Date Range Table.

Please if anybody could guide me for this.

Thanks,

itsangad

4 Replies
Not applicable
Author

Hello comunity,

I am still waiting for any responses Please share your views on this.

Thanks,

itsangad

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

     Have a look at the below links.

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

     http://community.qlik.com/message/14076#14076

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

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thanks Kaushik,

Would get back after implementing the approaches.

sushil353
Master II
Master II

hi,

you can use intervalmatch function.

Please find attached sample app

HTH

Sushil