Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Hide Names in Bar Chart

Hi All

I am trying to hide Fields in Barchart

Eg

Dimensions are: Department

Sales

Ops

Management

Unknown

How can i hide Unknown?

I am doing a stacked Bar Chart in %

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

If 'Unknown' in your department as a string, then use calculated dimesnion like this?

Replace Department with =if(Department<>'Unknown', Department)

View solution in original post

6 Replies
Anonymous
Not applicable
Author

If 'Unknown' in your department as a string, then use calculated dimesnion like this?

Replace Department with =if(Department<>'Unknown', Department)

sunny_talwar

You can also use Set analysis in your expression to hide UNKNOWN:

Lets say your expression is Sum(Sales), you can change it to Sum({<Department - ={'Unknown'}>}Sales)

Anonymous
Not applicable
Author

Also dont forget to tick suppress with null vlaues

amit_saini
Master III
Master III

Hi Adil,

Front end:

if(Department<>'Unknown', Department)

Script side :

Load ----

-----

From

where Department<>'Unknown';

Thanks,

AS

Anonymous
Not applicable
Author

Thanks All for help!

Managed to fix this

LOVE QLIKVIEW!!!

sunny_talwar

For a better performance, if you have a lot of data (and not too many expressions), to use set analysis over calculated dimension. (Calculated Dimension and conditional dimension --&gt; bad performance)