<?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 Show Chart Data Based On Yearweek Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957468#M965046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a question,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a qvd file that consists of some fields, one of them is YearWeek Field,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load the data 4 weeks ago. Lets say today's YearWeek is 1542 (Year 2015 and Week 42), in this example i want to load data that has YearWeek between 1538 (1542-4) and 1541(1542-1).&lt;/P&gt;&lt;P&gt;The problem is i cant directly minus the yearweek with 4, because the year problem, let's say yearweek 1501 , the result i expect are yearweek between 1449,1450, 1451, 1452.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make it ?&lt;/P&gt;&lt;P&gt;Thanks, really appreciate your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2015 09:24:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-12T09:24:12Z</dc:date>
    <item>
      <title>Show Chart Data Based On Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957468#M965046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a question,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a qvd file that consists of some fields, one of them is YearWeek Field,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load the data 4 weeks ago. Lets say today's YearWeek is 1542 (Year 2015 and Week 42), in this example i want to load data that has YearWeek between 1538 (1542-4) and 1541(1542-1).&lt;/P&gt;&lt;P&gt;The problem is i cant directly minus the yearweek with 4, because the year problem, let's say yearweek 1501 , the result i expect are yearweek between 1449,1450, 1451, 1452.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make it ?&lt;/P&gt;&lt;P&gt;Thanks, really appreciate your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 09:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957468#M965046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-12T09:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957469#M965047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the problem with using the solution provided to you by Digvijay here: &lt;A href="https://community.qlik.com/thread/185709"&gt;Get Week Based on FileName&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 09:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957469#M965047</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-12T09:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957470#M965048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean once you have them in a variable you can restrict a resident load with the variable you just created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD blahblah&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Something&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Match(YearWeek, $(var1), $(var2), $(var3)&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;, $(var4));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 09:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957470#M965048</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-12T09:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load Data Based On Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957471#M965049</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;Thanks for response.&lt;/P&gt;&lt;P&gt;i think i must change the title.&lt;/P&gt;&lt;P&gt;The problem is not in load statement. But in displaying the chart in qlikview dashboard. i have load the data, let's say 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i choose 1541 on the list box, i want to show the data 4 months ago, so it will be 1538, 1539, 1540, 1541.&lt;/P&gt;&lt;P&gt;So i want to get the maximum value and minimum value to be used in my chart expression like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt; YEARWEEK={'&amp;gt;=$(vYearMin) &amp;lt;=$(vYearMax)'}&amp;gt;}QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any idea ? because i cant find peek function in qlikview dashboard. (not in load statement)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 00:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957471#M965049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T00:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load Data Based On Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957472#M965050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest creating a new column in your script called SortField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD YEARWEEK,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(YEARWEEK) as SortField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM yourSource&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By YEARWEEK;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;SortField = {"$(='&amp;gt;=' &amp;amp; (Max(SortField) - 3) &amp;amp; '&amp;lt;=' &amp;amp; (Max(SortField)))"}&amp;gt;} QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 00:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957472#M965050</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-13T00:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Show Chart Data Based On Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957473#M965051</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;&lt;SPAN style="font-size: 13.3333px;"&gt;do you mean AutoGenerate ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I cant find AutoNumber function here.&lt;/P&gt;&lt;P&gt;it only has AutoGenerate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 00:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957473#M965051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T00:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show Chart Data Based On Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957474#M965052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the below screenshot:&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/101803_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 00:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957474#M965052</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-13T00:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show Chart Data Based On Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957475#M965053</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;Okay, i already find that function.&lt;/P&gt;&lt;P&gt;And Yes, it solve my problem perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 01:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957475#M965053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T01:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Show Chart Data Based On Yearweek Range</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957476#M965054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad we finally got it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 02:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Chart-Data-Based-On-Yearweek-Range/m-p/957476#M965054</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-13T02:15:47Z</dc:date>
    </item>
  </channel>
</rss>

