Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Skip Blank or Null Values in Chart

Hi.


I need to make a chart showing me the % of each letter , however in my BD SQL Server I have records in Blank, so when graphic shows me a column without a title on the chart, and that I need not see, I need skip all blank record of my calculations.


Example:

wre.JPG



I use de cake chart, in the Dimensions i have:


Captura.JPG


and in the expression a use:

122.JPG



Your help please.
Thank you.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Ah, I see what happened. I used the name of your expression label instead of the name of the dimension. Try

=Count({<PREGUNTA615_12={"=Len(Trim(PREGUNTA615_12))>0"}>}PREGUNTA615_12)


talk is cheap, supply exceeds demand

View solution in original post

9 Replies
sunny_talwar

Try this as your calculated dimension:

If(Len(Trim(PREGUNTA615_12)) > 0, PREGUNTA615_12)

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

Check the "Suppress When Value is Null" option in Dimension Tab for PREGUNT625 Dimension.

Gysbert_Wassenaar

Then that blank value is probably a space or an empty string. You can try something like =Count({<Segmento={"=Len(Trim(Segmento))>0"}>}PREGUNTA612_12) to hide that value.


talk is cheap, supply exceeds demand
Not applicable
Author

It does not work , I remain exactly the same, only me ordered from oldest to youngest .


Not applicable
Author

I have that option enabled and it does not work .
Thank you

Not applicable
Author

is correct, the value I have in my BD is an empty string .

Try to apply your code in Expression But I did not work or I'm misapplying .


10.JPG


Thank you

Gysbert_Wassenaar

Ah, I see what happened. I used the name of your expression label instead of the name of the dimension. Try

=Count({<PREGUNTA615_12={"=Len(Trim(PREGUNTA615_12))>0"}>}PREGUNTA615_12)


talk is cheap, supply exceeds demand
sunny_talwar

Would you be able to share a sample to show the issue?

Not applicable
Author

thanks gwassenaarI Apply Your Solution and run!