<?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 Limit Data In Straight Table Based On Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346028#M841852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A variable.&amp;nbsp; Good idea.&amp;nbsp; Then I never have to change it or worry about the year.&amp;nbsp; Thanks for the pointer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to my first question, I'm not going to worry about it at the moment.&amp;nbsp; I don't think it's a big deal and I can't share my App unfortunately.&amp;nbsp; Company rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll mark your first response as Correct and your last response as helpful.&amp;nbsp; Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 15:05:28 GMT</pubDate>
    <dc:creator>pnn44794</dc:creator>
    <dc:date>2017-04-20T15:05:28Z</dc:date>
    <item>
      <title>How To Limit Data In Straight Table Based On Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346024#M841848</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a straight table with 2016 and 2017 data.&amp;nbsp; I'd like to limit the data to just data from 2017.&amp;nbsp; The field I'm trying to use is Approved_YearMonth which is in the format of YYYYMM, i.e. 201701, 201702, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the straight table, I've entered &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Approved_YearMonth&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;), 'YYYYMM') as a dimension with the label of Approved_YearMonth.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;As always, thanks in advance for any and all help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346024#M841848</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How To Limit Data In Straight Table Based On Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346025#M841849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(WildMatch(Approved_YearMonth, '2017*') &amp;gt; 0, Approved_YearMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(Left(Approved_YearMonth, 4) = '2017', Approved_YearMonth)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 21:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346025#M841849</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-04-19T21:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: How To Limit Data In Straight Table Based On Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346026#M841850</link>
      <description>&lt;P&gt;Hello Vishwarath:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both expressions work.&amp;nbsp; Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Again, thank you very much for your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 18:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346026#M841850</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-13T18:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How To Limit Data In Straight Table Based On Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346027#M841851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your 2nd Question you can use something like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable in the Script or using Variable Overview (Ctrl+Alt+V) then add the variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Script&lt;/P&gt;&lt;P&gt;LET vCurrentYear = Year(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Variable Overview window add &lt;/P&gt;&lt;P&gt;vCurrentYear&lt;/P&gt;&lt;P&gt;your expression should be = Year(Today()). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use that variable like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= IF(Left(Approved_YearMonth, 4) = vCurrentYear, Approved_YearMonth). &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;For your 1st Question, i need to look into your sample app. Can you share your application if possible? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 13:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346027#M841851</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-04-20T13:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How To Limit Data In Straight Table Based On Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346028#M841852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A variable.&amp;nbsp; Good idea.&amp;nbsp; Then I never have to change it or worry about the year.&amp;nbsp; Thanks for the pointer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to my first question, I'm not going to worry about it at the moment.&amp;nbsp; I don't think it's a big deal and I can't share my App unfortunately.&amp;nbsp; Company rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll mark your first response as Correct and your last response as helpful.&amp;nbsp; Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346028#M841852</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-04-20T15:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How To Limit Data In Straight Table Based On Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346029#M841853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem. Glad it worked for you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Limit-Data-In-Straight-Table-Based-On-Date/m-p/1346029#M841853</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-04-20T15:09:32Z</dc:date>
    </item>
  </channel>
</rss>

