<?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 not working when selections are made in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546292#M204057</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;I am having a problem that my set analysis is working fine when I dont have a selection made but not working when I am making a selection in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;FinancialYearID={'$(=max(FinancialYearID))'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above function works fine. But the below works fine when I have no selection but has no values displayed when I make a selection in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;FinancialYearID={'$(=max(FinancialYearID)-1)'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am making a comparison between year where I want to compare the previous year with the year selected. I can not figure out why the function that is not working is not working. Thanks for any help I am completely clueless on this one. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2013 09:11:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-29T09:11:13Z</dc:date>
    <item>
      <title>Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546292#M204057</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;I am having a problem that my set analysis is working fine when I dont have a selection made but not working when I am making a selection in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;FinancialYearID={'$(=max(FinancialYearID))'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above function works fine. But the below works fine when I have no selection but has no values displayed when I make a selection in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;FinancialYearID={'$(=max(FinancialYearID)-1)'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am making a comparison between year where I want to compare the previous year with the year selected. I can not figure out why the function that is not working is not working. Thanks for any help I am completely clueless on this one. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 09:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546292#M204057</guid>
      <dc:creator />
      <dc:date>2013-08-29T09:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546293#M204058</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;You need to ignore the selections from the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;max(FinancialYearID)".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like if you are selecting Field1 and Field2 then add this&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;max({&amp;lt;Field1=,Field2=&amp;gt;}FinancialYearID).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 09:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546293#M204058</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2013-08-29T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546294#M204059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It needs analysis on your data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;only({1&amp;lt;FinancialYearID={'$(=max(FinancialYearID)-1)'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Note: It ignores all the selections&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 09:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546294#M204059</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-29T09:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546295#M204060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does depend on whether your Max(FinancialYear) always should show the max value in the data, or it should respect your other selections.&lt;/P&gt;&lt;P&gt;In case it should always result in the max year, you could change the formula to&lt;/P&gt;&lt;P&gt;=only({&amp;lt;FinancialYearID={'$(=max({1}FinancialYearID)-1)'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 09:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546295#M204060</guid>
      <dc:creator>jfkinspari</dc:creator>
      <dc:date>2013-08-29T09:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546296#M204061</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=only({1&amp;lt;FinancialYearID={'$(=max({1}FinancialYearID)-1)'}&amp;gt;}Fiskalår)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 10:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546296#M204061</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-08-29T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546297#M204062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=only({&amp;lt;FinancialYearID*={'$(=max(FinancialYearID)-1)'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 10:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546297#M204062</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-08-29T10:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546298#M204063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the fast answers and input. This is the right answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: However it does not ignore all selections it takes the max FinancialYearID selected and displays the Fiskalår -1 FinancialYearID. I think that is because the 1 refers to ignore the selection of the values for the Fiscalår field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 11:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546298#M204063</guid>
      <dc:creator />
      <dc:date>2013-08-29T11:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546299#M204064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;only({1&amp;lt;FinancialYearID={'$(=max(FinancialYearID)-1)'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 11:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546299#M204064</guid>
      <dc:creator />
      <dc:date>2013-08-29T11:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546300#M204065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to ignore selections for the Max(FinancialYearID) then use&lt;/P&gt;&lt;P&gt;Max({1} FinancialYearID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 11:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546300#M204065</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-29T11:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis not working when selections are made</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546301#M204066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want it to not ignore the selection for the Max(FinancialYearID) so the above answer with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"&lt;EM&gt;only({1&amp;lt;FinancialYearID={'$(=max(FinancialYearID)-1)'}&amp;gt;}Fiskalår)&amp;amp;chr(10)&amp;amp;'Budget&lt;/EM&gt;'" works good,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 11:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-not-working-when-selections-are-made/m-p/546301#M204066</guid>
      <dc:creator />
      <dc:date>2013-08-29T11:26:08Z</dc:date>
    </item>
  </channel>
</rss>

