<?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 Re: Sliders and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sliders-and-Set-Analysis/m-p/36315#M6142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a calendar with months in your model? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some ideas: set the upper limit of the vEndDate slider to the last month end date. That way the user can never select a date in the current (incomplete) month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use RangeMin(vEndDate, vMaxCompleteMonths) where vMaxCompleteMonths is a variable that returns the last complete month. Define vMaxCompleteMonths something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set vMaxCompleteMonths = '=Date(Floor(MonthEnd(Max(Month, 2))))';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;Set vMaxCompleteMonths = '=Date(Floor(MonthEnd(Max(Month). -1)))';&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Jun 2018 07:57:48 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2018-06-17T07:57:48Z</dc:date>
    <item>
      <title>Sliders and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sliders-and-Set-Analysis/m-p/36314#M6141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a slider defining variables (vStrtDate and vEndDate) on a sale date ranging from 1-Jan-2013 to till date. I am using these variables on an aggregation (count) in a set analysis statement. I want only completed months data but not the current months data. If today is 15th May, I wanted data from 1st Jan 2013 to 31st May 2018 without using IF statement anywhere neither in defining variables or in expressions in frontend objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only data of completed months should be taken into consideration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Ram &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2018 05:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sliders-and-Set-Analysis/m-p/36314#M6141</guid>
      <dc:creator>rammarthi</dc:creator>
      <dc:date>2018-06-17T05:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sliders and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sliders-and-Set-Analysis/m-p/36315#M6142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a calendar with months in your model? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some ideas: set the upper limit of the vEndDate slider to the last month end date. That way the user can never select a date in the current (incomplete) month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use RangeMin(vEndDate, vMaxCompleteMonths) where vMaxCompleteMonths is a variable that returns the last complete month. Define vMaxCompleteMonths something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set vMaxCompleteMonths = '=Date(Floor(MonthEnd(Max(Month, 2))))';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;Set vMaxCompleteMonths = '=Date(Floor(MonthEnd(Max(Month). -1)))';&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2018 07:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sliders-and-Set-Analysis/m-p/36315#M6142</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-06-17T07:57:48Z</dc:date>
    </item>
  </channel>
</rss>

