<?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: Resident LOAD not working properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1569079#M741514</link>
    <description>&lt;P&gt;I would have replaced your first load with an preceding load on the E1P-table. Then do the second join on the E1P-table. Like this:&lt;/P&gt;&lt;PRE&gt;E1P:
LOAD [SingleAssignment],[SingleAssignment]&amp;amp;[DollarTest] as ConcatField&lt;BR /&gt;;
LOAD
  Field1,
  Field2,&lt;BR /&gt;  SingleAssignment,&lt;BR /&gt;  DollarTest,
  ...
  FieldN
FROM E1PSource;&lt;BR /&gt;
Left JOIN (E1P)&lt;BR /&gt;LOAD &lt;BR /&gt;  [SingleAssignment], &lt;BR /&gt;  Count(DISTINCT [ConcatField]) as ConcatFieldCount,
  If(Count(DISTINCT [ConcatField]) = 1,'SingleAssignmentFlag',
  If(Count(DISTINCT [ConcatField]) &amp;gt; 1,'QtyDiffFlag')) as Flag
Resident E1P
GROUP BY [SingleAssignment];&lt;/PRE&gt;&lt;P&gt;I hope this can be of any help. Good luck with finding your solution.&lt;/P&gt;&lt;P&gt;BR Vegar&lt;/P&gt;</description>
    <pubDate>Sun, 14 Apr 2019 19:39:16 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-04-14T19:39:16Z</dc:date>
    <item>
      <title>Resident LOAD not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1568955#M741511</link>
      <description>&lt;P&gt;I am getting an error when I try to run this script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN (E1P)&lt;/P&gt;&lt;P&gt;E1P_Count:&lt;/P&gt;&lt;P&gt;LOAD [SingleAssignment],[SingleAssignment]&amp;amp;[DollarTest] as ConcatField&lt;/P&gt;&lt;P&gt;Resident E1P;&lt;/P&gt;&lt;P&gt;E1P_Count_SmashedField:&lt;BR /&gt;LOAD [SingleAssignment], Count(DISTINCT [ConcatField]) as ConcatFieldCount,&lt;BR /&gt;If(Count(DISTINCT [ConcatField]) = 1,'SingleAssignmentFlag',&lt;BR /&gt;If(Count(DISTINCT [ConcatField]) &amp;gt; 1,'QtyDiffFlag')) as Flag&lt;/P&gt;&lt;P&gt;Resident E1P_Count&lt;BR /&gt;GROUP BY [SingleAssignment];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add the field, Flag, to my original table, E1P.&amp;nbsp; The error I am getting is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table not found error&lt;/P&gt;&lt;P&gt;Table 'E1P_Count' not found&lt;/P&gt;&lt;P&gt;E1P_Count_SmashedField:&lt;BR /&gt;LOAD [SingleAssignment], Count(DISTINCT [ConcatField]) as ConcatFieldCount,&lt;BR /&gt;If(Count(DISTINCT [ConcatField]) = 1,'SingleAssignmentFlag',&lt;BR /&gt;If(Count(DISTINCT [ConcatField]) &amp;gt; 1,'QtyDiffFlag')) as Flag&lt;/P&gt;&lt;P&gt;Resident E1P_Count&lt;BR /&gt;GROUP BY [SingleAssignment]&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1568955#M741511</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2024-11-16T03:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Resident LOAD not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1568977#M741512</link>
      <description>&lt;P&gt;When you do this left join&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN&gt;LEFT JOIN (E1P)&lt;/SPAN&gt;&lt;P&gt;E1P_Count:&lt;/P&gt;&lt;P&gt;LOAD [SingleAssignment],[SingleAssignment]&amp;amp;[DollarTest] as ConcatField&lt;/P&gt;&lt;P&gt;Resident E1P;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You&amp;nbsp;&lt;SPAN&gt;are joining data into the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;E1P table, you are not creating any table named E1P_Count.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you then try to do this...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;E1P_Count_SmashedField:&lt;BR /&gt;LOAD [SingleAssignment], Count(DISTINCT [ConcatField]) as ConcatFieldCount,&lt;BR /&gt;If(Count(DISTINCT [ConcatField]) = 1,'SingleAssignmentFlag',&lt;BR /&gt;If(Count(DISTINCT [ConcatField]) &amp;gt; 1,'QtyDiffFlag')) as Flag&lt;/P&gt;&lt;P&gt;Resident E1P_Count&lt;BR /&gt;GROUP BY [SingleAssignment];&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;...the table E1P_Count does not exist. Try to do an exit script before this part to examine your datamodel.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 04:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1568977#M741512</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-13T04:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Resident LOAD not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1569062#M741513</link>
      <description>&lt;P&gt;How can I add the Flag field to the E1P table?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 18:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1569062#M741513</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2019-04-14T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Resident LOAD not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1569079#M741514</link>
      <description>&lt;P&gt;I would have replaced your first load with an preceding load on the E1P-table. Then do the second join on the E1P-table. Like this:&lt;/P&gt;&lt;PRE&gt;E1P:
LOAD [SingleAssignment],[SingleAssignment]&amp;amp;[DollarTest] as ConcatField&lt;BR /&gt;;
LOAD
  Field1,
  Field2,&lt;BR /&gt;  SingleAssignment,&lt;BR /&gt;  DollarTest,
  ...
  FieldN
FROM E1PSource;&lt;BR /&gt;
Left JOIN (E1P)&lt;BR /&gt;LOAD &lt;BR /&gt;  [SingleAssignment], &lt;BR /&gt;  Count(DISTINCT [ConcatField]) as ConcatFieldCount,
  If(Count(DISTINCT [ConcatField]) = 1,'SingleAssignmentFlag',
  If(Count(DISTINCT [ConcatField]) &amp;gt; 1,'QtyDiffFlag')) as Flag
Resident E1P
GROUP BY [SingleAssignment];&lt;/PRE&gt;&lt;P&gt;I hope this can be of any help. Good luck with finding your solution.&lt;/P&gt;&lt;P&gt;BR Vegar&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 19:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-LOAD-not-working-properly/m-p/1569079#M741514</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-14T19:39:16Z</dc:date>
    </item>
  </channel>
</rss>

