<?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 help with Slider in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-help-with-Slider/m-p/311132#M1184146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My data model contains a MonthYear field, and a coresponding rolling month counter field called Month#. I have a slider, and want to create a text box that informs the user what range of dates are included in their selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried =minstring(subfield(GetFieldSelections(MonthYear, ',',24), ',')) but of course that returns the alphbetically first MonthYear, not the chromological minimum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I thought something like this might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt;Month#={$(=min(Month#))}&amp;gt;}(subfield(GetFieldSelections(MonthYear, ',',24), ','))) for the min and &lt;/P&gt;&lt;P&gt;only({&amp;lt;Month#={$(=max(Month#))}&amp;gt;}(subfield(GetFieldSelections(MonthYear, ',',24), ','))) might work for the maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for some strange reason, they both return the same value, the min?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: pduplessis &#xD;
&#xD;
Never mind. I simplified and went with MonthName(only({$&amp;lt;Month#={$(=min(Month#))}&amp;gt;}Date)) &amp;amp;' to '&amp;amp;&#xD;
&#xD;
MonthName(only({$&amp;lt;Month#={$(=max(Month#))}&amp;gt;}Date))&amp;nbsp; which works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2011 13:34:50 GMT</pubDate>
    <dc:creator>pduplessis</dc:creator>
    <dc:date>2011-10-04T13:34:50Z</dc:date>
    <item>
      <title>Set Analysis help with Slider</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-help-with-Slider/m-p/311132#M1184146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My data model contains a MonthYear field, and a coresponding rolling month counter field called Month#. I have a slider, and want to create a text box that informs the user what range of dates are included in their selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried =minstring(subfield(GetFieldSelections(MonthYear, ',',24), ',')) but of course that returns the alphbetically first MonthYear, not the chromological minimum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I thought something like this might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt;Month#={$(=min(Month#))}&amp;gt;}(subfield(GetFieldSelections(MonthYear, ',',24), ','))) for the min and &lt;/P&gt;&lt;P&gt;only({&amp;lt;Month#={$(=max(Month#))}&amp;gt;}(subfield(GetFieldSelections(MonthYear, ',',24), ','))) might work for the maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for some strange reason, they both return the same value, the min?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: pduplessis &#xD;
&#xD;
Never mind. I simplified and went with MonthName(only({$&amp;lt;Month#={$(=min(Month#))}&amp;gt;}Date)) &amp;amp;' to '&amp;amp;&#xD;
&#xD;
MonthName(only({$&amp;lt;Month#={$(=max(Month#))}&amp;gt;}Date))&amp;nbsp; which works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-help-with-Slider/m-p/311132#M1184146</guid>
      <dc:creator>pduplessis</dc:creator>
      <dc:date>2011-10-04T13:34:50Z</dc:date>
    </item>
  </channel>
</rss>

