<?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: Autocalendar | Previous YTD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Autocalendar-Previous-YTD/m-p/3137#M231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your derived calendar script look like? Is it assigning 1 for true or -1?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190522_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is -1, then try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: tahoma, arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;[Date.autoCalendar.InYTD]={'-1'},[Date.autoCalendar.YearsAgo]={&lt;SPAN style="color: #3d3d3d; font-family: tahoma, arial, helvetica, sans-serif; font-size: 13px;"&gt;'-1'&lt;/SPAN&gt;} [Sales])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 14:58:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-18T14:58:04Z</dc:date>
    <item>
      <title>Autocalendar | Previous YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Autocalendar-Previous-YTD/m-p/3136#M230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;Hello all,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;I'm tying to achieve a Previous YTD measure using autocalendar. Is this possible?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;I'm using the below, but the incorrect result is returned (0).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;SUM({&amp;lt;[Date.autoCalendar.InYTD]={1},[Date.autoCalendar.YearsAgo]={1} [Sales])&lt;/SPAN&gt; &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 14:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autocalendar-Previous-YTD/m-p/3136#M230</guid>
      <dc:creator>fosterma</dc:creator>
      <dc:date>2018-01-18T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Autocalendar | Previous YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Autocalendar-Previous-YTD/m-p/3137#M231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your derived calendar script look like? Is it assigning 1 for true or -1?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190522_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is -1, then try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: tahoma, arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;[Date.autoCalendar.InYTD]={'-1'},[Date.autoCalendar.YearsAgo]={&lt;SPAN style="color: #3d3d3d; font-family: tahoma, arial, helvetica, sans-serif; font-size: 13px;"&gt;'-1'&lt;/SPAN&gt;} [Sales])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 14:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autocalendar-Previous-YTD/m-p/3137#M231</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T14:58:04Z</dc:date>
    </item>
  </channel>
</rss>

