<?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 SetAnalysis not working with selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768468#M537586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into a problem when using set analysis in order to analyse previous months. I have a field called Period (DD.MM.YYYY) and created year(Period) as well as month(Period) from it. These new fields should serve as navigation. In order to calculate the SetAnalysis i apply the field Period. Unfortunately it is not working when only selecting a year and a month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you will find an example file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 07:54:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-05T07:54:46Z</dc:date>
    <item>
      <title>SetAnalysis not working with selection</title>
      <link>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768468#M537586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into a problem when using set analysis in order to analyse previous months. I have a field called Period (DD.MM.YYYY) and created year(Period) as well as month(Period) from it. These new fields should serve as navigation. In order to calculate the SetAnalysis i apply the field Period. Unfortunately it is not working when only selecting a year and a month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you will find an example file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 07:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768468#M537586</guid>
      <dc:creator />
      <dc:date>2014-11-05T07:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: SetAnalysis not working with selection</title>
      <link>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768469#M537587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add to your set analysis Jahr=,Monat=&lt;/P&gt;&lt;P&gt;because when you select a specific Year, and Month then previous 2 months are out of selection&lt;/P&gt;&lt;P&gt;check attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 08:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768469#M537587</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-11-05T08:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: SetAnalysis not working with selection</title>
      <link>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768470#M537588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count({&amp;lt;Periode = {'$(==Date(AddMonths(MakeDate(Max(Jahr),Max(Monat)),-2)))'}&amp;gt;}[Server physisch/virtuell])&lt;/P&gt;&lt;P&gt;If this is not working, kindly provide sample data in excel file....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 08:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768470#M537588</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-05T08:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: SetAnalysis not working with selection</title>
      <link>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768471#M537589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use max function like below &lt;/P&gt;&lt;P&gt;=count(&lt;/P&gt;&lt;P&gt;{&amp;lt;Periode = {'$(=addmonths(&lt;STRONG&gt;max&lt;/STRONG&gt;(Periode),-2))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;[Server physisch/virtuell])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 08:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768471#M537589</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-11-05T08:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: SetAnalysis not working with selection</title>
      <link>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768472#M537590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This formula worked perfectly, while the others didn't. Thank you!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Talking about the other ones, both worked when i only extracted the date calculation to a textfield. Eg: ='$(=addmonths(&lt;STRONG&gt;max&lt;/STRONG&gt;(Periode),-2))'}&lt;/P&gt;&lt;P&gt;The moment i added it to SetAnalysis it refused to work though. Any explanation for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 08:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SetAnalysis-not-working-with-selection/m-p/768472#M537590</guid>
      <dc:creator />
      <dc:date>2014-11-05T08:55:10Z</dc:date>
    </item>
  </channel>
</rss>

