<?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 Left Join Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651156#M1079868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list of 13,000 properties of which I want to be able to identify 5 separately. I want to create an extra field that has a Y/N flag on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first attempt was to try and do a applymap, but I couldn't get tat to work so I tried a left join.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;/P&gt;&lt;P&gt;PropertyTemp:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Prop_Num, Exclude_Flag&lt;/P&gt;&lt;P&gt;1234, Y&lt;/P&gt;&lt;P&gt;2345, Y&lt;/P&gt;&lt;P&gt;3456, Y&lt;/P&gt;&lt;P&gt;4567, Y&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 Prop_Num&lt;/P&gt;&lt;P&gt;FROM FILEPATH.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join load * resident PropertyTemp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;This worked in applying a Y flag to the above properties but how do I get it to apply a 'N' to all the remaining properties in my list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better way of doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 11:42:13 GMT</pubDate>
    <dc:creator>Karl_Hart</dc:creator>
    <dc:date>2014-07-10T11:42:13Z</dc:date>
    <item>
      <title>Left Join Query</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651156#M1079868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list of 13,000 properties of which I want to be able to identify 5 separately. I want to create an extra field that has a Y/N flag on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first attempt was to try and do a applymap, but I couldn't get tat to work so I tried a left join.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------&lt;/P&gt;&lt;P&gt;PropertyTemp:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Prop_Num, Exclude_Flag&lt;/P&gt;&lt;P&gt;1234, Y&lt;/P&gt;&lt;P&gt;2345, Y&lt;/P&gt;&lt;P&gt;3456, Y&lt;/P&gt;&lt;P&gt;4567, Y&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 Prop_Num&lt;/P&gt;&lt;P&gt;FROM FILEPATH.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join load * resident PropertyTemp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;This worked in applying a Y flag to the above properties but how do I get it to apply a 'N' to all the remaining properties in my list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better way of doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 11:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651156#M1079868</guid>
      <dc:creator>Karl_Hart</dc:creator>
      <dc:date>2014-07-10T11:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Query</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651157#M1079869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after the left join write the following&lt;/P&gt;&lt;P&gt;tempProp_Num:&lt;/P&gt;&lt;P&gt;noConcatenate&lt;/P&gt;&lt;P&gt;load Prop_Num,if(not isnull(Exclude_Flag),Exclude_Flag,'N') as Exclude_Flag&lt;/P&gt;&lt;P&gt;resident Prop_Num;&lt;/P&gt;&lt;P&gt;drop table Prop_Num;&lt;/P&gt;&lt;P&gt;rename table tempProp_Num to Prop_Num;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 11:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651157#M1079869</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-07-10T11:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Query</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651158#M1079870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try something like this in qvd itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PropertyTemp:&lt;/P&gt;&lt;P&gt;Load *,if(match(Prop_Num,'1234','2345','3456','4567'),'Y','N') as Flag;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Prop_Num&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;2345&lt;/P&gt;&lt;P&gt;3456&lt;/P&gt;&lt;P&gt;4567&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;13&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 11:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651158#M1079870</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-07-10T11:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join Query</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651159#M1079871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try to use exist function like&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PropertyTemp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Prop_Num, Exclude_Flag&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1234, Y&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2345, Y&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3456, Y&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4567, Y&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&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;LOAD Prop_Num,if(exists(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Prop_Num&lt;/SPAN&gt;),'Y','N') as Exclude_Flag&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM FILEPATH.qvd&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 11:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Query/m-p/651159#M1079871</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-07-10T11:49:55Z</dc:date>
    </item>
  </channel>
</rss>

