<?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: I need to eliminate all years from a table except the current year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524859#M37696</link>
    <description>/* The following does nothing, returns nothing - Table [CurrentYearsData] never gets created*/&lt;BR /&gt;/* AllData has 20 years of data */&lt;BR /&gt;/* AllData [Fiscal Year] format is YYYY - IE: 2018 */&lt;BR /&gt;&lt;BR /&gt;Here is the code:&lt;BR /&gt;Let vMaxDate = Year(Today());&lt;BR /&gt;CurrentYearsData:&lt;BR /&gt;Load&lt;BR /&gt;*&lt;BR /&gt;Resident AllData&lt;BR /&gt;Where [Fiscal Year] = $(vMaxDate)&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
    <pubDate>Fri, 28 Dec 2018 14:11:17 GMT</pubDate>
    <dc:creator>deerhunter</dc:creator>
    <dc:date>2018-12-28T14:11:17Z</dc:date>
    <item>
      <title>I need to eliminate all years from a table except the current year</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524654#M37670</link>
      <description>&lt;P&gt;/* The following does nothing, returns nothing&amp;nbsp; - Table [&lt;SPAN&gt;CurrentYearsData] never gets created&lt;/SPAN&gt;*/&lt;/P&gt;&lt;P&gt;/* AllData has 20 years of data */&lt;/P&gt;&lt;P&gt;/* AllData&amp;nbsp;&lt;SPAN&gt;[Fiscal Year] format is YYYY&amp;nbsp; -&amp;nbsp; IE: 2018 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;vMaxDate = Year(Now());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CurrentYearsData:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resident&amp;nbsp;AllData&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where [Fiscal Year])= '$(vMaxDate)' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;drop table&amp;nbsp;AllData;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524654#M37670</guid>
      <dc:creator>deerhunter</dc:creator>
      <dc:date>2024-11-16T06:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: I need to eliminate all years from a table except the current year</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524661#M37671</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Try the folowing changes:&lt;/P&gt;&lt;P&gt;1) Use = Year(Today());&lt;/P&gt;&lt;P&gt;2) Fix this:&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Where [Fiscal Year]&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;STRIKE&gt;)&lt;/STRIKE&gt;&lt;/FONT&gt;&lt;/STRONG&gt;= '$(vMaxDate)' ;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to&amp;nbsp;&lt;FONT color="#3366FF"&gt;Where [Fiscal Year]= vMaxDate;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 04:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524661#M37671</guid>
      <dc:creator>Zhandos_Shotan</dc:creator>
      <dc:date>2018-12-28T04:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: I need to eliminate all years from a table except the current year</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524822#M37687</link>
      <description>Hmmm, did not work?&lt;BR /&gt;Using:&lt;BR /&gt;Let vMaxDate = Year(Today());&lt;BR /&gt;Returns:&lt;BR /&gt;Field vMaxDate not found&lt;BR /&gt;Where [Fiscal Year= vMaxDate;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Dec 2018 13:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524822#M37687</guid>
      <dc:creator>deerhunter</dc:creator>
      <dc:date>2018-12-28T13:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: I need to eliminate all years from a table except the current year</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524859#M37696</link>
      <description>/* The following does nothing, returns nothing - Table [CurrentYearsData] never gets created*/&lt;BR /&gt;/* AllData has 20 years of data */&lt;BR /&gt;/* AllData [Fiscal Year] format is YYYY - IE: 2018 */&lt;BR /&gt;&lt;BR /&gt;Here is the code:&lt;BR /&gt;Let vMaxDate = Year(Today());&lt;BR /&gt;CurrentYearsData:&lt;BR /&gt;Load&lt;BR /&gt;*&lt;BR /&gt;Resident AllData&lt;BR /&gt;Where [Fiscal Year] = $(vMaxDate)&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Fri, 28 Dec 2018 14:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-to-eliminate-all-years-from-a-table-except-the-current/m-p/1524859#M37696</guid>
      <dc:creator>deerhunter</dc:creator>
      <dc:date>2018-12-28T14:11:17Z</dc:date>
    </item>
  </channel>
</rss>

