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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Eliminate

I would like to eliminate a specific article in a diagram. What should i write in the scrift to do that?

I know how to do if I only want to show some specifik articles, then I can write for example: Article WHERE Article= 'frakt'. Then I only show the article of frakt. But now I want to eliminate 'frakt*, how do I do that??

New here on this sight...

Labels (1)
4 Replies
rbecher
Partner - Master III
Partner - Master III

Hi Jessica,

you can use a WHERE clause on your SELECT like this:

WHERE article NOT LIKE 'frakt%'

or is this is not working

WHERE substr(article, 1, 5) <> 'frakt'

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

Hello Jessica,

You could use Set Analysis for this purpose. If you write something like

sum( { $ - <Article = {'frakt'} > } Sales )


as your diagram formula and exclude null values, the article 'frakt' will not show up in the chart.

Hope this helps,

Hellmar

Not applicable
Author

Hello Jessica,

You could use Set Analysis for this purpose. If you write something like

sum( { $ - <Article = {'frakt'} > } Sales )


as your diagram formula and exclude null values, the article 'frakt' will not show up in the chart.

Hope this helps,

Hellmar

stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi,

If you just want to create a where clause in your script to exclude something then that generally is dependent on your data source.

Something like

WHERE Article NOT LIKE 'frakt%'

or

WHERE Article NOT LIKE 'fract*'

Should work.

If you want to bring all the data into your document and then exclude from a specific chart, you can use Set Analysis.

Stephen