Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ingoniclas
Creator II
Creator II

Using Wildcard filtering Dimension values in pivot table

I want to have fields to be displayed in a pivot table only if certain contitions are met. For example, I only want [field] to be displayed if a user selects a value that contains 'K10'. Therefore, I went to Chart Properties -> Dimensions -> Enable Conditional, and I typed in:

[field] = 'K10*'

But this does not work. It works w/o he asterik, but I want to filter for any vaule containing K10. Does * not work as a wildcard here?

1 Solution

Accepted Solutions
Mark_Little
Luminary
Luminary

Hi,

Maybe GetFieldSelections([ACA vendor_id]) like K10* ?

Mark

View solution in original post

14 Replies
sinanozdemir
Specialist III
Specialist III

In your expression, you can use '*':

Sum({<[field] = {'K10*'}>}Your_Value)

swuehl
MVP
MVP

Maybe

=Only([field]) LIKE '*K10*'

ingoniclas
Creator II
Creator II
Author

Thanks, but this is not what I had in mind. I virtually want a dimension to vanish from the pivot table unless a value including K10 is selected.

ingoniclas
Creator II
Creator II
Author

Thanks, but this doesn't work either when I type this in the Enable Conditional textbox.

swuehl
MVP
MVP

Seems to work for me. You are selecting a single value, right? Or multiple values?

Can you upload a small sample QVW?

settu_periasamy
Master III
Master III

May be like this

Wildmatch(concat (distinct Field,'|'),*K10*')

ingoniclas
Creator II
Creator II
Author

Multiple values!

ingoniclas
Creator II
Creator II
Author

Your formula works for me too when I select only ONE value that includes K10, but I need a solution that works in case I select multiple values including K10. Any ideas?

Mark_Little
Luminary
Luminary

Hi,

Maybe GetFieldSelections([ACA vendor_id]) like K10* ?

Mark