Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do you make bars show up even for null values?

So I have a bar chart with two expressions. I want both expressions to show up in the legend even if one of them is always null. Originally I was doing this: If(IsNull(Value), 0, Value) as the expression and it worked, but now it doesn't seem to be working.

I unchecked the Suppress Missing and Suppress Zero options.

Anyone have any ideas?

1 Solution

Accepted Solutions
Not applicable
Author

try using expression like: sum({<set>}sales) - sum({<set>}0)

View solution in original post

3 Replies
Not applicable
Author

try using expression like: sum({<set>}sales) - sum({<set>}0)

Gysbert_Wassenaar

If the dimension contains numeric values you can set the dimension axis to Continuous on the Axis tab.


talk is cheap, supply exceeds demand
Not applicable
Author

That worked! Thank you so much!