Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
konHi
Partner - Contributor III
Partner - Contributor III

Search in Listbox exclude values starting 999 but include NULLs

Hi,

i have the following problem.

I have a table containing contracts: "CONTRACTS", a table "PERSON" is connected through ID_P.

CONTRACT: 

ID_VID_PPRODUCTVALUE
1P1PRODUCT 1100
2P1PRODUCT 2200
3P2PRODUCT 3300
4P2PRODUCT 4400
5P4PRODUCT 5350
6PRODUCT_ALL500

PERSON:

ID_PNAMEPERSGROUP
P1PERSON 1111
P2PERSON 2111
P3PERSON 3222
P4PERSON 4999

As a result i have 1 contract (ID_V = 6) with no PERSON.

Now I want to receive all Contracts with Persons without 999 but included NULL.

I tried to search in PERSGROUP for -999 but NULL disappears.

I receive the right amount if I search in ID_V for "=COUNT(IF(PERSGROUP <> '999',ID_V))". In my opinion: "no business user will be able to create this kind of search filter".

I could also add "null"-PERSON to PERSON Table and x-more tables with possible "null"-Dimensions. But is there a more user friendly and less data modell change demanding solution? Search in PERSGROUP like "(-999|ISNULL) or something like that?

I really appreciate your answer.

Konstantin

0 Replies