<?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: Problem Script Half Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665183#M676751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you tried it in load script - it doesn't work, because you can't use set analysis in the load script.&lt;/P&gt;&lt;P&gt;But&amp;nbsp; for expression it looks good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Share your app please it you'd like to get extended answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2014 02:45:17 GMT</pubDate>
    <dc:creator>SergeyMak</dc:creator>
    <dc:date>2014-06-27T02:45:17Z</dc:date>
    <item>
      <title>Problem Script Half Year</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665181#M676749</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;Can you help me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a template report with&amp;nbsp; ID &amp;amp; Dimension, and i want to sum amount half year '201307','201308','201309','201310','201311','201312'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see my script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-1', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PERIOD_REPORT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'201307','201308','201309','201310','201311','201312'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[AMNT]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I've tried this script, but this script is not correct.&lt;/P&gt;&lt;P&gt;Please help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 02:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665181#M676749</guid>
      <dc:creator />
      <dc:date>2014-06-27T02:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Script Half Year</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665182#M676750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ( {&amp;lt; ID={'L19-1'}, PERIOD_REPORT={'201307',.......}&amp;gt;} AMNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 02:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665182#M676750</guid>
      <dc:creator />
      <dc:date>2014-06-27T02:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Script Half Year</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665183#M676751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you tried it in load script - it doesn't work, because you can't use set analysis in the load script.&lt;/P&gt;&lt;P&gt;But&amp;nbsp; for expression it looks good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Share your app please it you'd like to get extended answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 02:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665183#M676751</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-06-27T02:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Script Half Year</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665184#M676752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use Sum for the first script, please see my next script expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-1', sum(Periode,('201307','201308','201309','201310','201311','201312') [amount],&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-2', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-3', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-4', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-5', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-6', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-7', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-8', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-9', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-10', sum(),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'L19-11', '',&lt;BR /&gt;))))))))))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;"L19-1" or "L19-2" and others&amp;lt;-- this is the field name &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;and the problem is how to write sum with Periode '201307','201308','201309','201310','201311','201312'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 03:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665184#M676752</guid>
      <dc:creator />
      <dc:date>2014-06-27T03:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Script Half Year</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665185#M676753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;sum (if (ID-'L19-1' and Match(PeriodCode,'201307','201308','201309','201310','201311','201312'), amount, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if (Match(ID,'L19-2','L19-3','L19-4','L19-5','L19-6','L19-7','L19-8','L19-9',L19-10'),amount,&lt;BR /&gt;0&lt;/P&gt;&lt;P&gt;) as amount)&lt;/P&gt;&lt;P&gt;resident&lt;/P&gt;&lt;P&gt;tab1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 03:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Script-Half-Year/m-p/665185#M676753</guid>
      <dc:creator />
      <dc:date>2014-06-27T03:34:52Z</dc:date>
    </item>
  </channel>
</rss>

