<?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 Using Set Analysis for Date Ranges...What to do when date is Selected??? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-for-Date-Ranges-What-to-do-when-date-is/m-p/119679#M18411</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 have three textboxes showing totals.&amp;nbsp; Im using set analysis to show the total for the previous full week in the first box, previous full month in the second and previous 3 full months in the third.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working as I'd like but I'm not sure what do display in these boxes when the user selects a certain date, month or year etc from the date filters..&amp;nbsp; Can anyone suggest anything? For example if the user selects 2017 from the year filter all these boxes show '0' whereas I'd like to be able to show something .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the open ended question &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you guys can offer some thoughts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2018 08:33:24 GMT</pubDate>
    <dc:creator>prees959</dc:creator>
    <dc:date>2018-07-24T08:33:24Z</dc:date>
    <item>
      <title>Using Set Analysis for Date Ranges...What to do when date is Selected???</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-for-Date-Ranges-What-to-do-when-date-is/m-p/119679#M18411</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 have three textboxes showing totals.&amp;nbsp; Im using set analysis to show the total for the previous full week in the first box, previous full month in the second and previous 3 full months in the third.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working as I'd like but I'm not sure what do display in these boxes when the user selects a certain date, month or year etc from the date filters..&amp;nbsp; Can anyone suggest anything? For example if the user selects 2017 from the year filter all these boxes show '0' whereas I'd like to be able to show something .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the open ended question &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you guys can offer some thoughts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 08:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-for-Date-Ranges-What-to-do-when-date-is/m-p/119679#M18411</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2018-07-24T08:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis for Date Ranges...What to do when date is Selected???</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-for-Date-Ranges-What-to-do-when-date-is/m-p/119680#M18412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using set expressions is the way to go to achieve what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can override the current selections totally by using for instance this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&lt;STRONG&gt;1&lt;/STRONG&gt;} Sales )&amp;nbsp;&amp;nbsp; - the 1 here is a so-called set identifier - signifying all the records and all the values without any user-selections applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add some selections like your date-selections similar to this by using set modifiers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {1&lt;STRONG&gt;&amp;lt;Year={2016},Month={1,2,3}&amp;gt;&lt;/STRONG&gt;} Sales ) - will disregard any selections but apply a new selection via the set modifiers bracketed by the chevrons or angle-brackets &amp;lt; and &amp;gt;.&amp;nbsp; The selections in this case is quite obvious. Year 2017 and the Q1 of that year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 09:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-for-Date-Ranges-What-to-do-when-date-is/m-p/119680#M18412</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-07-24T09:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis for Date Ranges...What to do when date is Selected???</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-for-Date-Ranges-What-to-do-when-date-is/m-p/119681#M18413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of overriding all current selections you can remove specific field selections from the current selection by doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt;Year=&amp;gt;} Sales ) - this disregards the Year selection entirely but keeps whatever other user-selections that might be currently selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW the $ is the set identifier for the current selection which is also optional so the above expression could be written like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;Year=&amp;gt;} Sales )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Note: after the equals sign there is nothing and then the set modifier part of this set experssion ends with the ending angle bracket. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 09:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-for-Date-Ranges-What-to-do-when-date-is/m-p/119681#M18413</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-07-24T09:37:21Z</dc:date>
    </item>
  </channel>
</rss>

