<?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: Ignore User Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421783#M157110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13524925186772363" jivemacro_uid="_13524925186772363"&gt;&lt;P&gt;COUNT({$&amp;lt;TIME_Year_Month_num={$(=MAX(TIME_Year_Month_num))},TIME_Year= ,TIME_Month_Num= ,RACKER_Above_Max={$(='Y')}&amp;gt;}COMPA_RATIO_BIN)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using this (^) expression to create a bar chart of values in COMPA_RATIO_BIN.&amp;nbsp; I only want to count and display the values in the latest month in the latest year of my data.&amp;nbsp; To identify this latest month in the latest year, I've created [TIME_Year_Month_num] which is a concatenation of the year with a 2-digit month number (e.g. for September of 2012, [TIME_Year_Month_num] = 201209).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, when I make selections in Month or Year listboxes, the data in the chart clearly changes.&amp;nbsp; By my understanding of set analysis, this shouldn't happen because I've entered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIME_Year= &lt;/P&gt;&lt;P&gt;TIME_Month_Num=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2012 20:35:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-09T20:35:57Z</dc:date>
    <item>
      <title>Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421783#M157110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13524925186772363" jivemacro_uid="_13524925186772363"&gt;&lt;P&gt;COUNT({$&amp;lt;TIME_Year_Month_num={$(=MAX(TIME_Year_Month_num))},TIME_Year= ,TIME_Month_Num= ,RACKER_Above_Max={$(='Y')}&amp;gt;}COMPA_RATIO_BIN)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using this (^) expression to create a bar chart of values in COMPA_RATIO_BIN.&amp;nbsp; I only want to count and display the values in the latest month in the latest year of my data.&amp;nbsp; To identify this latest month in the latest year, I've created [TIME_Year_Month_num] which is a concatenation of the year with a 2-digit month number (e.g. for September of 2012, [TIME_Year_Month_num] = 201209).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, when I make selections in Month or Year listboxes, the data in the chart clearly changes.&amp;nbsp; By my understanding of set analysis, this shouldn't happen because I've entered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIME_Year= &lt;/P&gt;&lt;P&gt;TIME_Month_Num=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421783#M157110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-09T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421784#M157111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Try using a 1 instead of the $ sign&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421784#M157111</guid>
      <dc:creator />
      <dc:date>2012-11-09T20:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421785#M157112</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;PRE class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 1.2em; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; border-style: solid; padding: 10px;"&gt;&lt;CODE class="jive-code"&gt;COUNT({$&amp;lt;TIME_Year_Month_num={$(=MAX(&lt;STRONG&gt;{1}&lt;/STRONG&gt;TIME_Year_Month_num))},TIME_Year= ,TIME_Month_Num= ,RACKER_Above_Max={$(='Y')}&amp;gt;}COMPA_RATIO_BIN) &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the {1} in max() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also try mr.rebeccad post also..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421785#M157112</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-09T20:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421786#M157113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Silly Mayil, I am a girl!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421786#M157113</guid>
      <dc:creator />
      <dc:date>2012-11-09T20:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421787#M157114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a) Thanks for the ultra-quick reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) I'd rather not use a 1 because I have other list boxes (besides year and month) that I'd like to let change the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) I tried using a 1 just to see what would happen.&amp;nbsp; All of the list box filters EXCEPT for year and month are ignored.&amp;nbsp; Could this somehow be due to the fact that I use month and year to define TIME_Year_Month_num in my script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421787#M157114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-09T20:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421788#M157115</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; Oops. really sorry rebeccad, am from India..I didn't heard this name before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421788#M157115</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-09T20:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421789#M157116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use max(TOTAL datefield) if you want it to always take the absolute max, despite what is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421789#M157116</guid>
      <dc:creator />
      <dc:date>2012-11-09T20:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421790#M157117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I just thought it was funny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421790#M157117</guid>
      <dc:creator />
      <dc:date>2012-11-09T20:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421791#M157118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mayil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; That worked perfectly.&amp;nbsp; But can you explain what that {1} does and why it worked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421791#M157118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-09T20:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Ignore User Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421792#M157119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mhouston00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max({1}TimeYearNum)&amp;nbsp; holds the maximum Year n ignore any selection in the filters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And remaining values, it change according to your selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For rebeccad:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Ignore-User-Selections/m-p/421792#M157119</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-09T20:55:58Z</dc:date>
    </item>
  </channel>
</rss>

