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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Limiting Data in a Pivot Chart

I have a chart that calculates how many weeks of supply are on hand for all products. I need the pivot to only show those products where the weeks supply is less than 2 weeks but I can't seem to figure out how to do this. Please see the attached screen shot of the chart.

1 Solution

Accepted Solutions
Not applicable
Author

What you could do is add some logic to your expressions to set them to Null if the supply is greater than 2 weeks. If every expression is Null for a specific record, it will not appear on the chart (if you set hide Null values).

Expression: If("Wk Supply" < 2, Current Expression, Null)

If you set up all the expressions like that, the only records that will appear are the ones with a supply less than 2.

View solution in original post

2 Replies
Not applicable
Author

What you could do is add some logic to your expressions to set them to Null if the supply is greater than 2 weeks. If every expression is Null for a specific record, it will not appear on the chart (if you set hide Null values).

Expression: If("Wk Supply" < 2, Current Expression, Null)

If you set up all the expressions like that, the only records that will appear are the ones with a supply less than 2.

Anonymous
Not applicable
Author

Well that was just too easy. LOL

Thanks!