<?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: set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75707#M778659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2018 04:32:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-23T04:32:05Z</dc:date>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75702#M778654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a line chart,using date column for dimension and sum of revenue for expression.&lt;/P&gt;&lt;P&gt;whenever i should select a date i should see data for the last 30 days&lt;/P&gt;&lt;P&gt;I am using this set analysis sum({&amp;lt;Month=,Date={'&amp;gt;=$(=thirty_day)) &amp;amp; &amp;lt;=$(=select_day)'}&amp;gt;}Revenue)&lt;/P&gt;&lt;P&gt;where select_day and thirty_day are variables and gives the selected day and 30th day from the selected date respectively&lt;/P&gt;&lt;P&gt;this is not working for me, I am attaching a image of what I am looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75702#M778654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75703#M778655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your format for Date and variables is same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Month=,Date={"&amp;gt;=$(=thirty_day)&amp;lt;=$(=select_day)"}&amp;gt;}Revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 16:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75703#M778655</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-04-22T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75704#M778656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date={"&amp;gt;=$(=Date(Max(Date)-29))&amp;nbsp; &amp;lt;=$(=Max(Date(Date)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200475_Capture.PNG" style="height: 165px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 18:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75704#M778656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-22T18:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75705#M778657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume your Date field is in your actual Date format. It will not work to compare a day with date. Follow Aruna's expression else share your variable expression you have. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 19:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75705#M778657</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-22T19:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75706#M778658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amrit&lt;/P&gt;&lt;P&gt;You might need to add 1 into the set analysis to select from the entire dataset. The issue with Aruna's response is it works from the most recent date in the data as a point of reference. When nothing is placed in the start of the set analysis Qlik works on the current selections, this can be represented with a $ where I have added the 1. Putting in the Month= will make it ignore a selection of month but your selection is in the date field, and you can't ignore that in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({1&amp;lt;Date={'&amp;gt;=$(=thirty_day)) &amp;amp; &amp;lt;=$(=select_day)'}&amp;gt;}Revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 23:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75706#M778658</guid>
      <dc:creator>campbellr</dc:creator>
      <dc:date>2018-04-22T23:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75707#M778659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 04:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/75707#M778659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T04:32:05Z</dc:date>
    </item>
  </channel>
</rss>

