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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Where statement

I am trying to use a where statement that will only pull in comments with this exact spelling someplace in the comment.

Below is how the statement looks.

The following changes were made:

    Room from '207' to '203'

    PatStatus from 'I' to 'A'

    StatusNameCd from 'INACTV' to 'ACTIVE'

I know I need how to us the below to only load with the data below.

'INACTV' to 'ACTIVE'

Where "Comment" = *'INACTV' to 'ACTIVE'*;

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

You are using this in SQL.... try this

Where Msg Like '%INACTV% to %ACTIVE%';

View solution in original post

5 Replies
swuehl
Champion III
Champion III

Have a look at

Escape sequences

Not applicable
Author

I cant use the fixed character.  Room numbers are variable fields.

I also tried 

Where "Comment" = '*INACTV? to ?ACTIVE*';

sunny_talwar
MVP
MVP

May be with WildMatch

Where WildMatch("Comment", '*INACTV? to ?ACTIVE*');

Not applicable
Author

sunny_talwar
MVP
MVP

You are using this in SQL.... try this

Where Msg Like '%INACTV% to %ACTIVE%';