<?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: Using excel column in  sql  where clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1753958#M453701</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9564"&gt;@emyemyemy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One of the way to achieve based on ApplyMap concept like below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MapQuantity:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mapping Load&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;product,Quantity&lt;BR /&gt;FROM&lt;BR /&gt;[MyFile]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load *, where &lt;STRONG&gt;ApplyMap('MapQuantity', product, 0) - ProdCount &amp;lt;= 0;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select&amp;nbsp; product,&amp;nbsp;count(product) as&amp;nbsp;ProdCount &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from `DB`.`table`&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;group by&amp;nbsp; product ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 07:19:43 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2020-10-20T07:19:43Z</dc:date>
    <item>
      <title>Using excel column in  sql  where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1753901#M453697</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use the quantity column&amp;nbsp; from my excel table&amp;nbsp; in the&amp;nbsp; sql where clause !&lt;/P&gt;&lt;P&gt;this is the code that i tried&amp;nbsp; but it didn't work&amp;nbsp; :&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &amp;nbsp;product,Quantity&lt;BR /&gt;FROM&lt;BR /&gt;[MyFile]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet) ;&lt;/P&gt;&lt;P&gt;right join&lt;BR /&gt;&lt;BR /&gt;SQL&lt;BR /&gt;select&amp;nbsp; product&lt;BR /&gt;from `DB`.`table` where&amp;nbsp;&lt;BR /&gt;(Quantity - count(product)) &amp;lt;=0 group by&amp;nbsp; product ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help and attention !&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1753901#M453697</guid>
      <dc:creator>emyemyemy</dc:creator>
      <dc:date>2024-11-16T17:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using excel column in  sql  where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1753958#M453701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9564"&gt;@emyemyemy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One of the way to achieve based on ApplyMap concept like below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MapQuantity:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mapping Load&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;product,Quantity&lt;BR /&gt;FROM&lt;BR /&gt;[MyFile]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load *, where &lt;STRONG&gt;ApplyMap('MapQuantity', product, 0) - ProdCount &amp;lt;= 0;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select&amp;nbsp; product,&amp;nbsp;count(product) as&amp;nbsp;ProdCount &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from `DB`.`table`&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;group by&amp;nbsp; product ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 07:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1753958#M453701</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-10-20T07:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using excel column in  sql  where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1754379#M453717</link>
      <description>&lt;P&gt;You made my day ,&amp;nbsp; I have&amp;nbsp; never woked&amp;nbsp; with&amp;nbsp; mapping , I will learn about it more !&lt;/P&gt;&lt;P&gt;Thank you for help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 09:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1754379#M453717</guid>
      <dc:creator>emyemyemy</dc:creator>
      <dc:date>2020-10-21T09:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using excel column in  sql  where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1755772#M453763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;SPAN class="lia-message-in-response-to-username"&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Using-excel-column-in-sql-where-clause/m-p/1753958/highlight/true#M453701" target="_blank" rel="noopener"&gt;mayilvahanan&lt;/A&gt;&amp;nbsp;!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-message-in-response-to-username"&gt;Can you&amp;nbsp; check my problem here I will be greatful !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Get-Excel-column-list-that-it-s-value-doesn-t-exist-in-SQl/m-p/1755664#M453760" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/QlikView-App-Development/Get-Excel-column-list-that-it-s-value-doesn-t-exist-in-SQl/m-p/1755664#M453760&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 08:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-excel-column-in-sql-where-clause/m-p/1755772#M453763</guid>
      <dc:creator>emyemyemy</dc:creator>
      <dc:date>2020-10-26T08:59:05Z</dc:date>
    </item>
  </channel>
</rss>

