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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

AND selection

Hi experts,

I want to make a selection for a straight table, so that the rows that have two special attributes are not displayed.

For example:

attribute 1 is A or B

attribute 2 is X or Y

I only want to display the rows, where i do not have the combination of A and X.

(show rows with: AY, BX and BY)

example is attached

Thanks in advance and best ragards

Sebastian

1 Solution

Accepted Solutions
sivarajs
Specialist II
Specialist II

write a calculated dimension as

if(Verbrauch&XYZ<>'AX' ,MATNR)

View solution in original post

4 Replies
sivarajs
Specialist II
Specialist II

write a calculated dimension as

if(Verbrauch&XYZ<>'AX' ,MATNR)

er_mohit
Master II
Master II

I have attached example for AND selection

see the attached file

kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi,

Try this one

Ex:

LOAD

* Where Verbrauch&XYZ<>'AX';
LOAD * INLINE [
    MATNR, Verbrauch, XYZ
    403983, A, X
    405016, B, X
    405017, A, Y
    405946, B, X
    406277, A, X
    407673, B, Y
    407674, A, X
    506873, B, X
    506878, A, Y
    506984, B, X
    507020, A, X
    507053, B, Y
    507080, A, X
    507081, B, X
    507083, A, Y
    507084, B, X
]
;

find the attached file.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.


talk is cheap, supply exceeds demand