<?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 Set Analysis and Getfieldselections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190693#M53108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sravan,&lt;/P&gt;&lt;P&gt;I haven't checked this myself but I know that in the following thread this has been discussed as well:&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/p/27578/116554.aspx#116554&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jun 2010 13:51:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-16T13:51:04Z</dc:date>
    <item>
      <title>Set Analysis and Getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190692#M53107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Dashboard (Showing 4 KPIs) which contains the 1st Calendar with Day and Month. Only two KPIs are dependent on this calendar and the other two KPIs are dependent on the other Calender (2nd Calendar).&lt;/P&gt;&lt;P&gt;The Problem is when a Client tries to change the calendar on the Dashboard, the figures are wrong for the Third and Fourth KPI, which actually depend on the 2nd Calendar.&lt;/P&gt;&lt;P&gt;I am now trying with a Set Analysis to change the selections in the chart with this Formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Sum ({&amp;lt;2_Calendar.Year = {"$(=getfieldselections('1_Calendar.Year'))"}, 2_Calendar.Month = {"$(= getfieldselections('1_Calendar.Month'))"}&amp;gt;} SKU_Orders.MaterialChange)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But it does not work.. Any ideas??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 13:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190692#M53107</guid>
      <dc:creator />
      <dc:date>2010-06-16T13:25:49Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190693#M53108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sravan,&lt;/P&gt;&lt;P&gt;I haven't checked this myself but I know that in the following thread this has been discussed as well:&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/p/27578/116554.aspx#116554&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 13:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190693#M53108</guid>
      <dc:creator />
      <dc:date>2010-06-16T13:51:04Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190694#M53109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi keller,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the same thread to write the set Analysis but I dont get the values. May be my set analysis code is wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 13:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190694#M53109</guid>
      <dc:creator />
      <dc:date>2010-06-16T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190695#M53110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is off topic, but my advice would be to really think about your data model again.&lt;/P&gt;&lt;P&gt;Is it possible to change the load of the base data so that there is one main date in the model and all 4 KPI's work off one Calendar? Maybe you can do this by adding a 3rd Calendar, which the first 2 link into. 3rd Calendar is the KPI report date.&lt;/P&gt;&lt;P&gt;KPI's should be a specific snapshot in time. If you put them all on one page, what date should they be reporting for?&lt;/P&gt;&lt;P&gt;If you can't change the model and the KPI's are on different sheets, you could put in a macro, so that when a sheet is selected, the Year &amp;amp; Month from Calendar1 are copied to be the Year &amp;amp; Month for Calendar2.&lt;/P&gt;&lt;P&gt;eg. OnActivateSheet Run "SwitchDate1to2"&lt;/P&gt;&lt;P&gt;sub SwitchDate1to2&lt;/P&gt;&lt;P&gt;Activedocument.Fields ("Year").select....&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone else would need to help with the rest of the macro though! It is not my speciality &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 14:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Getfieldselections/m-p/190695#M53110</guid>
      <dc:creator />
      <dc:date>2010-06-16T14:52:07Z</dc:date>
    </item>
  </channel>
</rss>

