Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exclude records with 'CLOSED' in text

Hi

I need to exclude all account names with 'CLOSED' typed into the account descripion. I cannot find the function to exclude e.g. NOT LIKE equivalent.

Will appreciate a tip or 2.

Regards

9 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Use either:

where not wildmatch(account, '*CLOSED*')

or

account NOT LIKE '*CLOSED*'

-ROb

Not applicable
Author

load

[account names]

from tabletest

where not wildmatch([account names], '*CLOSED*')

Gysbert_Wassenaar

And if you need a case-sensitive match try where substringcount(account, 'CLOSED')=0


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you

Not applicable
Author

Thank you

On Mon, May 13, 2013 at 3:00 PM, Gysbert Wassenaar <qcwebmaster@qlik.com

Not applicable
Author

Hi Rob

I'm trying to select specific suppliers to list in pivot table.

Chart Properties >> Dimensions >> Used Dimensions = Supplier Name >> Enable Conditional Yes >>

Condition =

supplier_addr02 like '*NAMIBIA*'OR

supplier_addr02 like '*WINDHOEK*

Result - does not list any. Do I have to include the "display supplier name" somehow?

I'll appreciate assistance.

Gysbert_Wassenaar

The conditional display option for dimensions will show/hide the entire dimension. It does not filter dimension values. You can filter field values in a listbox by clicking on the magnifying glass icon and entering a search string. See the example below which filters Product where the name contains 'pp' or 'an'

comm81950.png

For your supplier_addr02 field you can try (*NAMIBIA*|*WINDHOEK*)


talk is cheap, supply exceeds demand
Not applicable
Author

Let me re-phrase my question.

If I want to sort supplier names based on a specific selection for a pivot table output ....

1. Can I somehow create the selection in the current sheet; or

2. Do I have to sort outside Qlikview and import to work from?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can create a calculated dimension that will filter values like:

if(wildmatch(supplier_addr02, '*NAMIBIA*', '*WINDHOEK*'), supplier_addr02)

-Rob