Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan

Load data from QVD with multiple conditions

Dear All,

I have  following 3 tables in qvd

MARS:

Host_Name,

.

.

from Mars.QVD (qvd);

TAMS:

Host_Name,

Product_Type,

...

ApplicationID

from TAMS.QVD (qvd);

SEAL:

Application ID

...

...

From SEAL.QVD (qvd);

I want to join this qvds with condition AppicationID='Operating System'  there are so many conditions like application id.

In this scenario what I have to do ?

Please share idea ?

Thanks in adv.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
1 Solution

Accepted Solutions
PradeepReddy
Specialist II
Specialist II

TAMS:

Host_Name,

Product_Type,

...

ApplicationID

from TAMS.QVD (qvd)

where condition1 and condition2;


Left join(TAMS):

Host_Name,

...

from Mars.QVD (qvd)

where condition3 and condition4;

Left join(TAMS)

SEAL:

Application ID

...

From SEAL.QVD (qvd)

where condition5 and condition6;

Other way is...

during the data extraction from DB only, apply all these filters in SQL query.  Then perform the necessary operation in qlikview.

View solution in original post

7 Replies
_rohitgharat
Creator
Creator

Dear Vikas,

               First of all load all three tables seperately using where condition  (i.e AppicationID='Operating System' ) and then join them. I hope it will work

Regards,

Rohit

kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi Vikas,

See the below example it may help you.

Ex:

SEAL:

Application ID

...

...

From SEAL.QVD (qvd)

where wildmatch(AppicationID,"Operating System","Operating*");

Left Join(SEAL)

TAMS:

Load

AppicationID,

......,

......,

from TAMS.QVD (qvd);



Left Join(SEAL)

MARS:

Host_Name,

.

.

from Mars.QVD (qvd);


PradeepReddy
Specialist II
Specialist II

all conditions in same table or in different tables?

Can you please elaborate the  problem?

vikasmahajan
Author

for each table conditions are different  like  wildmatch(AppicationID,"Operating System","Operating*"); for SEAL.


Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
PradeepReddy
Specialist II
Specialist II

TAMS:

Host_Name,

Product_Type,

...

ApplicationID

from TAMS.QVD (qvd)

where condition1 and condition2;


Left join(TAMS):

Host_Name,

...

from Mars.QVD (qvd)

where condition3 and condition4;

Left join(TAMS)

SEAL:

Application ID

...

From SEAL.QVD (qvd)

where condition5 and condition6;

Other way is...

during the data extraction from DB only, apply all these filters in SQL query.  Then perform the necessary operation in qlikview.

vikasmahajan
Author

thanks i will apply the same

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
Author

it's fixed thanks

vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.