
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Input box
Hi guys,
I have a chart and input box, where I select what I want to excluded from my chart.
For example: if I typed excluded COAT,
then I want to see all results. If I keep empty input box, the chart - no data to display.
What trick should I use to see all results?
Please see my attached file.
- Tags:
- new_to_qlikview
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a new variable like:
Variable1=If(Len('$(ExcludeKeyword)')=0, '','*$(ExcludeKeyword)*')
Then expression: =Count({<[Keyword]=-{'$(Variable1)'}>}Keyword)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a Button
Add Actions as
External >> Set Variable
Variable
ExcludeKeyword
Value
=NULL()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if I understand you can check if there is something to exclude
if(len(trim('$(ExcludeKeyword)'))>0,
Count({<[Keyword]=-{'*$(ExcludeKeyword)*'}>}Keyword),
Count(Keyword)
)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, you have to put a " . " to display all the data in the chart
if see in detail, the "." appears when you have no selections, then you put "coat" and delete de " . "
good luck
Fernando

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Manish,
There is no other way, except of create a button.
Use for example Variable Event triggers like this
=if(len(ExcludeKeyword)=0,Null(),ExcludeKeyword)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a new variable like:
Variable1=If(Len('$(ExcludeKeyword)')=0, '','*$(ExcludeKeyword)*')
Then expression: =Count({<[Keyword]=-{'$(Variable1)'}>}Keyword)
