<?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 7 Days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423890#M429144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming EndDate is a weekend date or something unique for each week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;EndDate={'$(=max(EndDate))'}&amp;gt;}Hours)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 17:43:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-24T17:43:38Z</dc:date>
    <item>
      <title>Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423884#M429138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script that shows hours and an EndDate column. I need to show a graph with dimension weekday (Mon,tues, wed, etc..) with an expression showing the hours of the last week I just uploaded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="weekday.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180724_weekday.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to find an dynamic expression that will only show the hours for the days of the last week i uploaded. Need the expression to read the last week (EndDate) i uploaded without me selecting a date. Please help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423884#M429138</guid>
      <dc:creator>natisham</dc:creator>
      <dc:date>2017-10-24T14:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423885#M429139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you load data find the max value for EndDate then compute (into a variable 7 days before)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the variable in your dimension into the graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423885#M429139</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2017-10-24T14:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423886#M429140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cant figure out a correct variable to use. Any Suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423886#M429140</guid>
      <dc:creator>natisham</dc:creator>
      <dc:date>2017-10-24T14:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423887#M429141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTab:&lt;/P&gt;&lt;P&gt;Select Max(EndDate) as maxi, Num(&lt;SPAN style="font-size: 13.3333px;"&gt;Max(EndDate)-7&lt;/SPAN&gt; as Maxi7 From ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET&amp;nbsp; vMaxi7 = peek('Maxi7,0,'MyTab');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use Maxi7 in your Graph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423887#M429141</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2017-10-24T15:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423888#M429142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to have a calculated dimension?&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;=aggr($(maxi7), WeekDay)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423888#M429142</guid>
      <dc:creator>natisham</dc:creator>
      <dc:date>2017-10-24T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423889#M429143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then my expression would be sum(hours)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423889#M429143</guid>
      <dc:creator>natisham</dc:creator>
      <dc:date>2017-10-24T15:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423890#M429144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming EndDate is a weekend date or something unique for each week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;EndDate={'$(=max(EndDate))'}&amp;gt;}Hours)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423890#M429144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T17:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423891#M429145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression only shows me sunday data. My dimension is Weekday. Any way to show the data for the whole week. Hours is uploaded daily named EndDate. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423891#M429145</guid>
      <dc:creator>natisham</dc:creator>
      <dc:date>2017-10-24T17:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423892#M429146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying expression =if(EndDate &amp;gt;= (max(EndDate)-7) and EndDate &amp;lt; max(EndDate), Hours) but there is no data to display&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423892#M429146</guid>
      <dc:creator>natisham</dc:creator>
      <dc:date>2017-10-24T17:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423893#M429147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest way is in the script, you need to add a column that is the same value for everyday in the week.&lt;/P&gt;&lt;P&gt;Something like &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;date(floor(WeekEnd(EndDate))) as WeekendDate&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;then you can do &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;WeekendDate={'$(=max(WeekendDate))'}&amp;gt;}Hours)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423893#M429147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T17:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423894#M429148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Worked like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1423894#M429148</guid>
      <dc:creator>natisham</dc:creator>
      <dc:date>2017-10-24T17:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1994293#M1221300</link>
      <description>&lt;P&gt;What if i wanted to show&amp;nbsp; one highest value of sales in last 30 days?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 07:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1994293#M1221300</guid>
      <dc:creator>Brownie</dc:creator>
      <dc:date>2022-10-19T07:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1994409#M1221302</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/201771"&gt;@Brownie&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This thread is 5 years old, so suggest that you start a new thread to ask your quesitons.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 11:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-7-Days/m-p/1994409#M1221302</guid>
      <dc:creator>Chip_Matejowsky</dc:creator>
      <dc:date>2022-10-19T11:18:25Z</dc:date>
    </item>
  </channel>
</rss>

