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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Where Condition

Hi,

How can I write values like 'Amazon's.com' in where condition?

Usually I write the where condition as follows:

where Name='ABC'

Please help.

1 Solution

Accepted Solutions
maxgro
MVP
MVP

t:

load * inline [

str

Virgilio

Google

Yahoo

Amazon's.com

];

set v='Amazon' & chr(39) & 's.com';

v:

NoConcatenate load str, str as str2 Resident t

where str = $(v);


1.jpg

View solution in original post

3 Replies
robert_mika
Master III
Master III

Like this?

LOAD

SaelsOrder_ID,

SalesOrder_BP,

SalesOrder_Text,

mapsubstring('map1',SalesOrder_Text) as Changed

FROM

[152744.xlsx]

(ooxml, embedded labels, table is Sheet1)

where SaelsOrder_ID= 'Amazon.com'

maxgro
MVP
MVP

t:

load * inline [

str

Virgilio

Google

Yahoo

Amazon's.com

];

set v='Amazon' & chr(39) & 's.com';

v:

NoConcatenate load str, str as str2 Resident t

where str = $(v);


1.jpg

Not applicable
Author

Thanks , this works