<?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: Set Analysis Formula not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Formula-not-working/m-p/1950369#M78308</link>
    <description>&lt;P&gt;Found a formula similar to this that appears to be bringing in the correct total:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum( aggr( rangesum( below( sum(Forecasted_Demand))),[NextMonth]))&lt;/P&gt;
&lt;P&gt;However, when I add dimensions to the rows in my pivot table, the total is not working properly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 14:58:32 GMT</pubDate>
    <dc:creator>bates3jr</dc:creator>
    <dc:date>2022-06-30T14:58:32Z</dc:date>
    <item>
      <title>Set Analysis Formula not working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Formula-not-working/m-p/1950344#M78305</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;The following formula is not working and I'm not really sure why:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum({$&amp;lt;[Effective Date]={'=[NextMonth]'}&amp;gt;} [Forecasted_Demand] )&lt;/P&gt;
&lt;P&gt;I have a pivot table and in the columns I see months. The formula is intended to be a measure for the next months forecasted demand. Example, in the April column, I want to see May demand etc. My effective date field is correct when I add it to a table and my "NextMonth" field is correct when I add it to a table. But for some reason, the above formula is showing the current months Forecasted Demand rather than the "NextMonth".&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The date values are in 'YYYY-MM-DD' format.&amp;nbsp; I've attached an example that shows what my pivot table looks like. The "Next Month Demand" should equal the following months "Forecast Demand".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas how to fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 14:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Formula-not-working/m-p/1950344#M78305</guid>
      <dc:creator>bates3jr</dc:creator>
      <dc:date>2022-06-30T14:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Formula not working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Formula-not-working/m-p/1950369#M78308</link>
      <description>&lt;P&gt;Found a formula similar to this that appears to be bringing in the correct total:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum( aggr( rangesum( below( sum(Forecasted_Demand))),[NextMonth]))&lt;/P&gt;
&lt;P&gt;However, when I add dimensions to the rows in my pivot table, the total is not working properly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 14:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Formula-not-working/m-p/1950369#M78308</guid>
      <dc:creator>bates3jr</dc:creator>
      <dc:date>2022-06-30T14:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Formula not working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Formula-not-working/m-p/1952414#M78525</link>
      <description>&lt;P&gt;Anyone know how to get this formula to work across multiple dimensions?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 13:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Formula-not-working/m-p/1952414#M78525</guid>
      <dc:creator>bates3jr</dc:creator>
      <dc:date>2022-07-06T13:59:33Z</dc:date>
    </item>
  </channel>
</rss>

