<?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: need resident load help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355749#M840351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load SalesRepID from Table where (Match([Process Month]='March') and [Sales Amount USD] &amp;gt; 0) OR Match([SalesREpID], [Process Date] &amp;gt;= '$(vPrevEightYearStartDate)' and [Process Date] &amp;lt;= '$(vPrevYearEndDate)' and [Sales Amount USD] =0;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2017 09:47:36 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-05-03T09:47:36Z</dc:date>
    <item>
      <title>need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355744#M840346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to load SalesREP ID whose current sales value for the current month is &amp;gt;0, but for last 8 years's sales value will be 0.&lt;/P&gt;&lt;P&gt;So I have written the below code in script:&lt;/P&gt;&lt;P&gt;[TmpSalesRep]:&lt;/P&gt;&lt;P&gt;first 2&lt;/P&gt;&lt;P&gt; load&amp;nbsp; &lt;/P&gt;&lt;P&gt; [%Sales Trn Key],&lt;/P&gt;&lt;P&gt; [Process Date] as DateKey,&lt;/P&gt;&lt;P&gt; [Sales Amount USD] as SalesAmount,&lt;/P&gt;&lt;P&gt; [Sales Rep ID] as AsOfSalesRepID&lt;/P&gt;&lt;P&gt; resident [TmpTable]&lt;/P&gt;&lt;P&gt;&amp;nbsp; where &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Process Month] = 'March' and [Sales Amount USD]&amp;gt;0;&lt;/P&gt;&lt;P&gt; left join&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;[%Sales Trn Key],&lt;/P&gt;&lt;P&gt;[Process Date] as DateKey,&lt;/P&gt;&lt;P&gt;[Sales Amount USD] as SalesAmount,&lt;/P&gt;&lt;P&gt;[Sales Rep ID] as AsOfSalesRepID&lt;/P&gt;&lt;P&gt;resident [TmpTable]&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Process Date] &amp;gt;= '$(vPrevEightYearStartDate)' and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Process Date] &amp;lt;= '$(vPrevYearEndDate)' and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sales Amount USD]&amp;gt;=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //$(vCurrentMonth)&lt;/P&gt;&lt;P&gt;drop table [TmpTable];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am wrong because I am getting wrong data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355744#M840346</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355745#M840347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of left join use concatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please do not create multiple same post with different users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/259059"&gt;Need resident load help&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 08:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355745#M840347</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-05-03T08:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355746#M840348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;your solutions does not correct the value that I am getting.&lt;/P&gt;&lt;P&gt;Can I add this type of query in resident load like:&lt;/P&gt;&lt;P&gt;where match(SALESRepID, &amp;lt;sql query&amp;gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it will do a subquery same as SQL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 09:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355746#M840348</guid>
      <dc:creator />
      <dc:date>2017-05-03T09:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355747#M840349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share that sql query ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 09:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355747#M840349</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-03T09:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355748#M840350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select SalesRepID from table where&amp;nbsp; [Process Month] = 'March' and [Sales Amount USD]&amp;gt;0 and&lt;/P&gt;&lt;P&gt;SalesREpID in(&lt;/P&gt;&lt;P&gt;[Process Date] &amp;gt;= '$(vPrevEightYearStartDate)' and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Process Date] &amp;lt;= '$(vPrevYearEndDate)' and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sales Amount USD]=0;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 09:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355748#M840350</guid>
      <dc:creator />
      <dc:date>2017-05-03T09:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355749#M840351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load SalesRepID from Table where (Match([Process Month]='March') and [Sales Amount USD] &amp;gt; 0) OR Match([SalesREpID], [Process Date] &amp;gt;= '$(vPrevEightYearStartDate)' and [Process Date] &amp;lt;= '$(vPrevYearEndDate)' and [Sales Amount USD] =0;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 09:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355749#M840351</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-03T09:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355750#M840352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How the last one work:&lt;/P&gt;&lt;P&gt;Match([Sales Rep ID],[Process Date] &amp;gt;= '$(vPrevEightYearStartDate)' and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Process Date] &amp;lt;= '$(vPrevYearEndDate)' and [Sales Amount USD] =0)&lt;/P&gt;&lt;P&gt;? as it will not get any Sales Rep Id through a load statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 10:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355750#M840352</guid>
      <dc:creator />
      <dc:date>2017-05-03T10:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355751#M840353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use &lt;STRONG&gt;Left join (Fact Table Directory)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 10:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355751#M840353</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-03T10:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355752#M840354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have used the left join and you can see my main post here. But it is collecting the rep id from first result set and also taking the rep id which is in second result set. But my&amp;nbsp; requirement is it will satisfy the first conditionand also the second condition means:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;collect the rep id which has sales for current month, but does not have any sales for previous 8 years .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what can I do now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 10:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355752#M840354</guid>
      <dc:creator />
      <dc:date>2017-05-03T10:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355753#M840355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;hi&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Try this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[%Sales Trn Key],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Process Date] as DateKey,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Sales Amount USD] as SalesAmount,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Sales Rep ID] as AsOfSalesRepID&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident [TmpTable]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; where&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [Process Month] = 'March' and [Sales Amount USD]&amp;gt;0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;left join&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AsOfSalesRepID&amp;nbsp; where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SALES_AMT='0';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales Rep ID] as AsOfSalesRepID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales Amount USD]) as SALES_AMT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [TmpTable] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Where &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Process Date] &amp;gt;= '$(vPrevEightYearStartDate)' and&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Process Date] &amp;lt;= '$(vPrevYearEndDate)' ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 10:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355753#M840355</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2017-05-03T10:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: need resident load help</title>
      <link>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355754#M840356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems, you are using Left join for resident table only. Unless your expression is okay to me. Can you describe more on Variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 12:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-resident-load-help/m-p/1355754#M840356</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-03T12:49:54Z</dc:date>
    </item>
  </channel>
</rss>

