<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Where clause with Load Statement in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889977#M73317</link>
    <description>&lt;P&gt;maybe using the ApplyMap exclusion already during the initial load:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_1-1644269512631.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71752iED68BA69E31BB752/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_1-1644269512631.png" alt="MarcoWedel_1-1644269512631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mapExcel2:
Mapping
Load Transactions, False() Inline [
Transactions
1
2
3
];

tabExcel1:
Load * Inline [
Transactions, Role
1,Role1
2,Role2
3,Role3
4,Role4
5,Role5
]
Where ApplyMap('mapExcel2',Transactions,True());&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 21:46:06 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2022-02-07T21:46:06Z</dc:date>
    <item>
      <title>How to use Where clause with Load Statement in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889726#M73292</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I am trying to use a where clause with Load Statement in Qliksense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 2 Excels. 1st excel has 2 fields Transactions and Role. The 2nd excel consists of transactions that need not show in the dashboard.&amp;nbsp; Earlier in this transaction we had manually mentioned in the where condition as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load Transactions, Role from A where not match(Transactions,'1','2','3');&lt;/P&gt;
&lt;P&gt;Now the transactions which to be excluded are there in Excel. Instead of manually excluding the transactions by providing in where condition, we need to load the excel with those transactions and exclude them.&lt;/P&gt;
&lt;P&gt;I tried using inner join, left or Right join but none works.&lt;/P&gt;
&lt;P&gt;Can anyone please assist with this? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 21:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889726#M73292</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-11-02T21:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Where clause with Load Statement in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889746#M73294</link>
      <description>&lt;P&gt;Hi SunainaUmberkar,&lt;/P&gt;
&lt;P&gt;try loading the Excel file with the transactions that need to be excluded first like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ExcludedTransactions:
Load Distinct
Transaction as exclude_Transaction
From .....
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then Load the Table of all Transactions like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Transactions:
Load
Transaction,
Role
From...
where not Exists(exclude_Transaction, Transaction);
Drop Table ExcludedTransactions;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if it helped.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Can&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 21:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889746#M73294</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-11-02T21:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Where clause with Load Statement in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889747#M73295</link>
      <description>&lt;P&gt;You can do something like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;//load transactions you want to exclude into mapping table
Map_Include:
Mapping LOAD
TransactionKey AS %Key,
0 AS [Map Value]
FROM [lib://Excel2.xlsx] (ooxml, embedded labels, table is Sheet1);

//load all transactions into temp table
tTransactions:
LOAD
TransactionKey AS %Key,
ApplyMap('Map_Include',TransactionKey,1) AS _Include,
Value
FROM [lib://Excel1.xlsx] (ooxml, embedded labels, table is Sheet1);

//reload tTransactions and only include ones that were not in the exclude list
Transactions:
Noconcatenate LOAD
%Key,
Value
Resident tTransactions
WHERE _Include = 1;

Drop table tTransactions;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 02 Nov 2022 21:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889747#M73295</guid>
      <dc:creator>gthuiz</dc:creator>
      <dc:date>2022-11-02T21:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause with Load Statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889977#M73317</link>
      <description>&lt;P&gt;maybe using the ApplyMap exclusion already during the initial load:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_1-1644269512631.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71752iED68BA69E31BB752/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_1-1644269512631.png" alt="MarcoWedel_1-1644269512631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mapExcel2:
Mapping
Load Transactions, False() Inline [
Transactions
1
2
3
];

tabExcel1:
Load * Inline [
Transactions, Role
1,Role1
2,Role2
3,Role3
4,Role4
5,Role5
]
Where ApplyMap('mapExcel2',Transactions,True());&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 21:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1889977#M73317</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-02-07T21:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause with Load Statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1890347#M73341</link>
      <description>&lt;P&gt;Hello Canerkan,&lt;/P&gt;
&lt;P&gt;This has helped. It works as expected.&lt;/P&gt;
&lt;P&gt;Thanks for the help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 13:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1890347#M73341</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-02-08T13:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause with Load Statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1890356#M73343</link>
      <description>&lt;P&gt;Hello MarcoWedel,&lt;/P&gt;
&lt;P&gt;Thanks for the help. The solution provided by Canerkan has worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 13:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Where-clause-with-Load-Statement-in-Qlik-Sense/m-p/1890356#M73343</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-02-08T13:50:28Z</dc:date>
    </item>
  </channel>
</rss>

