<?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: Where year&amp;gt;2017 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590388#M43329</link>
    <description>&lt;P&gt;name:&lt;BR /&gt;LOAD&lt;BR /&gt;yearmonth&lt;BR /&gt;year('01.'&amp;amp;right(yearmonth,2)&amp;amp;'.'&amp;amp;left(yearmonth, 4)) as year,&lt;BR /&gt;month('01.'&amp;amp;right(yearmonth,2)&amp;amp;'.'&amp;amp;left(yearmonth, 4)) as month,&lt;BR /&gt;data&lt;/P&gt;&lt;P&gt;FROM [lib://QVD/Datasource\name2.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats the (simplified) script right now.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 10:21:02 GMT</pubDate>
    <dc:creator>W4ld</dc:creator>
    <dc:date>2019-06-11T10:21:02Z</dc:date>
    <item>
      <title>Where year&gt;2017</title>
      <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1589537#M43217</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is my first question I'm posting here, I hope I don't make to many mistakes.&lt;/P&gt;&lt;P&gt;In my script, I LOAD data from a qvd, that another app programed by somebody else made from multiple csv. That works pretty good, but now I tried to put a where-clause in my load statement, in order to only load real data and not the fake test data. To do so, I say where(yearmonth&amp;gt;201699)&lt;/P&gt;&lt;P&gt;According to my understanding, this should give me all the data from the year 2017 and onwards. However I discovered, that the year 2016 still is in my Dashboards, it just doesn't contain data anymore. I had the same result when trying to exclude 2017 the same way, that year contains real data. Since the point of this is reduce potential misunderstandings for people who use my app and don't have any knowledge of the programming, this doesn't rly get me there.&lt;/P&gt;&lt;P&gt;What did I do wrong or is there another possibility to completely exclude all data from before 2017?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance and greetings from Germany!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1589537#M43217</guid>
      <dc:creator>W4ld</dc:creator>
      <dc:date>2019-06-07T12:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Where year&gt;2017</title>
      <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1589538#M43218</link>
      <description>&lt;P&gt;What is the exact script you are using?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1589538#M43218</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-07T12:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Where year&gt;2017</title>
      <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1589633#M43223</link>
      <description>&lt;P&gt;Beside filtering your fact-data you might also need to filter your dimension-data (calendar).&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 14:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1589633#M43223</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-06-07T14:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where year&gt;2017</title>
      <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590388#M43329</link>
      <description>&lt;P&gt;name:&lt;BR /&gt;LOAD&lt;BR /&gt;yearmonth&lt;BR /&gt;year('01.'&amp;amp;right(yearmonth,2)&amp;amp;'.'&amp;amp;left(yearmonth, 4)) as year,&lt;BR /&gt;month('01.'&amp;amp;right(yearmonth,2)&amp;amp;'.'&amp;amp;left(yearmonth, 4)) as month,&lt;BR /&gt;data&lt;/P&gt;&lt;P&gt;FROM [lib://QVD/Datasource\name2.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats the (simplified) script right now.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 10:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590388#M43329</guid>
      <dc:creator>W4ld</dc:creator>
      <dc:date>2019-06-11T10:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Where year&gt;2017</title>
      <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590390#M43330</link>
      <description>&lt;P&gt;I haven't had the time yet to get into the calendar-stuff, so everything there is in default mode right now. Would you mind elaborating?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 10:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590390#M43330</guid>
      <dc:creator>W4ld</dc:creator>
      <dc:date>2019-06-11T10:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where year&gt;2017</title>
      <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590391#M43331</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;name:
LOAD yearmonth
     year('01.'&amp;amp;right(yearmonth,2)&amp;amp;'.'&amp;amp;left(yearmonth, 4)) as year,
     month('01.'&amp;amp;right(yearmonth,2)&amp;amp;'.'&amp;amp;left(yearmonth, 4)) as month,
     data
FROM [lib://QVD/Datasource\name2.qvd] (qvd)
Where Left(yearmonth, 4) &amp;gt; 2017;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Jun 2019 10:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590391#M43331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-11T10:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Where year&gt;2017</title>
      <link>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590396#M43332</link>
      <description>I figured it out, my solution and also yours works perfectly, the problem was other data, that shared fields with my data and that I hadn't used the where-command on.&lt;BR /&gt;So in case somebody else reads this and has a similar problem:&lt;BR /&gt;Use the where-clause on all data, that is connected to the data you want to filter.</description>
      <pubDate>Tue, 11 Jun 2019 10:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-year-gt-2017/m-p/1590396#M43332</guid>
      <dc:creator>W4ld</dc:creator>
      <dc:date>2019-06-11T10:40:46Z</dc:date>
    </item>
  </channel>
</rss>

