<?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 filter data in qlikview by yeartodate function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-in-qlikview-by-yeartodate-function/m-p/537256#M1138167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I normally add a flag when I am loading my calendar or a table with dates you will want to look at year to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateToday = TODAY();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YOURDATE AS DATE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INYEARTODATE(YOURDATE, &lt;STRONG&gt;&lt;EM style="color: #646464;"&gt;&lt;STRONG&gt;&lt;EM style="color: #646464;"&gt;$(vDateToday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;*&lt;/SPAN&gt; -&lt;SPAN style="color: #0000ff;"&gt;1&lt;/SPAN&gt; &lt;STRONG style="color: #0000ff;"&gt;&lt;STRONG style="color: #0000ff;"&gt;AS&lt;/STRONG&gt;&lt;/STRONG&gt; &lt;SPAN style="color: #008000;"&gt;YTD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;FROM YOURCALENDARTABLE&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Now, when you want to use this in an expression you can use an IF statement or set analysis. For example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;IF(YTD = '1', SUM(SOMETHING))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SUM({&amp;lt;YTD = {'1'}&amp;gt;}SOMETHING)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2013 01:01:07 GMT</pubDate>
    <dc:creator>villegasi03</dc:creator>
    <dc:date>2013-10-10T01:01:07Z</dc:date>
    <item>
      <title>How to filter data in qlikview by yeartodate function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-in-qlikview-by-yeartodate-function/m-p/537255#M1138166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unable to work with filtering data by using yeartodate function, Can any have any suggestion on the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 00:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-in-qlikview-by-yeartodate-function/m-p/537255#M1138166</guid>
      <dc:creator />
      <dc:date>2013-10-10T00:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data in qlikview by yeartodate function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-in-qlikview-by-yeartodate-function/m-p/537256#M1138167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I normally add a flag when I am loading my calendar or a table with dates you will want to look at year to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateToday = TODAY();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YOURDATE AS DATE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INYEARTODATE(YOURDATE, &lt;STRONG&gt;&lt;EM style="color: #646464;"&gt;&lt;STRONG&gt;&lt;EM style="color: #646464;"&gt;$(vDateToday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;*&lt;/SPAN&gt; -&lt;SPAN style="color: #0000ff;"&gt;1&lt;/SPAN&gt; &lt;STRONG style="color: #0000ff;"&gt;&lt;STRONG style="color: #0000ff;"&gt;AS&lt;/STRONG&gt;&lt;/STRONG&gt; &lt;SPAN style="color: #008000;"&gt;YTD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;FROM YOURCALENDARTABLE&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Now, when you want to use this in an expression you can use an IF statement or set analysis. For example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;IF(YTD = '1', SUM(SOMETHING))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SUM({&amp;lt;YTD = {'1'}&amp;gt;}SOMETHING)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 01:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-in-qlikview-by-yeartodate-function/m-p/537256#M1138167</guid>
      <dc:creator>villegasi03</dc:creator>
      <dc:date>2013-10-10T01:01:07Z</dc:date>
    </item>
  </channel>
</rss>

