<?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 Current Month Previous year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120142#M8371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi,&lt;/P&gt;&lt;P style="text-align: left;"&gt;I wonder why using the current month doesn't work for previous year:&lt;/P&gt;&lt;P style="text-align: left;"&gt;sum({&amp;lt;Month={'$(vMaxMonth)'}, Year={'$(vPreviosYear)'}&amp;gt;} LineTotal)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Only a date range:&lt;/P&gt;&lt;P style="text-align: left;"&gt;sum({&amp;lt;Date= {"&amp;gt;=$(vMonthStartPrevYear) &amp;lt;=$(vMonthEndPrevYear)"}, Year=,Month=, Date=&amp;gt;} LineTotal)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2018 13:18:05 GMT</pubDate>
    <dc:creator>dafnis14</dc:creator>
    <dc:date>2018-11-08T13:18:05Z</dc:date>
    <item>
      <title>Current Month Previous year</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120142#M8371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi,&lt;/P&gt;&lt;P style="text-align: left;"&gt;I wonder why using the current month doesn't work for previous year:&lt;/P&gt;&lt;P style="text-align: left;"&gt;sum({&amp;lt;Month={'$(vMaxMonth)'}, Year={'$(vPreviosYear)'}&amp;gt;} LineTotal)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Only a date range:&lt;/P&gt;&lt;P style="text-align: left;"&gt;sum({&amp;lt;Date= {"&amp;gt;=$(vMonthStartPrevYear) &amp;lt;=$(vMonthEndPrevYear)"}, Year=,Month=, Date=&amp;gt;} LineTotal)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 13:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120142#M8371</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2018-11-08T13:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Previous year</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120143#M8372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you have to ignore selection in Year, Month and Date just like your other expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month={'$(vMaxMonth)'}, Year={'$(vPreviosYear)'}, Year, Month, Date&amp;gt;} LineTotal)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 13:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120143#M8372</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-08T13:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Previous year</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120144#M8373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't help..&lt;/P&gt;&lt;P&gt;even writing the expression as follows gives a wrong result:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month={'10'}, Year={'2017'},Year=,Month=,Date=&amp;gt;} LineTotal)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting a much larger sum then expected, but can't figure what it is..:-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 13:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120144#M8373</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2018-11-08T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Previous year</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120145#M8374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Huh!! even the hard coding gives the incorrect result? That is very strange.... also, I made a mistake in my previous expression... Year and Month should not repeat... can you try this and see if this works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month={'10'}, Year={'2017'}, Date&amp;gt;} LineTotal)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 13:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120145#M8374</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-08T13:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month Previous year</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120146#M8375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, Sonny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year and Month should not repeat" - made my day!&lt;/SPAN&gt;&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 Nov 2018 13:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Month-Previous-year/m-p/120146#M8375</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2018-11-08T13:59:06Z</dc:date>
    </item>
  </channel>
</rss>

