Skip to main content
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

18 Replies
Not applicable
Author

It's a simple count(KPI_1) which has three possible values: YES, NO, Blank.

Expressions.jpg

I need only count(YES, NO)

Thanks

javier_florian
Creator III
Creator III

Hi Nancy,

Edit your group, and change your dimension to:

=If(Not IsNull(Accomplishment),Accomplishment)

-JFlorian

javier_florian
Creator III
Creator III

In relation with

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

Value is your metric KPI_1

-JFlorian

jerem1234
Specialist II
Specialist II

Try:

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

Hope this helps!

jaimeaguilar
Partner - Specialist II
Partner - Specialist II

Hi, I put "value" as a field, because I didn't know what is your expression, just replace the word value with the name of the field you're using.

I guess that your expression is something like count(distinct KPI_1), am I right?

regards

Not applicable
Author

Thank you!!!

Not applicable
Author

Thanks Jaime,

I did it with:

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

See you

rogerioqv
Creator II
Creator II

Nancy,

Probablemente hay un nulo dado en su tabla. Tenemos que eliminar los datos de su dimensión. Hacer ver si los datos es nulo o no en su dimensión.

Saludos.

Not applicable
Author

Muchas gracias Rogério, ya resolví el problema.

Saludos

Nancy