<?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: In year to date function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753327#M661232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo for the help.&amp;nbsp;&amp;nbsp; Now I understood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 16:25:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-19T16:25:47Z</dc:date>
    <item>
      <title>In year to date function</title>
      <link>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753323#M661228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a doubt about inyear to date function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inyeartodate(Tempdate, $(vToday),0)* -1 as CurYTDFlag,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;inyeartodate(Tempdate, $(vToday, -1)* -1 as LastYTDFlag,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;in the first part of the script it says -1 as CurYTDFlag and in the second part it says that -1 as LastYTDFlag. So &lt;SPAN style="font-size: 13.3333330154419px;"&gt;CurYTDFlag will be -1 or&lt;/SPAN&gt; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;LastYTDFlag, will be -1? &lt;/SPAN&gt;can someone clarify on this.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 14:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753323#M661228</guid>
      <dc:creator />
      <dc:date>2015-03-19T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: In year to date function</title>
      <link>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753324#M661229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it depends on Tempdate (I think vToday is Today)&lt;/P&gt;&lt;P&gt;try this to see the difference (add the result to a table box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; date(makedate(2014) + rowno()-1) as Tempdate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;autogenerate 730;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Tempdate,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; InYearToDate (Tempdate, today() , 0)*-1 as InYearToDate_Today_0,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; InYearToDate (Tempdate, today() , -1)*-1 as InYearToDate_Today_1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident a;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 15:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753324#M661229</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-19T15:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: In year to date function</title>
      <link>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753325#M661230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using this script. One thing which is not clear is why have you used -1 as &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;InYearToDate_Today_0and &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;InYearToDate_Today_1. I am very new to qlikview&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 15:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753325#M661230</guid>
      <dc:creator />
      <dc:date>2015-03-19T15:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: In year to date function</title>
      <link>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753326#M661231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it was in your script&lt;/P&gt;&lt;P&gt;I think:&lt;/P&gt;&lt;P&gt;- without *-1 you get 0 e -1 as result&lt;/P&gt;&lt;P&gt;- with *-1 you get 0 e 1 as result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/601177#601177" title="http://community.qlik.com/message/601177#601177"&gt;http://community.qlik.com/message/601177#601177&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 16:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753326#M661231</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-19T16:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: In year to date function</title>
      <link>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753327#M661232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo for the help.&amp;nbsp;&amp;nbsp; Now I understood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 16:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-year-to-date-function/m-p/753327#M661232</guid>
      <dc:creator />
      <dc:date>2015-03-19T16:25:47Z</dc:date>
    </item>
  </channel>
</rss>

