<?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: How to remove certain table year = 2016 data ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233435#M622258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Dec 2016 14:26:24 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2016-12-24T14:26:24Z</dc:date>
    <item>
      <title>How to remove certain table year = 2016 data ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233434#M622257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select year 2015 2014 , and&lt;/P&gt;&lt;P&gt;If i using File - &amp;gt; Reduce data - &amp;gt; Keep possible value.&lt;/P&gt;&lt;P&gt;it will delete year 2016 data and keep only 2015 and 2014 data.&lt;/P&gt;&lt;P&gt;This will delete all table year 2016 daya. which is not what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to only delete certain table it is possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2016 14:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233434#M622257</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-12-24T14:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain table year = 2016 data ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233435#M622258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2016 14:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233435#M622258</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-12-24T14:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain table year = 2016 data ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233436#M622259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure your question is very clear Paul. Can you try to explain it further?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2016 17:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233436#M622259</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-24T17:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain table year = 2016 data ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233437#M622260</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;My issue is when I prepare my slide for annual sales meeting during Feb 13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I prepare the slide now it will not capture 2016 full year sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I prepare during mid of Jan 2017 , it will appear 2017 Jan sales .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I only want the sales only display up to 31 Dec 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So only way for me is to make use of data reduce . This will remove all 2017 sales when I do it on 13 Feb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the issue is it will also remove my sales target figure for 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As sales target for 2017 figure I need it for present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So only way I can do is I want to learn how to remove year 2017 data by TABLE or by field name using script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example look for sales table and remove those data year &amp;gt; 2016  :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales :&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Resident where year &amp;gt; '2016'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for sales target I try to create another table name as TARGET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wish you merry x'mas and happy new year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul Yeo&lt;/P&gt;&lt;P&gt;DIrector&lt;/P&gt;&lt;P&gt;TDS Technology (S) P/L&lt;/P&gt;&lt;P&gt;Whatsapp +659:261804&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 00:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233437#M622260</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-12-25T00:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain table year = 2016 data ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233438#M622261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;I can see many Year fields in your QVW so not sure which table and which year fields you dont need for Year =2016.&lt;/P&gt;&lt;P&gt;There are 2 simple ways to achieve it&amp;nbsp; - with Where clause to omit Year 2016 OR can use Match function to achieve the same&amp;nbsp; : Suppose you have following table&amp;nbsp; :&amp;nbsp;&amp;nbsp; (Also, find attached QVW file.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Test, Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2013&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 2015&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 2017&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Not Match(Year,'2016')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// OR You can also use following statement in where clause - Either use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Year &amp;gt; 2016 OR Year &amp;lt;2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Drop Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jayant Tibhe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 03:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-certain-table-year-2016-data/m-p/1233438#M622261</guid>
      <dc:creator>jayanttibhe</dc:creator>
      <dc:date>2016-12-25T03:45:16Z</dc:date>
    </item>
  </channel>
</rss>

