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

I want to where data

Header 1Header 2Header 3
PriceRef.1

Ref.2

500Oil-
900WAG2
700WAG-
800WAG3
799WAG-

where ref.1 not Oil and where ref.1 WAG not 2,3

EX.

Header 1Header 2Header 3
PriceRef.1Ref.2
700WAG-
900--
10 Replies
alexpanjhc
Specialist
Specialist

Why 900 is there instead 799?

Ricardo_Gerhard
Employee
Employee

The correct answer should b:

Header 1Header 2Header 3
PriceRef.1Ref.2
700WAG-
799WAG-

Could you explain where do you want? Loading statement or graph?

Ricardo Gerhard
OEM Solution Architect
LATAM
Anonymous
Not applicable
Author

Sorry i write wrong


EX. 700 and 799

Anonymous
Not applicable
Author

Yes, you are correct.

I want to load data

Anonymous
Not applicable
Author

hi, try this

TABLE:

LOAD Price,

     Ref.1,

     Ref.2

FROM

[data.xlsx]

(ooxml, embedded labels, header is 1 lines, table is Sheet1)where Ref.1='WAG' AND not Match(Ref.2,2,3);

Anonymous
Not applicable
Author

Hi,

Try this.

Capture.PNG

Anonymous
Not applicable
Author

I load data from SQL but I want to load some data  and I have Problem following


FROM "MIS_DataLake_UAT".dbo."SAP_COST"

where "S_ACCOUNT" = ('68001000','52001500','68119000','68002000'),

where "S_SESSION_NAME" <> ('ARF0214DMSAR','ARF0114DMSAR','APF0214DMSAP','APF0114DMSAP','APF0114ADVAP','APF0114AD2AP'),

where "S_REF_KEY_1" <> ('OIL'),

where "S_REF_KEY_1" = 'WAG' and "S_REF_KEY_2" <> (2,3);

Capture.JPG

Problem

Capture.JPG

Anonymous
Not applicable
Author

I load data from SQL but I want to load some data  and I have Problem following


FROM "MIS_DataLake_UAT".dbo."SAP_COST"

where "S_ACCOUNT" = ('68001000','52001500','68119000','68002000'),

where "S_SESSION_NAME" <> ('ARF0214DMSAR','ARF0114DMSAR','APF0214DMSAP','APF0114DMSAP','APF0114ADVAP','APF0114AD2AP'),

where "S_REF_KEY_1" <> ('OIL'),

where "S_REF_KEY_1" = 'WAG' and "S_REF_KEY_2" <> (2,3);

Problem

incorect syntax near ','.

Anonymous
Not applicable
Author

I load data from SQL but I want to load some data  and I have Problem following


FROM "MIS_DataLake_UAT".dbo."SAP_COST"

where "S_ACCOUNT" = ('68001000','52001500','68119000','68002000'),

where "S_SESSION_NAME" <> ('ARF0214DMSAR','ARF0114DMSAR','APF0214DMSAP','APF0114DMSAP','APF0114ADVAP','APF0114AD2AP'),

where "S_REF_KEY_1" <> ('OIL'),

where "S_REF_KEY_1" = 'WAG' and "S_REF_KEY_2" <> (2,3);

Problem

incorect syntax near ','.