<?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: Variable error - unknown load statement error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779215#M455070</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried with the above condition. However, the same error persists.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 08:43:36 GMT</pubDate>
    <dc:creator>deepaktibhe</dc:creator>
    <dc:date>2021-02-02T08:43:36Z</dc:date>
    <item>
      <title>Variable error - unknown load statement error</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779175#M455068</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using variables in the script as per the below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;Dual (If ([Delivery Difference Days] &amp;gt; 0,&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 5, 'Week or Less',&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 10, 'Two Weeks or Less',&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 20, 'Month or Less',&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 40, 'Two Months or Less', 'Over Two Months'))))),&lt;BR /&gt;If ([Delivery Difference Days] &amp;gt; 0,&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 5, 1,&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 10, 2,&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 20, 3,&lt;BR /&gt;If ([Delivery Difference Days] &amp;lt;= 40, 4, 5)))))) as [Late Status];&lt;BR /&gt;LOAD [Sales Document Item Key],&lt;BR /&gt;Sum ([Date Type]) as [Delivery Difference Days]&lt;BR /&gt;GROUP BY [Sales Document Item Key];&lt;BR /&gt;LOAD [Sales Document Item Key],&lt;BR /&gt;ApplyMap ('Factory Calendar Map', [Original Factory Calendar] &amp;amp; '-' &amp;amp; Num ([Original Planned Delivery Date] + Iterno ()), 0) as [Date Type]&lt;BR /&gt;WHILE Num (&lt;U&gt;&lt;STRONG&gt;$(vMinDate)&lt;/STRONG&gt;&lt;/U&gt; + Iterno ()) &amp;lt;= Num (Today ());&lt;BR /&gt;LOAD [Sales Document Item Key],&lt;BR /&gt;[Original Factory Calendar],&lt;BR /&gt;[Original Planned Delivery Date]&lt;BR /&gt;RESIDENT [Order Delivery]&lt;BR /&gt;WHERE Num ([Original Planned Delivery Date]) &amp;lt; Num (Today ()) AND (Isnull ([Comparison Date]) OR (RangeSum ([Delivered Quantity Punctuality]) - RangeSum ([Original Confirmed Quantity])) &amp;lt; 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have declared the created variable in the Variable Overview section as&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;min(Date([Original Planned Delivery Date]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However, an error Unknown load statement occurs repetitively.&lt;/P&gt;&lt;P&gt;Could you, please suggest on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779175#M455068</guid>
      <dc:creator>deepaktibhe</dc:creator>
      <dc:date>2024-11-16T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variable error - unknown load statement error</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779192#M455069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128016"&gt;@deepaktibhe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load min(Date([Original Planned Delivery Date])) as MinDate resident yourDeliveryDateAvailableTableName;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let vMinDate = Peek('MinDate');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead of create in front end.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 07:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779192#M455069</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-02-02T07:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variable error - unknown load statement error</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779215#M455070</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried with the above condition. However, the same error persists.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 08:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779215#M455070</guid>
      <dc:creator>deepaktibhe</dc:creator>
      <dc:date>2021-02-02T08:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variable error - unknown load statement error</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779227#M455071</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128016"&gt;@deepaktibhe&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Can you send the sample data with ur script.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 08:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-error-unknown-load-statement-error/m-p/1779227#M455071</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-02-02T08:59:37Z</dc:date>
    </item>
  </channel>
</rss>

