<?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 Need urgent Help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386259#M566656</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 have a table called Time that is linked to other tables.&lt;BR /&gt;It contains columns like YearWeek and YearWeekCounter.&lt;BR /&gt;YearWeek starts at 200901 and ends at 201352, Current YearWeekCounter is at 210.&lt;BR /&gt;How do I write an expression that is &lt;SPAN style="text-decoration: underline;"&gt;based&lt;/SPAN&gt; on the &lt;SPAN style="text-decoration: underline;"&gt;current&lt;/SPAN&gt; YearWeekCounter and then summarizing another's columnvalue(orders) 2 weeks back and 2 weeks ahead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;YearWeek, YearWeekCounter, Sumoforders&lt;BR /&gt;201251, 208, 5000&lt;BR /&gt;201252, 209, 6000&lt;BR /&gt;201301, 210, 7000&lt;BR /&gt;201302, 211, 8000&lt;BR /&gt;201303, 212, 9000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards: Patric Lindblom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2013 10:43:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-02T10:43:49Z</dc:date>
    <item>
      <title>Need urgent Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386259#M566656</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 have a table called Time that is linked to other tables.&lt;BR /&gt;It contains columns like YearWeek and YearWeekCounter.&lt;BR /&gt;YearWeek starts at 200901 and ends at 201352, Current YearWeekCounter is at 210.&lt;BR /&gt;How do I write an expression that is &lt;SPAN style="text-decoration: underline;"&gt;based&lt;/SPAN&gt; on the &lt;SPAN style="text-decoration: underline;"&gt;current&lt;/SPAN&gt; YearWeekCounter and then summarizing another's columnvalue(orders) 2 weeks back and 2 weeks ahead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;YearWeek, YearWeekCounter, Sumoforders&lt;BR /&gt;201251, 208, 5000&lt;BR /&gt;201252, 209, 6000&lt;BR /&gt;201301, 210, 7000&lt;BR /&gt;201302, 211, 8000&lt;BR /&gt;201303, 212, 9000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards: Patric Lindblom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 10:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386259#M566656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-02T10:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need urgent Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386260#M566657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386260#M566657</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-02T11:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need urgent Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386261#M566658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply but that's not what i meant, i try to describe it better.&lt;BR /&gt;If the current week for yearweekcounter is 210, then I want the values ​​from the field "orders" summation where yeraweekcounter is 208,209,210,211,212 with dimension Year week(Alla weeks off this will not be displayed).&lt;BR /&gt;Each yearweekcounter ex 208 consists of hundreds of individual lines on a date that fit this week's counter, therefore required sum (orders).&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I had&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this expression&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;before:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Money&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;((&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;if (&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;[&lt;/SPAN&gt;Year &lt;SPAN class="hps"&gt;Week&lt;/SPAN&gt;]&amp;gt; &lt;SPAN class="hps atn"&gt;= (&lt;/SPAN&gt;vCurrentYearWeek-7), &lt;SPAN class="hps atn"&gt;sum (&lt;/SPAN&gt;Orders) / 1000), &lt;SPAN class="hps"&gt;'#&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;# #&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;0,&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;tkr&lt;/SPAN&gt;') with the dimension Yearweek.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;The problem is that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this does not work&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;well at&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;year-end&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the current week&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;-7&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will not be the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;same&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as 7&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;weeks back&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Therefore, I would&lt;/SPAN&gt; like to &lt;SPAN class="hps"&gt;use the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;week&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;counter instead&lt;/SPAN&gt;.("current" weekcounter-7)&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, 02 Jan 2013 11:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386261#M566658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-02T11:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need urgent Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386262#M566659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See updated qvw. Is that what you need? I use a trigger to select the current YearWeek. I only have some sample data, but it should work the same with lots of order records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 12:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386262#M566659</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-02T12:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need urgent Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386263#M566660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;No sorry, it was&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;what i meant.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;But i have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;now solved&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it myself&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;through&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the script&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;tToday_weekcounter&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Load&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps atn"&gt;[&lt;/SPAN&gt;Year &lt;SPAN class="hps"&gt;Week&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Week&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Counter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps atn"&gt;if (&lt;/SPAN&gt;Week &lt;SPAN class="hps atn"&gt;Year (&lt;/SPAN&gt;TODAY &lt;SPAN class="hps"&gt;())&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&amp;amp; num&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;(&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;Week (&lt;/SPAN&gt;TODAY &lt;SPAN class="hps"&gt;()),&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;00)&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;= [&lt;/SPAN&gt;Year &lt;SPAN class="hps"&gt;Week&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;Week&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Counter&lt;/SPAN&gt;) as &lt;SPAN class="hps"&gt;tTodayweekcounter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Resident&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Time&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;left&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;join (&lt;/SPAN&gt;Time)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Today_weekcounter&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Load&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;tTodayweekcounter&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Today&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Week&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Counter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Resident&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;tToday_weekcounter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;where&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;tTodayweekcounter&lt;/SPAN&gt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;drop&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;table&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;tToday_weekcounter&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Then i can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;compare the current&lt;/SPAN&gt; Yearw&lt;SPAN class="hps"&gt;eek number with the&lt;/SPAN&gt;&lt;SPAN class="hps"&gt; rolling&lt;/SPAN&gt; YearW&lt;SPAN class="hps"&gt;eek number&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thank you for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;trying to help me&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 14:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-urgent-Help/m-p/386263#M566660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-02T14:10:05Z</dc:date>
    </item>
  </channel>
</rss>

