Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Rothschild
Contributor II
Contributor II

Show excluded value in line chart dim

Hi,

I created  a line chart with field 'Year' in Dimension, and Sum(Sales) as Experssion.

I want to see also exscluded years with zero value in Experssion.

How can I do that?

Thanks!!

image001.png

 I want to see 2014 also.

1 Solution

Accepted Solutions
rushikale0106
Contributor III
Contributor III

Hi @Rothschild ,

Yes. I guess I understand your question. You don't have any value with 2014 field.

Try to use this equation with your dimension where the no value is available as Null.

=if(isnull(column_name), '0', column_name_or_anything_you_want_to_display) 

This might solve your problem. Let me know if it's still not working.

 

Regards,

Rushika

View solution in original post

3 Replies
rushikale0106
Contributor III
Contributor III

Hello @Rothschild ,

To solve your query, go to Chart properties of your Line Chart.

There go to the Dimensions tab and Uncheck the "Suppress When Value Is Null" option. Also, recheck on the Presentation tab for Suppress Zero-Values.

This must solve your query. Let me know if you face anything else with this.

 

Regards,

Rushika

Rothschild
Contributor II
Contributor II
Author

Hi @rushikale0106 ,

Thank you for responding, but uncheck suppress null connot help here.

My main key in the QV model is Entity&YYYYMM.

I don't have record with 2014MM with null fields - I don't have a record to this entity  in 2014 at all.

Do you undrstand the differance?

rushikale0106
Contributor III
Contributor III

Hi @Rothschild ,

Yes. I guess I understand your question. You don't have any value with 2014 field.

Try to use this equation with your dimension where the no value is available as Null.

=if(isnull(column_name), '0', column_name_or_anything_you_want_to_display) 

This might solve your problem. Let me know if it's still not working.

 

Regards,

Rushika