Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
srinivas91k
Contributor
Contributor

How to hide the null values dimension from table box.

Hi, Can anyone help to hide a dimension if all the fields values have nulls...

For Example:

------------------------------

Based on the product _group selection, promotion_code is not available.

Promotion_code:

-------------------------

NULL

NULL

NULL

So,  I want to hide this dimension in my table box , If selected product_group having the promotion_code values Then only it should be visible.

 

Thanks In Advance....

1 Reply
Brett_Bleess
Former Employee
Former Employee

I do not see anything in the Help related to the object that would allow for this, only at row level:

https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Table_Box.htm

In order to remove dimension, that would likely take a macro of some sort, but that is going to have a lot of implications on performance etc., so I would not recommend it, would likely consider trying to handle things in the scrip via a flag of some sort to see if that might work.  

You can look around the Design Blog area to see if you can find something there that may give you some ideas if you have not found anything in prior Community posts:

https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog

The only other area where there might be something would be the following:

https://community.qlik.com/t5/QlikView-Documents/tkb-p/qlikview-documents

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.