<?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: If exist in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652262#M1081379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in order to use where exist your fields have to have the same name. meaning that either you rename ITEM to ITEMID or the opposit way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2014 11:39:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-25T11:39:07Z</dc:date>
    <item>
      <title>If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652261#M1081378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know how to do this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From table A I load the rows ITEM, DESCRIPTION for one specific store&lt;/P&gt;&lt;P&gt;From table B I load the rows ITEMID, COST PRICE, SALES PRICE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script I only want to get the cost price and sales price from the items that was loaded from table A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITEM in table A is the same as ITEMID from table B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried with "where exist" and left keep but I'm not sure that I use the correct syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652261#M1081378</guid>
      <dc:creator />
      <dc:date>2014-06-25T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652262#M1081379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in order to use where exist your fields have to have the same name. meaning that either you rename ITEM to ITEMID or the opposit way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652262#M1081379</guid>
      <dc:creator />
      <dc:date>2014-06-25T11:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652263#M1081380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Use Applymap function&lt;/P&gt;&lt;P&gt;you will get the output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652263#M1081380</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-25T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652264#M1081381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14036964154522101" jivemacro_uid="_14036964154522101"&gt;
&lt;P&gt;TableA:&lt;/P&gt;
&lt;P&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ITEM, DESCRIPTION &lt;/SPAN&gt; from ....&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;left keep (TableA)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;TableB:&lt;/P&gt;
&lt;P&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ITEMID as ITEM, COST PRICE, SALES PRICE from ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652264#M1081381</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-25T11:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652265#M1081383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to load your table like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;table A&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ITEM, DESCRIPTION &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Location;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;table B&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ITEMID, COST PRICE, SALES PRICE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Lcoation&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where Exists(ITEM,ITEMID);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652265#M1081383</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-25T11:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652266#M1081386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;If you want data&lt;/P&gt;&lt;P&gt;1) 2 seperate tables, use the 'Left Keep'&lt;/P&gt;&lt;P&gt;2) in single table, use the 'Left join'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652266#M1081386</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-06-25T11:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652267#M1081387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&amp;nbsp; * from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB_B;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB_A:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;ITEM,DESCIPTION&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.];&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ApplyMap(ITEMID,Descrption) as ITEM,&lt;/P&gt;&lt;P&gt;Costprice,&lt;/P&gt;&lt;P&gt;Selling price&lt;/P&gt;&lt;P&gt;resident TAB_B;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652267#M1081387</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-25T11:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652268#M1081388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can use simple join if you want data based on the first table then use join with (Left,Right,Inner) based on the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;tableA:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ITEM, DESCRIPTION&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Location;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Join&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;tableB:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ITEMID, COST PRICE, SALES PRICE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Lcoation&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Exists(ITEM,ITEMID);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652268#M1081388</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-25T11:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: If exist</title>
      <link>https://community.qlik.com/t5/QlikView/If-exist/m-p/652269#M1081389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use exists like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;Load ITEM, &lt;/P&gt;&lt;P&gt;&amp;nbsp; DESCRIPTION &lt;/P&gt;&lt;P&gt;From ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; ITEMID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; COST, &lt;/P&gt;&lt;P&gt;&amp;nbsp; PRICE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SALES,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PRICE&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;P&gt;Where exists(ITEM,ITEMID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Ida&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 12:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-exist/m-p/652269#M1081389</guid>
      <dc:creator />
      <dc:date>2014-06-25T12:10:54Z</dc:date>
    </item>
  </channel>
</rss>

