<?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: Display Total Per Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477862#M482499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;it seems that you are missing a '=' :&lt;/P&gt;&lt;P&gt;$(vMaxFiscalYear) --&amp;gt; $(=vMaxFiscalYear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THis is necessary if the value of your Variable is "Max(Year)" and not i.e. "2013".&lt;/P&gt;&lt;P&gt;In this case it has to be evaluated and this is done with an the $(=MyVar) Syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2013 15:28:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-08T15:28:45Z</dc:date>
    <item>
      <title>Display Total Per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477861#M482498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Found this command by searching the web and looking at the aQV demo &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum( {$&amp;lt;Year = {$(vMaxFiscalYear)}&amp;gt;} TotalDollar ),'$#,##0') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how my year is setup in my Edit Script&lt;/P&gt;&lt;P&gt;Year (date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as Year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is how my Variable is setup.&lt;/P&gt;&lt;P&gt;vMaxFiscalYear&amp;nbsp;&amp;nbsp; =Max(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I the command seems to work but I'm still getting the total for all my years not the specific year that i want base on the MaxFiscalYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you can think of any other options to show an expecific year in a text Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 14:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477861#M482498</guid>
      <dc:creator>easternfish</dc:creator>
      <dc:date>2013-08-08T14:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Display Total Per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477862#M482499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;it seems that you are missing a '=' :&lt;/P&gt;&lt;P&gt;$(vMaxFiscalYear) --&amp;gt; $(=vMaxFiscalYear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THis is necessary if the value of your Variable is "Max(Year)" and not i.e. "2013".&lt;/P&gt;&lt;P&gt;In this case it has to be evaluated and this is done with an the $(=MyVar) Syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 15:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477862#M482499</guid>
      <dc:creator />
      <dc:date>2013-08-08T15:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display Total Per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477863#M482500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ronald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you I think that was it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 15:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477863#M482500</guid>
      <dc:creator>easternfish</dc:creator>
      <dc:date>2013-08-08T15:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display Total Per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477864#M482501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry to bug you again but I had one last questions regarding YTD vs Last YTD&lt;/P&gt;&lt;P&gt;I'm totaling all YTD 2013 - All 2012. How can I make vLFY to read YTD applying today's date-365? as a true YTD vs LYTD. I tried using the date, month, daterange in my Variables but its not picking up the correct date or im getting errors. I also try multiple link provided by QV help pages but none seem to work for me.&lt;/P&gt;&lt;P&gt;please let me know if you have an i dean of what I should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num((sum( {$&amp;lt;Year = {$(=vMaxFiscalYear)}&amp;gt;} TotalDollar )) - (sum( {$&amp;lt;Year = {&lt;STRONG&gt;$(=vLFY)&lt;/STRONG&gt;}&amp;gt;} TotalDollar )),'#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how my Variable is setup.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vLFY =Max(Year)-1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and my dates formats.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;Year (date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as Year,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;Month (date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as Month,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;Day (date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as Day,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;Week (date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as Week,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;WeekDay (date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as WeekDay,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;(date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as Daterange;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 14:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477864#M482501</guid>
      <dc:creator>easternfish</dc:creator>
      <dc:date>2013-08-22T14:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Display Total Per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477865#M482502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ronald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to find the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Missing &lt;/P&gt;&lt;P&gt;DATE (date(date#(XDATE, 'YYYYMMDD'),'YYYY/MM/DD')) as DATE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num((sum( {$&amp;lt;Year = {$(=vMaxFiscalYear)}&lt;STRONG&gt;&lt;EM&gt;,Date={"&amp;lt;=$(=max(Date))"}&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;} TotalDollar )) - (sum( {$&amp;lt;Year = {&lt;STRONG&gt;$(=vLFY)&lt;/STRONG&gt;}&lt;STRONG&gt;&lt;EM&gt;,Date={"&amp;lt;=$(=date(addmonths(max(Date),-12)))"}&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;} TotalDollar )),'#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the link posted by John Witherspoon &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/64478#64478" title="http://community.qlik.com/message/64478#64478"&gt;http://community.qlik.com/message/64478#64478&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 15:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Total-Per-Year/m-p/477865#M482502</guid>
      <dc:creator>easternfish</dc:creator>
      <dc:date>2013-08-22T15:24:46Z</dc:date>
    </item>
  </channel>
</rss>

