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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
tahirhasanjafri
Contributor II
Contributor II

How to make null values in a table chart selectable?

Hi guys,

I have a table chart and there's a categorical column in it which also shows null values when Qlik can't find the relation. The null values don't really exist in the original table. They only exist because of the association between two tables. I want the null values also selectable so I want to put aliases in the place of those null values but can't figure how.

Currently, I have tried this in the specific dimension without success:

if(isnull(['mycolumn']), 'null entry', ['mycolumn'])

Can someone suggest any alternate method?

Labels (2)
2 Replies
MatheusC
Specialist II
Specialist II

@tahirhasanjafri  And if you leave it as a calculated dimension in a filter for these nulls, like:

=if(isnull([mycolumn]),'[mycolumn] = null')

Att, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
howdash
Creator II
Creator II

If I understood you correctly, I would recommend creating a column in a table, in the data model, that could be used to select values that are available in one table but don't have associated records in another. Something like this:

Table 1:

Key FieldData FieldIs Available in Other Table
1Data 1Yes
2Data 2Yes
3Data 3Yes
4Data 4No
5Data 5No

 

Other Table:

Key FieldOther Data
1Other Data 1
2Other Data 2
3Other Data 3

 

This way, you will be able to use the "Is Available in Other Table" field to select any records, the ones that have a value of No, that are available in Table 1, but are missing associated records in Other Table.