<?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 not working for other selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487129#M1139014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need to clear selections in all calendar fields the user may select in, e.g. Year and Month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;CALENDAR.calendarDate={"&amp;gt;=$(=addmonths(monthend(max(CALENDAR.calendarDate))+1,-3)) &amp;lt;=$(=max(CALENDAR.calendarDate))"}, Year=, Month= &amp;gt;}&lt;/P&gt;&lt;P&gt;IF(kpiName =SelectedKPI,kpiValue))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Sep 2013 13:39:00 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-09-27T13:39:00Z</dc:date>
    <item>
      <title>set analysis not working for other selections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487128#M1139013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long time listener, first time caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set analysis function that sums the KPIValue for a specific period (3 months back).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;CALENDAR.calendarDate={"&amp;gt;=$(=addmonths(monthend(max(CALENDAR.calendarDate))+1,-3)) &amp;lt;=$(=max(CALENDAR.calendarDate))"}&amp;gt;}IF(kpiName =SelectedKPI,kpiValue))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of "1", the function doesn't take into account other selections that I can do on the dashboard.&lt;/P&gt;&lt;P&gt;If I change "1" to "$", I will only get the sum of the current month selection. &lt;/P&gt;&lt;P&gt;If I remove "1", I get the same (sum of current month selection).&lt;/P&gt;&lt;P&gt;Mind you, I have only enabled Month, and Year selections from the time dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change the function above to be able to take into consideration other selections from existing List Boxes that I have?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 12:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487128#M1139013</guid>
      <dc:creator>vonkonormalni</dc:creator>
      <dc:date>2013-09-27T12:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working for other selections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487129#M1139014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need to clear selections in all calendar fields the user may select in, e.g. Year and Month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;CALENDAR.calendarDate={"&amp;gt;=$(=addmonths(monthend(max(CALENDAR.calendarDate))+1,-3)) &amp;lt;=$(=max(CALENDAR.calendarDate))"}, Year=, Month= &amp;gt;}&lt;/P&gt;&lt;P&gt;IF(kpiName =SelectedKPI,kpiValue))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 13:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487129#M1139014</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-27T13:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working for other selections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487130#M1139015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have year and month available for selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But adding that info in the formula (as you suggested), doesn't change a thing. I think that there is similar case on this forum, but it doesn't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation returns the value for the sum of the 3 months, irrelevant of the other list box selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 14:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487130#M1139015</guid>
      <dc:creator>vonkonormalni</dc:creator>
      <dc:date>2013-09-27T14:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working for other selections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487131#M1139016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share a sample app. There could be many other things in your app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 15:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487131#M1139016</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-27T15:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working for other selections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487132#M1139017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, you need to remove the 1 set identifer in my previous post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;CALENDAR.calendarDate={"&amp;gt;=$(=addmonths(monthend(max(CALENDAR.calendarDate))+1,-3)) &amp;lt;=$(=max(CALENDAR.calendarDate))"}, Year=, Month= &amp;gt;}&lt;/P&gt;&lt;P&gt;IF(kpiName =SelectedKPI,kpiValue))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 15:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487132#M1139017</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-27T15:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working for other selections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487133#M1139018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-not-working-for-other-selections/m-p/487133#M1139018</guid>
      <dc:creator>vonkonormalni</dc:creator>
      <dc:date>2013-09-30T07:30:02Z</dc:date>
    </item>
  </channel>
</rss>

