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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load values by a criteria

Hi,

I'm new on using QlikView, please can you help me with some suggestions...I want to load sales values only for CUST_NAME - ABCD and YYYYY.

Thank you

Sales:
CUST_IDSales
111100
222200
333300
333500
Customer:
CUST_IDCUST_NAME
111MMMM
222YYYYY
333ABCD

LOAD CUST_ID,
Sales
FROM
...\Sales.xlsx
(
ooxml, embedded labels, table is Sheet1);

LOAD CUST_ID,
CUST_NAME
FROM
.....Customer.xlsx
(
ooxml, embedded labels, table is Sheet1);

   

1 Solution

Accepted Solutions
sunny_talwar

You can do something like this:

Table1:

LOAD CUST_ID,

          Sales

FROM Sales.xlsx

(ooxml, embedded labels, table is Sheet1);

Table2:

Right Keep (Table1)

LOAD CUST_ID,

          CUST_NAME

FROM Customer.xlsx

(ooxml, embedded labels, table is Sheet1)

Where Match(CUST_NAME, 'YYYYY', 'ABCD');

View solution in original post

6 Replies
sunny_talwar

You can do something like this:

Table1:

LOAD CUST_ID,

          Sales

FROM Sales.xlsx

(ooxml, embedded labels, table is Sheet1);

Table2:

Right Keep (Table1)

LOAD CUST_ID,

          CUST_NAME

FROM Customer.xlsx

(ooxml, embedded labels, table is Sheet1)

Where Match(CUST_NAME, 'YYYYY', 'ABCD');

awhitfield
Partner - Champion
Partner - Champion

HI Agata,

you can try this out

LOAD CUST_ID,
CUST_NAME
FROM

(ooxml, embedded labels, table is Sheet2)
WHERE(CUST_NAME = 'YYYYY' OR CUST_NAME = 'ABCD');

regards

Andy

Not applicable
Author

Thank you, It works perfectly.

sunny_talwar

Awesome! I am glad it worked.

Best,

Sunny

vvvvvvizard
Partner - Specialist
Partner - Specialist

WHERE(Upper(CUST_NAME) = 'YYYYY' OR Upper(CUST_NAME) = 'ABCD');

Anonymous
Not applicable
Author

Now it's a good time to mark Sunny's response as "Correct"