<?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: Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script/m-p/1036377#M925754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are so many objects in your attached sample and I don't even know what is required to be moved to script? Can you may be clean up the attached file and re-post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 21:13:28 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-01T21:13:28Z</dc:date>
    <item>
      <title>Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1036376#M925753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my scenario ,i hav two calendars upload and forecast.&lt;/P&gt;&lt;P&gt;Each upload week has 12 forcast weeks.&lt;/P&gt;&lt;P&gt;each id has lock periods&lt;/P&gt;&lt;P&gt;in dashboad im using only Upload calendar.&lt;/P&gt;&lt;P&gt;If i select Upload week 1&amp;nbsp; in the calendar which has 12 forcast week , &lt;/P&gt;&lt;P&gt;and it has two possible ids 1 and 2 which has different lock period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if id 1 has selected &lt;/P&gt;&lt;P&gt;now i want to calculate &lt;/P&gt;&lt;P&gt; forecast week 1 + id l has lock period 1 = 2&lt;/P&gt;&lt;P&gt;so i want to display sales for the forecast week&amp;nbsp; 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I achieved it in set analysis but the dashboard loading time is high so i want to achieve it in script itself ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joshua&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/Script/m-p/1036376#M925753</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1036377#M925754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are so many objects in your attached sample and I don't even know what is required to be moved to script? Can you may be clean up the attached file and re-post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 21:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1036377#M925754</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-01T21:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1036378#M925755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks for ur reply &lt;A _jive_internal="true" href="https://community.qlik.com/people/sunindia" style="font-size: 13.3333px; line-height: 1.5em;"&gt;Sunny T&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;PFA&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Joshua.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 04:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1036378#M925755</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2016-04-02T04:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1036379#M925756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: In order to reload the application, I had to export the data from the application. So changed the calculated date column with an actual date extracted from the application. You might have to keep a note of these minor changes I had to make in order to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script for the flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TEMP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident upload;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join (TEMP)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Forcast;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Key,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Week_UPs + [lock period] = Week_Fs, 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident TEMP;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table TEMP;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Flag = {1}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 12:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1036379#M925756</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-02T12:10:49Z</dc:date>
    </item>
  </channel>
</rss>

