<?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 How to get the last 7 days sales without using TODAY() function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131838#M915963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW TO GET LAST 7 DAYS SALES WITHOUT USING TODAY() FUNCTION?&lt;/P&gt;&lt;P&gt;If I select 1/25/2016 i need to display 7 days sales(1/18/2016 to 1/24/2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;last 7 days sales is:119&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>gireesh1216</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to get the last 7 days sales without using TODAY() function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131838#M915963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW TO GET LAST 7 DAYS SALES WITHOUT USING TODAY() FUNCTION?&lt;/P&gt;&lt;P&gt;If I select 1/25/2016 i need to display 7 days sales(1/18/2016 to 1/24/2016)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;last 7 days sales is:119&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find attachment&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/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131838#M915963</guid>
      <dc:creator>gireesh1216</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last 7 days sales without using TODAY() function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131839#M915964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Date = {"&amp;gt;=$(=Date(Max(Date)-7,'M/D/YYYY'))&amp;lt;$(=Date(Max(Date),'M/D/YYYY'))"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 08:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131839#M915964</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-24T08:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last 7 days sales without using TODAY() function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131840#M915965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression is the same, but I usually right the expression out like this:&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;&lt;STRONG&gt;=Sum({&amp;lt;Date = {"$(&lt;SPAN style="color: #ff0000;"&gt;='&amp;gt;=' &amp;amp; Date(Max(Date)-7,'M/D/YYYY') &amp;amp; '&amp;lt;' &amp;amp; Date(Max(Date),'M/D/YYYY')&lt;/SPAN&gt;)"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I do this is because in case you wish to know what is the range you have added in your expression. You can grab the part between the dollar sign expansion (part in red) and paste it in a text box object to see the range:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;='&amp;gt;=' &amp;amp; Date(Max(Date)-7,'M/D/YYYY') &amp;amp; '&amp;lt;' &amp;amp; Date(Max(Date),'M/D/YYYY')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This in a text box object should give you the required range in the format of your date field. If it is not, then you have a problem and need to fix this part for your set analysis to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When no selection&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/125539_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we select another date&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/125546_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 09:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131840#M915965</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-24T09:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last 7 days sales without using TODAY() function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131841#M915966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question to your post above. Please can you let me know if it is possible to have, in that same straight table that you have, a second column, that lists the last seven days for every date in the list? I don't necessarily want to have a date selected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 08:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131841#M915966</guid>
      <dc:creator>wcilliers</dc:creator>
      <dc:date>2016-11-28T08:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last 7 days sales without using TODAY() function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131842#M915967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to achieve what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-last-7-days-sales-without-using-TODAY-function/m-p/1131842#M915967</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-28T09:38:28Z</dc:date>
    </item>
  </channel>
</rss>

