<?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 Variable in Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1675552#M449739</link>
    <description>&lt;P&gt;Hello, I am trying to make a variable in the load script but there are errors so I'm not sure if it is possible.&amp;nbsp; I&amp;nbsp;would like to&amp;nbsp;make a variable that is the sum of Items from a year range.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load:&lt;/P&gt;&lt;P&gt;Items,&lt;/P&gt;&lt;P&gt;Sum(Items where Year 2000 &amp;gt;= =&amp;lt; 2005 from excel file) as Range,&lt;/P&gt;&lt;P&gt;Location,&lt;/P&gt;&lt;P&gt;cost,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;From Excel File;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:17:12 GMT</pubDate>
    <dc:creator>Lisa2</dc:creator>
    <dc:date>2024-11-16T01:17:12Z</dc:date>
    <item>
      <title>Variable in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1675552#M449739</link>
      <description>&lt;P&gt;Hello, I am trying to make a variable in the load script but there are errors so I'm not sure if it is possible.&amp;nbsp; I&amp;nbsp;would like to&amp;nbsp;make a variable that is the sum of Items from a year range.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load:&lt;/P&gt;&lt;P&gt;Items,&lt;/P&gt;&lt;P&gt;Sum(Items where Year 2000 &amp;gt;= =&amp;lt; 2005 from excel file) as Range,&lt;/P&gt;&lt;P&gt;Location,&lt;/P&gt;&lt;P&gt;cost,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;From Excel File;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1675552#M449739</guid>
      <dc:creator>Lisa2</dc:creator>
      <dc:date>2024-11-16T01:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1675676#M449751</link>
      <description>&lt;P&gt;you have to use a group by.&lt;BR /&gt;Can you share a sample data&amp;nbsp; to share the exact answer?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 08:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1675676#M449751</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-02-14T08:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1675681#M449753</link>
      <description>&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;Please create a variable (say: vRentableArea) from Setting--&amp;gt; Variable Overview and set default value as 0.&lt;/P&gt;&lt;P&gt;Then write below the script to get the sum of field values and rename as name of the variable&amp;nbsp;vRentableArea.&lt;/P&gt;&lt;P&gt;RentableArea:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;sum([Rentable Area (SqFt)]) As vRentableArea&lt;BR /&gt;FROM&amp;nbsp;[..\Data\Report B.xls](biff, embedded labels) WHERE [Event Year Group] = '2020';&lt;/P&gt;&lt;P&gt;Let vRentableArea = Peek('vRentableArea',0,'vRentableArea');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now load the script again and you can have the&amp;nbsp;vRentableArea variable with expected value at front end.&lt;/P&gt;&lt;P&gt;Hope this will be a helpful solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mousumi&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 08:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1675681#M449753</guid>
      <dc:creator>mousumimondal</dc:creator>
      <dc:date>2020-02-14T08:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1683874#M450264</link>
      <description>&lt;P&gt;Lisa, did the last posters suggestion work for you?&amp;nbsp; If so, do not forget to return to your thread here and use the Accept as Solution button on that post to give them credit for the help and let other Members know that it worked.&amp;nbsp; If you did something different, consider posting that and once posted, use the button to mark that to close out the thread.&amp;nbsp; If you are still needing something, please leave an update.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Load-Script/m-p/1683874#M450264</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-11T16:15:24Z</dc:date>
    </item>
  </channel>
</rss>

