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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Dimension

HI All ,

In the bar chart Under dimension  from Product Field i want to displace only two products Resistivity and sensitivty

Please let me know if iam using correct formula ?

=if(Match(Product,'Gillet' ,'oldSpice'),Product)

for the above expression iam geting only Gillet but not oldspice.

15 Replies
its_anandrjs
Champion III
Champion III

Try to check the spellings of the Gillet and oldSpice in the field Product or may be you can use if condition as calculated dimension that i suggest or you can use WildMatch also here.


can you provide the list of Product field items for look out.

Regards

Anand

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Sorry missed one quote

=if(wildMatch(Product,'*Gillet*' ,'*oldSpice*'),Product)



Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Chanty4u
MVP
MVP

u just remove as newfield

avinashelite

Try like this

=if(Match(upper(Product),'GILLET' ,'OLDSPICE'),Product)

this should work

Chanty4u
MVP
MVP

try this too

=if ( wildMatch(upper(Product), '*GILLET*') and wildmatch(upper(Product), '*OLDSPICE*' ),'Product')

sasikanth
Master
Master

hi,

If the values are fixed you can try this way


Calculated Dimension:

pick (WildMatch( upper(Product), '*GILLET*', '*OLDSPICE*'),'Gillet', 'oldSpice')


Check the option suppress NULL values