Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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???

9 Replies
sunny_talwar

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

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

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