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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Hide a dimension (Null Values)

Hi All,

I have a table I need to hide some dimensions.


Dimensions - Product
                    - Supplier

Expression - Total Spend

(Current Pivot table in my presentation)

Product (selections)Supplier 1Supplier 2
1$10$20
2$10N/A
Total$20$20

So in this scenario - Supplier 2 is not manufacturing BOTH products, hence I wish for them to be suppressed completely. How do I accomplish this???

Labels (1)
9 Replies
sunny_talwar
MVP
MVP

May be like this

Sum({<Supplier = {"=Count(Product) = Count(TOTAL Product)"}>}Spend)

Anonymous
Not applicable
Author

I put that in the expressions? Okay...will try

YoussefBelloum
Champion
Champion

EDITED

or this:

Sum({<Supplier = {"=Sum(Spend)>0"}>}Spend)

sunny_talwar
MVP
MVP

This will not remove Supplier 2

Anonymous
Not applicable
Author

Sunny quick question - and if I want to hit the set expression for the selections of Product (as stated in my table), I put in $ in the statement right?

so like this?

Sum({$<Supplier = {"=Count(Product) = Count(TOTAL Product)"}>}Spend)

sunny_talwar
MVP
MVP

Unless you have alternate state in your app (specifically on this tab/chart), you don't really need $ because $ and not having anything is equivalent to each other. Things start to get complicated when you introduce alternate state into the picture

Anonymous
Not applicable
Author

sorry I am not following what you mean by alternate state.

shiveshsingh
Master
Master

sunny_talwar
MVP
MVP