<?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 Range Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Range-Question/m-p/528468#M689255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;I'm working on a governance project. I'm trying to select only users who have used the server in the current month, have not used the server in the last month. Here are some of the dimensions I am using:&lt;/P&gt;&lt;P&gt;UserID&lt;/P&gt;&lt;P&gt;SessionStartDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I keep using the only() statement with some set analysis but I can't seem to find one that will include all of the current month users that had not been on the previous month. Any help would be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 19:55:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-25T19:55:25Z</dc:date>
    <item>
      <title>Set Analysis Range Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Range-Question/m-p/528468#M689255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;I'm working on a governance project. I'm trying to select only users who have used the server in the current month, have not used the server in the last month. Here are some of the dimensions I am using:&lt;/P&gt;&lt;P&gt;UserID&lt;/P&gt;&lt;P&gt;SessionStartDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I keep using the only() statement with some set analysis but I can't seem to find one that will include all of the current month users that had not been on the previous month. Any help would be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 19:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Range-Question/m-p/528468#M689255</guid>
      <dc:creator />
      <dc:date>2013-10-25T19:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Range Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Range-Question/m-p/528469#M689256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this should work:&lt;/P&gt;&lt;P&gt;=concat({&amp;lt;User=P({&amp;lt;Month={'Oct-13'}&amp;gt;})&amp;gt; - &amp;lt;User=P({&amp;lt;Month={'Sep-13'}&amp;gt;})&amp;gt;} distinct User, '; ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hardcoded here Oct-13 and Sep-13 for quick testing (as it is formatted in my app), you'll have to make it suitable for you case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 20:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Range-Question/m-p/528469#M689256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T20:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Range Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Range-Question/m-p/528470#M689257</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;It seems, you don't have the Month field for your SessionStartDate field. So, Try the below:&lt;/P&gt;&lt;P&gt;=Concat({&amp;lt;UserID =&amp;nbsp; P({&amp;lt;SessionStartDate = {'&amp;gt;=$(=(MonthStart(now()))) &amp;lt;=$(=(MonthEnd(now())))'}&amp;gt; })&amp;gt; - &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;UserID =&amp;nbsp; p({&amp;lt;SessionStartDate = {'&amp;gt;=$(=(MonthStart(AddMonths(now(),-1)))) &amp;lt;=$(=(MonthEnd(AddMonths(now(),-1))))'}&amp;gt;}) &amp;gt;}&amp;nbsp; DISTINCT UserID, '|')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 04:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Range-Question/m-p/528470#M689257</guid>
      <dc:creator />
      <dc:date>2013-10-26T04:55:59Z</dc:date>
    </item>
  </channel>
</rss>

