Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
micheledenardi
Specialist II
Specialist II

Hide zeros columns on Combo Chart

I have a combo chart where the value of one measure is null for some years, while the other measure is not null (see 2018 and 2019 below).

2020-03-04 10_04_03-Example - My new sheet _ Sheets - Qlik Sense.png

Is there a trick to  hide zeros columns (space highlighted in yellow)  on combo chart ? 

The flag "Include zero values" is already removed but nothing change...  

Attached you can find also the source qvf

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Labels (1)
10 Replies
sumanta1234
Partner - Creator
Partner - Creator

Hi,

Please look into the below link:

https://www.youtube.com/watch?v=ARTnBy5vc6g

micheledenardi
Specialist II
Specialist II
Author

Sumanta1234, your solution doesn't met my request.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Qlik1_User1
Specialist
Specialist

You can use a Stacked bar chart for this..as you are not showing lines with bar that usually combo chart have.

micheledenardi
Specialist II
Specialist II
Author

For my purpose I need to use Non-Stacked combo chart

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Qlik1_User1
Specialist
Specialist

try like if(SUM(measure)>0,SUM(measure))

micheledenardi
Specialist II
Specialist II
Author

This last solution quite works because now zeros value are hidden but the empty space of the column remains so i cannot save space on my chart

 

2020-03-04 12_00_43-Example - My new sheet _ Sheets - Qlik Sense.png

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Qlik1_User1
Specialist
Specialist

In dimension uncheck "Include null values"..

micheledenardi
Specialist II
Specialist II
Author

Already did, the space remains

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Qlik1_User1
Specialist
Specialist

It seems space will remain as is because for that measure value is coming but as null.. so Qlik have calculated the space for all four measure in chart and distributed accordingly..