Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
eronevil
Creator
Creator

Adding zeros to days where no value but month filter stops working?

Hello,

 

i know that adding + SUM({1}0) to expression places zeros to null values but after that month filter doesnt filter anymore?

I have selected spesific area that i cant show. But i seleted 1.1.2018 (yearmonth) but bar chart shows 0 values to 1.2.2018 and more.

eronevil_0-1666341026865.png

 

-Ville

 

 

Labels (7)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

instead of ignoring ALL filters you might want to specify exactly which filters you want to ignore as below

SUM({DATEfield=,SomeOtherfield=}0)    <<--- this will ignore specific fields

 

Counter to this is you can specify which filters to apply

sum({1<Month=p(Month),SomeOtherfield=p(SomeOtherfield)>}0) << this will ignore all filters except the ones listed

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

4 Replies
vinieme12
Champion III
Champion III

instead of ignoring ALL filters you might want to specify exactly which filters you want to ignore as below

SUM({DATEfield=,SomeOtherfield=}0)    <<--- this will ignore specific fields

 

Counter to this is you can specify which filters to apply

sum({1<Month=p(Month),SomeOtherfield=p(SomeOtherfield)>}0) << this will ignore all filters except the ones listed

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
eronevil
Creator
Creator
Author

You must be qlik god or something like that!

 

Thanks man!

vinieme12
Champion III
Champion III

😂 thanks for the compliment but I'm not even close

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
eronevil
Creator
Creator
Author

I have one question.

If i have filtered data with days 1.1-7.1 i should have values in those days. But some reason get values only those days where i have data. Day 4.1 is missing from left table but is in middle table. 

Name of tables are Sum functions what i used.

eronevil_0-1666699168370.png

How it is possible to get selection what is like this 

eronevil_1-1666699357091.png