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: 
Not applicable

Exclude blanks in pie chart

Hi again,

I have the following pie chart which includes values YES, NO and "blank".

pie.jpg

I need that the chart takes only values Yes and No and it exclude the "blank" values.

How I can do that?

Thanks in advance

1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

Try:

count({<KPI_1 = {'=len(trim(KPI_1))>0'}>}KPI_1)

Hope this helps!

View solution in original post

18 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Right click on chart properties--> dimension tab --> Select your dimension

and click on suppress null values.

Regards

ASHFAQ

jerem1234
Specialist II
Specialist II

Use set analysis in your expression like:

{<Accomplishment = {'=len(trim(Accomplishment))>0'}>}

Hope this helps!

jaimeaguilar
Partner - Specialist II
Partner - Specialist II

Hi,

try one of these options in set analysis:

Count({$<Accomplishment-={''}>}value)

Count({$<Accomplishment-={'$(=chr(32))'}>}value) //space with ascii code

Count({$<Accomplishment-={'$(=chr(0))'}>}value) //blank character with ascii code

hope that helps

regards

Not applicable
Author

Already tried this, but didn't work.

Thanks anyway

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you post your expression here.

Regards

ASHFAQ

Not applicable
Author

Hi,

Chart Properties.jpg

Thanks

Not applicable
Author

Hi Jaime,

I tried all three alternatives and Qv does not recognize "value"

Please, can you help me more?

Thanks!

Not applicable
Author

Hi,

What is "Set Analysis"?

jerem1234
Specialist II
Specialist II

It can help reduce things in your sets of values for the expression you use, to put it simply.

What is the expression you are using in your chart?

On the tab called Expressions?