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

How to ignore selection in a table

Hi all.

I have the following problem: When I select a year, and some data doesn't exist for this year, how can I show the value 0 instead of the row not be shown? When nothing is selected, and the table is shown as table below:

VariableValues - Sum(Valor)
A100
B200
C0
D30
F0

But if I select something, like year = 2015, since there's no data for row C and F, only the rows A, B and D are shown.

VariableValues - Sum(Valor)
A30
B50
D10
11 Replies
Not applicable
Author

That was exactly what I needed. Thank you Jonathan Poole.

Thanks to everybody that tried to help me. This code has worked, now I will just study it a little so I can understand it.

See you around

davdiste
Partner - Creator
Partner - Creator

Hi,

I had a similar problem with the necessity to show the name of a a dimension in a simple table also if the expression's values are 0, that I resolved with a trick.

In the table I've defined an expression that is always true, than in the presentation tab I've hide it.

Now Work!!! resolved_static dimension.tif