<?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 Week's Data in Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512040#M599850</link>
    <description>Hi Peter,&lt;BR /&gt;Week is created in the script by year(Date)*100+week(Date) as Week so I would expect it to be an integer. Adding Num solved it! Thank you for the tip!&lt;BR /&gt;=Week = {"$(=Num(Year(Today()-7)*100+Week(Today()-7))"}</description>
    <pubDate>Mon, 26 Nov 2018 08:55:44 GMT</pubDate>
    <dc:creator>marcusbohman</dc:creator>
    <dc:date>2018-11-26T08:55:44Z</dc:date>
    <item>
      <title>Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512025#M599833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Week as YYYYWW and I would like to have a table only showing the last week's result.&lt;/P&gt;&lt;P&gt;Below&amp;nbsp;executes well but will only show last week's data until I have loaded something from this week. As I do daily loads this will not work during the full week&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt; Site = {'Gent'},Brand = {'VTB'}, Week = {"$(=Max(Week ))"}, [Detailed Reason] -= {'Availability'}&amp;gt;} [No of BackOrder Hits])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my attempt to only show the last week's data but it returns everything.&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt; Site = {'Gent'},Brand = {'VTB'}, Week = {"$(=Year(Today()-7)*100+Week(Today()-7)"}, [Detailed Reason] -= {'Availability'}&amp;gt;} [No of BackOrder Hits])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512025#M599833</guid>
      <dc:creator>marcusbohman</dc:creator>
      <dc:date>2024-11-16T05:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512027#M599835</link>
      <description>&lt;P&gt;Try correcting a bracket, like:&lt;BR /&gt;&lt;BR /&gt;Week = {"$(=Year(Today()-7)*100+Week(Today()-7)&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;"}&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512027#M599835</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-11-26T08:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512028#M599837</link>
      <description>&lt;P&gt;Add an extra right-parenthesis at the end of your search expression in the set analysis for Week, and it should work ok.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512028#M599837</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-11-26T08:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512031#M599841</link>
      <description>&lt;P&gt;Well spotted... However, it still returns all rows.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512031#M599841</guid>
      <dc:creator>marcusbohman</dc:creator>
      <dc:date>2018-11-26T08:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512032#M599843</link>
      <description>Well spotted... However, it still returns all rows.</description>
      <pubDate>Mon, 26 Nov 2018 08:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512032#M599843</guid>
      <dc:creator>marcusbohman</dc:creator>
      <dc:date>2018-11-26T08:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512034#M599845</link>
      <description>Maybe this:&lt;BR /&gt;&lt;BR /&gt;=Sum({&amp;lt; Site = {'Gent'},Brand = {'VTB'}, Week = {"$(=Year(Today()-7)&amp;amp;week(weekstart(Today()-7)))"}, [Detailed Reason] -= {'Availability'}&amp;gt;} [No of BackOrder Hits])&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512034#M599845</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2018-11-26T08:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512036#M599847</link>
      <description>Thank you, Frank! However all rows are still shown in the table.</description>
      <pubDate>Mon, 26 Nov 2018 08:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512036#M599847</guid>
      <dc:creator>marcusbohman</dc:creator>
      <dc:date>2018-11-26T08:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512037#M599849</link>
      <description>&lt;P&gt;In set analysis, the value in the set must match the value in&amp;nbsp; the field, including the type. AFAIK expression searches return strings. Is Week also carrying strings?&lt;/P&gt;&lt;P&gt;To check it out, copy the expression from between $( and the final ) and put it in a text object on a sheet. Then compare to the values in field Week. Do they match?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512037#M599849</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-11-26T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last Week's Data in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512040#M599850</link>
      <description>Hi Peter,&lt;BR /&gt;Week is created in the script by year(Date)*100+week(Date) as Week so I would expect it to be an integer. Adding Num solved it! Thank you for the tip!&lt;BR /&gt;=Week = {"$(=Num(Year(Today()-7)*100+Week(Today()-7))"}</description>
      <pubDate>Mon, 26 Nov 2018 08:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Week-s-Data-in-Table/m-p/1512040#M599850</guid>
      <dc:creator>marcusbohman</dc:creator>
      <dc:date>2018-11-26T08:55:44Z</dc:date>
    </item>
  </channel>
</rss>

