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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Same Approver test

Hi,

I want to show exceptions in a table or chart where approver 1 is same as approver 2.

I tried making a list box with the expression =if(app1=app2, 1,0)

I got 1 and 0, when I click on 1 I get the right output, but when I click on 0 I get 1 record of the option 1

Attached the excel and temp qvw. If you click on 0, lyn = lyn should not come.

If you could suggest any other way also, that would be welcome

Thanks

1 Solution

Accepted Solutions
Kushal_Chawda

try this

Data:

LOAD SSO,

if( trim(lower(app1))= trim(lower(app2)),1,0) as Flag

FROM Table

View solution in original post

2 Replies
Kushal_Chawda

try this

Data:

LOAD SSO,

if( trim(lower(app1))= trim(lower(app2)),1,0) as Flag

FROM Table

MindaugasBacius
Partner - Specialist III
Partner - Specialist III

LOAD sso,

     app1,

     app2,

     if(PurgeChar(Lower(app1), ' ') = PurgeChar(Lower(app2), ' '), 1, 0) as Flag

FROM

(ooxml, embedded labels, table is Sheet1);

Check the attachment.

Screenshot_1.jpg

Screenshot_2.jpg