<?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: Last 4 week data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224563#M859201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide source data or sample application..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2017 10:29:27 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2017-01-24T10:29:27Z</dc:date>
    <item>
      <title>Last 4 week data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224562#M859200</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 building a dashboard which represents data in chart for last 4 week. I have ListBoxes of Year, Month, Day.&lt;/P&gt;&lt;P&gt;When I select a only day it shows correct result.Ex. 03rd Dec. but when I select specific month ( like Dec), it shows data till 01st of Dec only. Again when I clear Month filter data shows correct.&lt;/P&gt;&lt;P&gt;For calculating I have used following set analysis.&lt;/P&gt;&lt;P&gt;Week1: &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Report Day]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(Max([Report Day])-6))&amp;lt;=$(=Date(Max([Report Day])))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Chat Request]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Week2: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Report Day]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(Max([Report Day])-14))&amp;lt;=$(=Date(Max([Report Day]-7)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Chat Request]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Week3: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Report Day]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(Max([Report Day])-21))&amp;lt;=$(=Date(Max([Report Day]-15)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Chat Request]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Week4: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Report Day]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(Max([Report Day])-27))&amp;lt;=$(=Date(Max([Report Day]-22)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Chat Request]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this..&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/Last-4-week-data/m-p/1224562#M859200</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224563#M859201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide source data or sample application..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224563#M859201</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-01-24T10:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224564#M859202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to ignore selection in Month field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Week1: =&lt;/SPAN&gt;Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-6))&amp;lt;=$(=Date(Max([Report Day])))"}&lt;SPAN style="color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Week2: =Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-14))&amp;lt;=$(=Date(Max([Report Day]-7)))"}&lt;SPAN style="color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Week3: =Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-21))&amp;lt;=$(=Date(Max([Report Day]-15)))"}&lt;SPAN style="color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Week4: =Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-27))&amp;lt;=$(=Date(Max([Report Day]-22)))"}&lt;SPAN style="color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224564#M859202</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T10:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224565#M859203</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;As per my understanding, you are selecting both date and month. Is it right?&amp;nbsp; and you want to have data from 3rd dec to 6th November even when you selected Month. Please confirm if I'm right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224565#M859203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-24T10:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224566#M859204</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;Right now we are ignoring the month field. So it generates correct result. But user friendly perspective, we cant tell others to clear month if you wish to see weekly trend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Vishwa,&lt;/P&gt;&lt;P&gt;Yes, you are correct. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 12:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224566#M859204</guid>
      <dc:creator />
      <dc:date>2017-01-24T12:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224567#M859205</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;Sorry. I did not see your comment in detailed. its actual answer.&lt;/P&gt;&lt;P&gt;Thanks dude&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 12:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224567#M859205</guid>
      <dc:creator />
      <dc:date>2017-01-24T12:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last 4 week data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224568#M859206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not what I meant... Not asking users to not select it... but ignore there selection in your expression. Have you tried the expressions I gave above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Week1: =&lt;/SPAN&gt;Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-6))&amp;lt;=$(=Date(Max([Report Day])))"}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Week2: =Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-14))&amp;lt;=$(=Date(Max([Report Day]-7)))"}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Week3: =Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-21))&amp;lt;=$(=Date(Max([Report Day]-15)))"}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Week4: =Sum({$&amp;lt;[Report Day] = {"&amp;gt;=$(=Date(Max([Report Day])-27))&amp;lt;=$(=Date(Max([Report Day]-22)))"}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Chat Request])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-4-week-data/m-p/1224568#M859206</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T13:00:01Z</dc:date>
    </item>
  </channel>
</rss>

