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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide column if null

Hi, I want to hide a column if there is no values in it based on a condition. My chart looks like:

Question1Question2Question3Question4
23-5
37-1

Based on selected date there is no answers for Question3, and I then want to hide it so it looks like

Question1Question2Question4
235
371

But if I choose a date where Quesion3 have values I want it to be shown again.

Is that possible with a condition?

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Hi Niklas,

You can use conditional enable option for your expressions like below.

Capture.PNG

FYI, You can also conditionally show any dimensions like below.

Capture.PNG

Check the attachment and let me know.

View solution in original post

6 Replies
Not applicable
Author

I change me to this layout, might be easier:

MonthQuestion1Question2Question3Question4
Jan31-4
Feb45-3
Total:76-7

So if "Total:" for Question is - (null) the column will be hidden to:

MonthQuestion1Question2Question4
Jan314
Feb453
Total:767

Possible?

tamilarasu
Champion
Champion

Hi Niklas,

You can use conditional enable option for your expressions like below.

Capture.PNG

FYI, You can also conditionally show any dimensions like below.

Capture.PNG

Check the attachment and let me know.

sasikanth
Master
Master

HI,

If you go for Straight table there is an option conditional to show / hide Exp  ,

see below image

qv-190400.png

Not applicable
Author

Thanks, works flawless

himanshi
Contributor III
Contributor III

hiii,

  there is an option in chart properties' dimension tab if you want a dimension to suppress null values you can check the option of suppress when value is null.

regards,

Himanshi

sujit_nath
Creator III
Creator III

Does not work for me.. Is it not possible to achieve this if we have calculated label and calculated definition for the expression.

https://community.qlik.com/t5/QlikView-Layout-Visualizations/Hide-columns-in-pivot-table/m-p/1655165...