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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
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

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

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

View solution in original post

5 Replies
swuehl
MVP
MVP

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

May be with WildMatch

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

Not applicable
Author

sunny_talwar

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

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