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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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 %

Labels (1)
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
MVP
MVP

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
MVP
MVP

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)