<?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 set analysis script into backend load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-script-into-backend-load-script/m-p/2000928#M1221380</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've the below set analysis code and now the requirement is to move the code into load script.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;num(sum({&amp;lt;MonthDiff={"&amp;lt;12"},AsOfMonth={"&amp;gt;=$(=Date(Yearstart(today(),-2),'YYYY-MM'))&amp;lt;=$(=Date(MonthEnd(today(),-1),'YYYY-MM'))"}&amp;gt;}Sales),'#,##0')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Can you help me out how to move this code into load script? Basically here we are calculation 12 months rolling sales.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Nov 2022 14:21:15 GMT</pubDate>
    <dc:creator>vikasshana</dc:creator>
    <dc:date>2022-11-05T14:21:15Z</dc:date>
    <item>
      <title>set analysis script into backend load script</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-script-into-backend-load-script/m-p/2000928#M1221380</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've the below set analysis code and now the requirement is to move the code into load script.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;num(sum({&amp;lt;MonthDiff={"&amp;lt;12"},AsOfMonth={"&amp;gt;=$(=Date(Yearstart(today(),-2),'YYYY-MM'))&amp;lt;=$(=Date(MonthEnd(today(),-1),'YYYY-MM'))"}&amp;gt;}Sales),'#,##0')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Can you help me out how to move this code into load script? Basically here we are calculation 12 months rolling sales.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2022 14:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-script-into-backend-load-script/m-p/2000928#M1221380</guid>
      <dc:creator>vikasshana</dc:creator>
      <dc:date>2022-11-05T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis script into backend load script</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-script-into-backend-load-script/m-p/2000953#M1221382</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/3349"&gt;@vikasshana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;create flags in your script,&amp;nbsp;&lt;BR /&gt;for example -&lt;/P&gt;
&lt;P&gt;TempTable:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;load *, if (Date&amp;gt;Date(AddMonths(MonthDiff,-12)),1,0)&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;and after that, you can filter more easily&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 08:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-script-into-backend-load-script/m-p/2000953#M1221382</guid>
      <dc:creator>MendyS</dc:creator>
      <dc:date>2022-11-06T08:42:32Z</dc:date>
    </item>
  </channel>
</rss>

