Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

tenyeapen
New Contributor

Bar Chart - Null Feilds

In a bar chart i have to select data from 2 feilds namely year and month. but if i select year 2019 and month december (this search doesnt have any value), the chart will show the value for all decmeber cases in theprevious months. How to avoid this?

7 Replies
MVP
MVP

Re: Bar Chart - Null Feilds

Could you share your sample app that demonstrates the issue/behavior?
gn_marvs1989
New Contributor III

Re: Bar Chart - Null Feilds

On the Dimension property of your Bar chart, Check on the "Show all value"

2019-02-12_8-16-30.png

Highlighted
tenyeapen
New Contributor

Re: Bar Chart - Null Feilds

Below is my chart and when im selecting year 2019 and month December (which no data is there) instead of giving null chart its giving the values for previous years December values which I don't want.


[cid:image001.png@01D4C2D2.D9ED3830]
tenyeapen
New Contributor

Re: Bar Chart - Null Feilds

Attached is my chart and when im selecting year 2019 and month December (which no data is there) instead of giving null chart its giving the values for previous years December values which I don’t want.

 

 

 

gn_marvs1989
New Contributor III

Re: Bar Chart - Null Feilds

It is better if you can give us a QVW to check. I am suspecting that it there should be change in the expression.
tenyeapen
New Contributor

Re: Bar Chart - Null Feilds

.qvw file attached.

gn_marvs1989
New Contributor III

Re: Bar Chart - Null Feilds

It is because of Qlikview Associative selection. It is normal behavior. Notice the current selection, if you make a selection on Month= December and then select Year=2019, the Month selection will be cleared out.
I suggest you to use a Master Calendar table to have complete Year and Month. This will make you select both Month and Year without clearing each other selections.