<?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: MonthEnd - 7 day sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44552#M7481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It looks good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Mar 2018 13:09:58 GMT</pubDate>
    <dc:creator>vireshkolagimat</dc:creator>
    <dc:date>2018-03-18T13:09:58Z</dc:date>
    <item>
      <title>MonthEnd - 7 day sales</title>
      <link>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44549#M7478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get MonthEnd-7 days sales and i created the below expression. But in order to see last 7 day sales i have make selections. How i can make it fixed one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;DateKey={"&amp;gt;=$(=Date(Max(DateKey-6)),'YYYYMMDD')&amp;lt;=$(=Max(DateKey))"}&amp;gt;}SalesValue*SalesQty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not looking for last 7 days but but it should be like monthend -7 days sales for each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i choose Jan month, then it should show the Jan month sales(it looks fine) and last 7 days sales of Jan month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data should look like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="386"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="21" width="172"&gt;Division&lt;/TD&gt;&lt;TD class="xl64" width="111"&gt;Jan Sales&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="103"&gt;Last 7 Day Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" style="border-top: none;"&gt;Consumer&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;1,000.000&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30.000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 12:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44549#M7478</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2018-03-18T12:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: MonthEnd - 7 day sales</title>
      <link>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44550#M7479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;There is a function Monthend() to get the end of the month, use something like&lt;BR /&gt;&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;DateKey={"&amp;gt;=$(=Date(Monthend(Max(DateKey))-6,'YYYYMMDD'))&amp;lt;=$(=Date(Monthend(Max(DateKey)),'YYYYMMDD'))"}&amp;gt;}SalesValue*SalesQty)&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;edit: Changed first search date&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 13:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44550#M7479</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-03-18T13:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: MonthEnd - 7 day sales</title>
      <link>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44551#M7480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And remember to clear user selections in calender fields (other date fields) you need to ignore (like week, Date, Day):&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;DateKey={"&amp;gt;=$(=Date(Monthend(Max(DateKey))-6,'YYYYMMDD'))&amp;lt;=$(=Date(Monthend(Max(DateKey)),'YYYYMMDD'))"}&lt;EM&gt;, OtherDateOrWeekField=&lt;/EM&gt; &amp;gt;}SalesValue*SalesQty)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 13:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44551#M7480</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-03-18T13:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: MonthEnd - 7 day sales</title>
      <link>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44552#M7481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It looks good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 13:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44552#M7481</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2018-03-18T13:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: MonthEnd - 7 day sales</title>
      <link>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44553#M7482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I did. thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 13:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthEnd-7-day-sales/m-p/44553#M7482</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2018-03-18T13:22:23Z</dc:date>
    </item>
  </channel>
</rss>

