Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
khasimvali85
Contributor II

Logic Help

Hi Community,

Need for some logical help required on script level.

Requirement:

1) One day (e.g 31 May) Complaint no  search on last 90 days(02 Mar to 30 May) data.

Status: Done through apply map.

2) One Day Filter Data have one Column Region_Name and please check below with Example.

 

One Day Filter Data

Call_id

Region

101

Aisa

102

Europe

103

India

Last 90 Day data

Call_id

Region

101

India

102

Europe

103

Aisa

Output Required:

When I select on One day Data Region:

1) First Selection on One Day Filter Data: Aisa

Output Required: No Result Found.

2) Second Selection on One Day Filter Data: Aisa, Europe

Output Required: 102 Found

3) Third Selection on One Day Filter Data: India

Output Required: No Result Found.

I am post sample data. Call Id Match but Region is change and data should be filtered on basis of Region.

Kindly help on this and how to solve this on script.




Regards,

Khasim

7 Replies
Not applicable

Re: Logic Help

Hi,

make use of key if you want to filter data on bases of region likwe below in both table,

Call_id&'-'&Region as Key

Not applicable

Re: Logic Help

HI

Post your sample qvw to give solution some one .

Regards,

Gireesh.

khasimvali85
Contributor II

Re: Logic Help

Hi Harshal,

Thanks for reply i will give sample data for clarification

Please see the  above attachment

Regards

Khasim.

khasimvali85
Contributor II

Re: Logic Help

Hi Harshal,

For Scanario 2 result set is right because on based upon one day selected filter(validate, call type ) data is not match on 90 days data.

If you have any concern regarding understanding, Please let me know.

If you share ur no. and my no: 8586984189

Regards

Not applicable

Re: Logic Help

Hi,

PFA ,

khasimvali85
Contributor II

Re: Logic Help

Hi,

Please see result set in attached data in excel data.

not right result.

Not applicable

Re: Logic Help

Hi,

Just see i have marked where your validation goes wrong If you want to consider both table data or data for date

( 02 Mar to 30 May2014 & ( 31 May 2014)

PFA,

Community Browser