
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not equal to
Hi,
I need to see the all values of Summary_Status except Cancelled and Rejected.
Please help me to understand why this line of code doesn't work for me:
=if(Summary_Status <> 'Cancelled' or Summary_Status <> 'Rejected', Summary_Status)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=if(Not wildmatch(Summary_Status,'Cancelled','Rejected'), Summary_Status)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you said ... except Cancelled and Rejected
=if(Summary_Status <> 'Cancelled' and Summary_Status <> 'Rejected', Summary_Status)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try,
count({<Summary_Status-={'Cancelled','Rejected'}>}Summary_Status)
Regards,
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
instant of your if expression used below expression
=if(wildmatch(Summary_Status,'*Cancelled*','*Rejected*')=0, Summary_Status)
Because sometime space remains with your string value so, first you have to trim your sting or remove space like below:
=if(trim(Summary_Status) <> 'Cancelled' or Trim(Summary_Status)<> 'Rejected', Summary_Status)
I hope this will help you.
Regards
Ahmar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try this:
If(Not(Match(Summary_Status,'Cancelled','Rejected')),Summary_Status)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=sum({$<Summary_Status-={'Cancelled','Rejected'}>}Sales)
=sum({$<Summary_Status-={'Cancelled','Rejected'}>}Field)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check this:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=if(Not wildmatch(Summary_Status,'Cancelled','Rejected'), Summary_Status)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=if(Not wildmatch(Summary_Status,'Cancelled','Rejected'), Summary_Status)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not equal to operator is not working as expected . Any help?
$value <>'26' AND $value <>'32'
