<?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 sum changes with time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627828#M476580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I i've a chart wich display a year to date information, my problem is when i select several month's my Production costs information is incorrect but when i only choose one month it's correct, it seems to be doing some kind of average or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression: =sum({$ &amp;lt;Responsible = {"=RaiserPlantID=Responsible"}&amp;gt;} Auth*XRATE2USD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When several Months are selected:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SeveralMonths.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59539_SeveralMonths.png" style="width: 620px; height: 281px;" /&gt;&lt;/P&gt;&lt;P&gt;when only jan is selected:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="jan.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59540_jan.png" style="width: 620px; height: 281px;" /&gt;&lt;/P&gt;&lt;P&gt;as you can see the amounts are incorrect when several month are selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2014 11:24:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-26T11:24:18Z</dc:date>
    <item>
      <title>sum changes with time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627828#M476580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I i've a chart wich display a year to date information, my problem is when i select several month's my Production costs information is incorrect but when i only choose one month it's correct, it seems to be doing some kind of average or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression: =sum({$ &amp;lt;Responsible = {"=RaiserPlantID=Responsible"}&amp;gt;} Auth*XRATE2USD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When several Months are selected:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SeveralMonths.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59539_SeveralMonths.png" style="width: 620px; height: 281px;" /&gt;&lt;/P&gt;&lt;P&gt;when only jan is selected:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="jan.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59540_jan.png" style="width: 620px; height: 281px;" /&gt;&lt;/P&gt;&lt;P&gt;as you can see the amounts are incorrect when several month are selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627828#M476580</guid>
      <dc:creator />
      <dc:date>2014-05-26T11:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: sum changes with time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627829#M476581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is likely your set modifier &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Responsible = {"=RaiserPlantID=Responsible"}&lt;/SPAN&gt;. The set is calculated for the entire chart, not a set per month. Perhaps you need to use an if statement instead. Perhaps this document helps understanding what's going on: &lt;A href="https://community.qlik.com/docs/DOC-4563"&gt;set_analysis_intra-record.qvw&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 12:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627829#M476581</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-05-26T12:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: sum changes with time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627830#M476582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are saying it's the chart only set analyses once and i need it to do it per month, do you have suggestion how to accomplish with a if stat?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627830#M476582</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: sum changes with time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627831#M476583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(if(RaiserPlantID=Responsible,Auth*XRATE2USD,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627831#M476583</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-05-26T13:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: sum changes with time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627832#M476584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it worked, i had already tried something near your expression but the result was the same but at the time i couldn't understand the problem after your explanation the if statement makes sense. Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-changes-with-time/m-p/627832#M476584</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:27:11Z</dc:date>
    </item>
  </channel>
</rss>

