<?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: [ASK] how to sum last 50 days grouped by dayname in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431975#M430587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rendi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;gt;=$(=Date(Today()-50,'MM/DD/YYYY'))"}&amp;gt;}aggr(sum({&amp;lt;Date={"&amp;gt;=$(=Date(Today()-50,'MM/DD/YYYY'))"}&amp;gt;}Value),NameDay))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make a chart with only the NameDay and expression. I've hardcoded the 50 value, so it gets the last 50 days as of today, but you can change the logic behind it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached a sample data and qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2017 13:05:05 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2017-10-25T13:05:05Z</dc:date>
    <item>
      <title>[ASK] how to sum last 50 days grouped by dayname</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431974#M430586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikView master,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my client have a requirement to sum value for the last 50days and grouped by dayname.&lt;/P&gt;&lt;P&gt;For example mw last 56days data will be like below :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180871_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;with expressions :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year=, Quarter=, Month=, Week=, CalDate=&lt;/P&gt;&lt;P&gt;{'&amp;gt;=$(=date(daystart(vEndDate, -$(vDayParam)*7)))'}*{'&amp;lt;=$(=date(daystart(vEndDate)))'}&amp;gt;} &lt;/P&gt;&lt;P&gt;Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And User expectation will be like :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/180878_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that achieveable with qlikview?&lt;/P&gt;&lt;P&gt;if yes, how to achieve that expectation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 12:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431974#M430586</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2017-10-25T12:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] how to sum last 50 days grouped by dayname</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431975#M430587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rendi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;gt;=$(=Date(Today()-50,'MM/DD/YYYY'))"}&amp;gt;}aggr(sum({&amp;lt;Date={"&amp;gt;=$(=Date(Today()-50,'MM/DD/YYYY'))"}&amp;gt;}Value),NameDay))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make a chart with only the NameDay and expression. I've hardcoded the 50 value, so it gets the last 50 days as of today, but you can change the logic behind it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached a sample data and qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431975#M430587</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-10-25T13:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] how to sum last 50 days grouped by dayname</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431976#M430588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why you would need the aggr.&lt;/P&gt;&lt;P&gt;I think just this would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;gt;=$(=Date(Today()-56,'MM/DD/YYYY'))"}&amp;gt;}Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431976#M430588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-25T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] how to sum last 50 days grouped by dayname</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431977#M430589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, you're right Wallo, it's not really needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He can simply put it the way you stated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431977#M430589</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-10-25T16:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] how to sum last 50 days grouped by dayname</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431978#M430590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes thank's..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 04:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-how-to-sum-last-50-days-grouped-by-dayname/m-p/1431978#M430590</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2017-10-26T04:17:57Z</dc:date>
    </item>
  </channel>
</rss>

