<?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: Same Weekday same Week Last Year as part of a range covering last 7 days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116403#M368447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have another expression/s in your table you are viewing this in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 15:50:52 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-29T15:50:52Z</dc:date>
    <item>
      <title>Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116395#M368439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Hi&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;I have a straight table with the following Dimension which displays data for the previous 7 days. varViewDate simply sets the "current date" of the data to look at:&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;=Date(if(Date&amp;gt;=($(varViewDate)-7) and Date&amp;lt;=($(varViewDate)-1), Date),'DD/MM/YYYY')&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;And expressions to display the corresponding revenue and budget for each of those days. These exclude any date fields from the expression so they only ever show the last 7 days:&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;=ONLY({$&amp;lt;Year=,Quarter=,Month=,Week=,Day=,Date={'&amp;gt;=$(=(varViewDate)-7)&amp;lt;=$(=(varViewDate)-1)'}&amp;gt;}Revenue)&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;=ONLY({$&amp;lt;Year=,Quarter=,Month=,Week=,Day=,Date={'&amp;gt;=$(=(varViewDate)-7)&amp;lt;=$(=(varViewDate)-1)'}&amp;gt;}RevBudget)&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;This all works correctly so far.&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;What I now want to do is display the data for the "same day" last year. "Same day" is the same day of the week in the same week of the year last year, across the range for the previous 7 days. For example Thursday 2nd June 2016 corresponds to Thursday 28th May 2015. Shown here as column "2015".&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;IMG alt="Straight table L4L.png" class="jive-image image-1" src="/legacyfs/online/129210_Straight table L4L.png" style="width: 620px; height: 214px;" /&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;In a text box, the formula below displays the correct date last year. Changing the number 7 correctly modifies how many days before the "current day last year" is displayed:&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;=Date ( MakeWeekDate ( Year($(varViewDate))-1 , week($(varViewDate)-7) , weekday($(varViewDate)-7)) , 'DD/MM/YYYY' )&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;This needs to be incorporated in Set Analysis. I've tried many expressions, none of which display any data, I only get the Null() "-" character:&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;=ONLY({$&amp;lt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Year=,Quarter=,Month=,Week=,Day=,Date=&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;{'&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&amp;gt;= $(=Date ( Makeweekdate (&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Year($(varViewDate))-1 , Week($(varViewDate)-7) , Weekday($(varViewDate)-7) &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;)))&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&amp;lt;= $(=Date ( Makeweekdate (&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Year($(varViewDate))-1 , Week($(varViewDate)-1) , Weekday($(varViewDate)-1)&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;)))&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;'}&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&amp;gt;} Revenue )&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;I've also created a variable called SameDayLastYear and tried using that instead of the Makedate function, but without any joy.&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;I'm tempted to create a field in the load script to calculate the date, but hardcoding the dates for the previous year doesn’t work either:&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;=ONLY({$&amp;lt;Year=,Quarter=,Month=,Week=,Day=,Date={'&amp;gt;=$(=Date(42146))&amp;lt;=$(=Date(42152))'}&amp;gt;}Revenue)&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;I've seen similar examples on the community site which suggests this is possible. Working through other examples such as the following, I can't see why this doesn't work.&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-9162"&gt;https://community.qlik.com/docs/DOC-9162&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/793168#793168"&gt;https://community.qlik.com/message/793168#793168&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/13511#13511"&gt;https://community.qlik.com/message/13511#13511&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Help greatly appreciated.&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Thanks&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jun 2016 23:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116395#M368439</guid>
      <dc:creator>ianwilson</dc:creator>
      <dc:date>2016-06-26T23:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116396#M368440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;=ONLY({$&amp;lt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Year=,Quarter=,Month=,Week=,Day=,Date=&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;{"&amp;gt;= $(=Date ( Makeweekdate (Year($(varViewDate))-1 , Week($(varViewDate)-7) , Weekday($(varViewDate)-7) ))) &amp;lt;=$(=Date ( Makeweekdate (Year($(varViewDate))-1 , Week($(varViewDate)-1) , Weekday($(varViewDate)-1))))"}&amp;gt;} Revenue )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 06:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116396#M368440</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2016-06-27T06:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116397#M368441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That doesn't work either. Double quotes also kill my table expressions if I use them. I've also tried the following as suggested in another post on the makeweekdate function, but this doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ONLY({$&amp;lt;&lt;/P&gt;&lt;P&gt;Year=,Quarter=,Month=,Week=,Day=,Date= &lt;/P&gt;&lt;P&gt;{'&lt;/P&gt;&lt;P&gt;&amp;gt;= $(=Makeweekdate(&lt;/P&gt;&lt;P&gt;Year($(varViewDate))-1 , Week($(varViewDate)-7) ,&amp;nbsp; Weekday($(varViewDate)-7)&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&amp;lt;= $(=Makeweekdate(&lt;/P&gt;&lt;P&gt;Year($(varViewDate))-1 , Week($(varViewDate)-1) ,&amp;nbsp; Weekday($(varViewDate)-1)&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;'}&lt;/P&gt;&lt;P&gt;&amp;gt;} Revenue )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 08:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116397#M368441</guid>
      <dc:creator>ianwilson</dc:creator>
      <dc:date>2016-06-27T08:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116398#M368442</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;I've created a example ( based on &lt;A _jive_internal="true" href="https://community.qlik.com/message/803051#803051"&gt;https://community.qlik.com/message/803051#803051&lt;/A&gt; from &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ - thanks for the base app ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only requirement is to populate the previous year column in the table on the first tab. Given the base code from &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ I don't understand why changing it in the way I have doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 20:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116398#M368442</guid>
      <dc:creator>ianwilson</dc:creator>
      <dc:date>2016-06-28T20:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116399#M368443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this is what you want (the chart on the right)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="129467" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/129467_Capture.PNG" style="height: 146px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEC_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Only({&amp;lt;DEC_Date = {"&amp;gt;=$(=MakeWeekDate(Year(today()), Week(today()-7), WeekDay(today()-7)))&amp;lt;=$(=MakeWeekDate(Year(today()), Week(today()-1), WeekDay(today()-1)))"}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;Below(Only({&amp;lt;DEC_Date = {"&amp;gt;=$(=MakeWeekDate(Year(today())-1, Week(today()-7), WeekDay(today()-7)))&amp;lt;=$(=MakeWeekDate(Year(today())-1, Week(today()-1), WeekDay(today()-1)))"}&amp;gt;}Value), 7) &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116399#M368443</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-28T21:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116400#M368444</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;That is exactly what I need. It doesn't work in my original application, so I have some troubleshooting to do, probably on the calendar or the 10 other expressions I have - I'll strip it down and start with this expression first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got the following, where varViewDate, just sets the current view date because my test data is a week out of date. Anything obviously wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=MakeWeekDate(Year($(varViewDate)), Week($(varViewDate)-7), WeekDay($(varViewDate)-7)))&amp;lt;=$(=MakeWeekDate(Year($(varViewDate))-1, Week($(varViewDate)-1), WeekDay($(varViewDate)-1)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Revenue&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;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Below&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=MakeWeekDate(Year($(varViewDate))-1, Week($(varViewDate)-7), WeekDay($(varViewDate)-7)))&amp;lt;=$(=MakeWeekDate(Year($(varViewDate))-1, Week($(varViewDate)-1), WeekDay($(varViewDate)-1)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Revenue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 7) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why below( , 7 ) works. Any chance you can explain why referring to a row 7 below the current works when that row would not relate to the date required?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116400#M368444</guid>
      <dc:creator>ianwilson</dc:creator>
      <dc:date>2016-06-28T21:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116401#M368445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The idea is that if you remove the Below function here, there will be 14 rows in total&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/129474_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7 for this year and 7 for last year. In order to put the last year values in front of this year's value, I pulled them 7 rows up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 02:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116401#M368445</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-29T02:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116402#M368446</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;That really does helps explain how Qlikview is using the Set Analysis to create a subset of the data in the Chart. I have done a lot of reading to try and solve this problem and not found that explained anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't been able to get this working in my application yet. Being a newbie I am going to use this as a learning exercise to get this working with a small subset of my application and add things back in to find out what is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the helps - appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 07:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116402#M368446</guid>
      <dc:creator>ianwilson</dc:creator>
      <dc:date>2016-06-29T07:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116403#M368447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have another expression/s in your table you are viewing this in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 15:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116403#M368447</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-29T15:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116404#M368448</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;Yes, I have 11 expressions and have realised I will need to work out which row each of the expressions will appear on, plus be careful with the effect of Null results etc. On the plus side, they all either relate to the 7 days this year or the 7 days last year, so I should only get 14 rows and only need the below( ,7) for the expressions associated with last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With so many expressions is there a better way of doing this to achieve the same results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the plus side, I have not only got this working in my application, but it makes sense, so I'm a happy bunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 16:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1116404#M368448</guid>
      <dc:creator>ianwilson</dc:creator>
      <dc:date>2016-06-29T16:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1685236#M450313</link>
      <description>&lt;P&gt;Hello Sunny ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your solution n its worked nicely for TY week but for LY it works&amp;nbsp; like this&amp;nbsp;&lt;/P&gt;&lt;TABLE width="330"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="110"&gt;Sales TY&lt;/TD&gt;&lt;TD width="110"&gt;Sales&amp;nbsp; LY&lt;/TD&gt;&lt;TD width="110"&gt;Sales Order Purchase Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/13/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/14/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/15/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/16/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/17/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/18/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/19/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;89&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;3/11/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;67&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;3/12/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;78&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;3/13/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;38&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;3/14/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;3/15/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;31&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;3/16/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;3/17/2020&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;n if i remove below condition&amp;nbsp; from LY its like this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE width="330"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="110"&gt;Sales&amp;nbsp; TY&lt;/TD&gt;&lt;TD width="110"&gt;Sales - LY&lt;/TD&gt;&lt;TD width="110"&gt;&amp;nbsp;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;TD&gt;3/13/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;3/14/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;94&lt;/TD&gt;&lt;TD&gt;3/15/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;3/16/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;TD&gt;3/17/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;3/18/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;3/19/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;89&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/11/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;67&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/12/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;78&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/13/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;38&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/14/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/15/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;31&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/16/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3/17/2020&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you help.i used this expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Date = {"&amp;gt;=$(=MakeWeekDate(Year(today())-1, Week(today()-7), WeekDay(today()-7)))&amp;lt;=$(=MakeWeekDate(Year(today())-1, Week(today()-1), WeekDay(today()-1)))"}&amp;gt;}[Sales])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 08:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1685236#M450313</guid>
      <dc:creator>New-Qlik</dc:creator>
      <dc:date>2020-03-17T08:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Same Weekday same Week Last Year as part of a range covering last 7 days</title>
      <link>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1685241#M450314</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; Kindly suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 08:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-Weekday-same-Week-Last-Year-as-part-of-a-range-covering/m-p/1685241#M450314</guid>
      <dc:creator>New-Qlik</dc:creator>
      <dc:date>2020-03-17T08:32:58Z</dc:date>
    </item>
  </channel>
</rss>

