<?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(IF   issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327473#M1180544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dashboard that contains snapshot dates (what our data looked like at a certain time) in order to look at change from one date to another. We recently brought in Goals data.&amp;nbsp; I want to use a sum(if statement to link the goals to the territories they belong to. However the statement seems to be aggregating the goal data accross all snapshot dates . If I select one snapshot date, I get the aggregation of every date before it. Is there any way to stop this if statment from agrregating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2011 21:41:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-28T21:41:20Z</dc:date>
    <item>
      <title>Sum(IF   issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327473#M1180544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dashboard that contains snapshot dates (what our data looked like at a certain time) in order to look at change from one date to another. We recently brought in Goals data.&amp;nbsp; I want to use a sum(if statement to link the goals to the territories they belong to. However the statement seems to be aggregating the goal data accross all snapshot dates . If I select one snapshot date, I get the aggregation of every date before it. Is there any way to stop this if statment from agrregating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 21:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327473#M1180544</guid>
      <dc:creator />
      <dc:date>2011-12-28T21:41:20Z</dc:date>
    </item>
    <item>
      <title>Sum(IF   issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327474#M1180545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the if() statement is not aggregating, the sum() is doing that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please post your complete expression together with a more detailed description of your data model?&lt;/P&gt;&lt;P&gt; Your Goal data seems not to be correctly linked to your snapshots, or your aggregation expression might miss something, I and probably also others couldn't tell without some more information.&lt;/P&gt;&lt;P&gt;Also a small sample app could speed up things, if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 00:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327474#M1180545</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-29T00:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF   issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327475#M1180546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. My objective is to display sales results and corresponding goals in the same object. My expression looks like this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(if( Goal Territory Name=Territory Name ,Goal,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this expression with TerritoryGroupName as a dimension. If I use set analysis ie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Goal Territory Name=Territory Name&amp;gt;}Goal)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not get any results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a simplified down version of the data model. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 17:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327475#M1180546</guid>
      <dc:creator />
      <dc:date>2011-12-29T17:10:01Z</dc:date>
    </item>
    <item>
      <title>Sum(IF   issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327476#M1180547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I can't open your file, what is the format / origin of this? If it's a not too complicated data model, a screenshot of the table viewer might already do the job. At best, you could try building a small sample QV app and upload it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 17:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327476#M1180547</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-29T17:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF   issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327477#M1180548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, It's a microsoft publisher file Here is a screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 18:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-issue/m-p/327477#M1180548</guid>
      <dc:creator />
      <dc:date>2011-12-29T18:45:20Z</dc:date>
    </item>
  </channel>
</rss>

