<?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 Chart that shows current year and (current - 1) week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970874#M1233231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, QlikView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data set that shows sales number and date when they happen.&lt;/P&gt;&lt;P&gt;I want to make a chart what shows sales numbers for each day in the last week (current - 1) and only current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will explain better. So today is 30.09.2015 which is week 40 in the year 2015.&lt;/P&gt;&lt;P&gt;I want the sales number to show week 39 in the year 2015. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this formula: =sum({&amp;lt;Year={$(=year(today()))}, Week={$(=week(today()))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;to show sales number for current week and current week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to get week 39 in the year 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="375"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="79"&gt;Day&lt;/TD&gt;&lt;TD class="xl65" width="72"&gt;Year&lt;/TD&gt;&lt;TD class="xl65" width="63"&gt;Week&lt;/TD&gt;&lt;TD class="xl65" width="72"&gt;YrWk&lt;/TD&gt;&lt;TD class="xl66" width="89"&gt; Sales &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;1.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-1&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 150.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;10.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-2&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 320.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;19.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-3&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 272.246&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;28.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;5&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-5&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 610.481&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;6.2.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;6&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-6&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 248.498&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Chart that shows current year and (current - 1) week</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970874#M1233231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, QlikView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data set that shows sales number and date when they happen.&lt;/P&gt;&lt;P&gt;I want to make a chart what shows sales numbers for each day in the last week (current - 1) and only current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will explain better. So today is 30.09.2015 which is week 40 in the year 2015.&lt;/P&gt;&lt;P&gt;I want the sales number to show week 39 in the year 2015. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this formula: =sum({&amp;lt;Year={$(=year(today()))}, Week={$(=week(today()))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;to show sales number for current week and current week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to get week 39 in the year 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="375"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="79"&gt;Day&lt;/TD&gt;&lt;TD class="xl65" width="72"&gt;Year&lt;/TD&gt;&lt;TD class="xl65" width="63"&gt;Week&lt;/TD&gt;&lt;TD class="xl65" width="72"&gt;YrWk&lt;/TD&gt;&lt;TD class="xl66" width="89"&gt; Sales &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;1.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-1&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 150.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;10.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-2&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 320.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;19.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-3&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 272.246&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;28.1.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;5&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-5&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 610.481&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21"&gt;6.2.2013&lt;/TD&gt;&lt;TD class="xl65"&gt;2013&lt;/TD&gt;&lt;TD class="xl65"&gt;6&lt;/TD&gt;&lt;TD class="xl65"&gt;2013-6&lt;/TD&gt;&lt;TD class="xl66"&gt;&amp;nbsp;&amp;nbsp; 248.498&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970874#M1233231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Chart that shows current year and (current - 1) week</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970875#M1233238</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&gt;=sum({&amp;lt;Year={"$(=max(Year))"}, Week={"$(=max(Week)-1)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 14:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970875#M1233238</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-09-30T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Chart that shows current year and (current - 1) week</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970876#M1233241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Kush141087&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula does not work. The chart gives me this text: "No data to display"&lt;/P&gt;&lt;P&gt;Can you make it work in the Sales data per day.qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 14:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970876#M1233241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-30T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Chart that shows current year and (current - 1) week</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970877#M1233242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your formula, this works :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year={$(=year(today())-1)}, Week={$(=week(today())-1)}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that you have no data for 2015, week 39, that is why I also used year-1&lt;/P&gt;&lt;P&gt;There is data for 2014, week 39&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 14:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970877#M1233242</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-09-30T14:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Chart that shows current year and (current - 1) week</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970878#M1233243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The formula of Ioannis is right, you just do not have data for week 39 for the current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 14:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970878#M1233243</guid>
      <dc:creator>pamaxeed</dc:creator>
      <dc:date>2015-09-30T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Chart that shows current year and (current - 1) week</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970879#M1233244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this one. it is helpful for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {&amp;lt;year={$(=max(Year))}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-that-shows-current-year-and-current-1-week/m-p/970879#M1233244</guid>
      <dc:creator>maniram23</dc:creator>
      <dc:date>2015-09-30T15:35:16Z</dc:date>
    </item>
  </channel>
</rss>

