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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is there a way to set a selection within a chart?

I need a chart that shows ONLY STEELS, which is one of the 2 choices for Metal Category. I have tried this:

If(([Metal Category] = 'STEEL') OR (AlloyFamily <> 'OTHER'), AlloyFamily, ' ')

but ALL the AlloyFamily members still show up, including OTHER. If I do a list box for Metal Category and select STEEL, I get what I am looking for but it affects the entire tab and NOT just the chart I want it to. Any ideas?

1 Solution

Accepted Solutions
sunny_talwar

Try it using set analysis:

Lets say your current expression is Sum(Sales) -> Change it to Sum({<[Metal Category] = {'STEEL'}>}Sales)

View solution in original post

3 Replies
sunny_talwar

Try it using set analysis:

Lets say your current expression is Sum(Sales) -> Change it to Sum({<[Metal Category] = {'STEEL'}>}Sales)

Colin-Albert
Partner - Champion
Partner - Champion

Set analysis is one way as suggested by Sunny.

Another option is to use Alternate States so the Metal Category can be selected for objects defined to use that state.

Not applicable
Author

Set Analyst worked great. Thank you.