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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional logic not working in mapping

Hi

I have a main table with an associated lookup via a left join. QV file and dataset attached ( Please note this is just a subset of data, my actual dataset is a lot larger however the fields are exactly what you see).

I am joining on SALES_ID with the resultant table displayed. Quite simply what I wish to do is for all the SALES_ID values that are in the main table but not in the lookup ( these all begin 99 ), then put the SALES_TYPE_NEW into a separate bucket called 'TAXABLE'. Current output and expected output displayed below.

Current Output :

    

SALES_IDSALES_TYPE_NEWLOCATION_CODEREGION
1000PARTEX1FRANCE
2000CASH2UK
3000PAYPAL3BRAZIL
4000COUNTER4PORTUGAL
5000ONLINE5IRELAND
9900 11ITALY
9901 10SCOTLAND

Expected Output :

  

    

SALES_IDSALES_TYPE_NEWLOCATION_CODEREGION
1000PARTEX1FRANCE
2000CASH2UK
3000PAYPAL3BRAZIL
4000COUNTER4PORTUGAL
5000ONLINE5IRELAND
9900TAXABLE11ITALY
9901TAXABLE10SCOTLAND
0 Replies