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: 
microwin88x
Creator III
Creator III

Solved

Solved

1 Solution

Accepted Solutions
sunny_talwar

Try this:

Table:

LOAD ID,

    ATRIB

FROM

[https://community.qlik.com/thread/216855]

(html, codepage is 1252, embedded labels, table is @1)

Where Len(Trim(ID)) > 0;

ResultTable:

LOAD ID,

  If(WildMatch(Concat('|' & ATRIB & '|'), '*|55|*', '*|57|*'), 'Fail', 'OK') as Result

Resident Table

Group By ID;

View solution in original post

2 Replies
sunny_talwar

Try this:

Table:

LOAD ID,

    ATRIB

FROM

[https://community.qlik.com/thread/216855]

(html, codepage is 1252, embedded labels, table is @1)

Where Len(Trim(ID)) > 0;

ResultTable:

LOAD ID,

  If(WildMatch(Concat('|' & ATRIB & '|'), '*|55|*', '*|57|*'), 'Fail', 'OK') as Result

Resident Table

Group By ID;

MarcoWedel

Hi,

maybe also possible:

tabFailOK:

LOAD Dual(Result,RecNo()-2) as Result

INLINE [

    Result

    OK

    Fail

];

table1:

First 5

LOAD * FROM [https://community.qlik.com/thread/216855] (html, codepage is 1252, embedded labels, table is @1);

tabResult:

LOAD ID,

    not Min(ATRIB=55 or ATRIB=57) as Result

Resident table1

Group By ID;

hope this helps

regards

Marco