<?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: last year Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013533#M343731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4313"&gt;QlikView App: Set Analysis - Prior Period Comparison&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3619"&gt;Year-over-Year Comparisons&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 13:33:20 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2016-02-11T13:33:20Z</dc:date>
    <item>
      <title>last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013531#M343729</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 want to calculate the sales of the year before the year selected, so i used those formulas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales year N :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; Sum(TF_TRANSACTION.MONTANT_REALISE)&lt;/P&gt;&lt;P&gt;budget year N :&amp;nbsp; =&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; Sum(TF_TRANSACTION.MONTANT_BUDGET)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sales year N-1 :&amp;nbsp;&amp;nbsp; =Sum({$&amp;lt;ANNEE={$(=Max(ANNEE)-1)}&amp;gt;}TF_TRANSACTION.MONTANT_REALISE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They give me the correct values but &lt;SPAN style="font-size: 13.3333px;"&gt;sales year N-1 do not display as i want. For exemple i choose &lt;SPAN style="font-size: 13.3333px;"&gt;YEAR=2014 once i add sales N-1 formula it appears on 2013 , it should appear on 2014&lt;IMG alt="ca.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/114306_ca.png" style="height: 349px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;please see the screenshots attached ()&lt;IMG alt="CA_N_N_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114305_CA_N_N_1.png" style="height: 349px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013531#M343729</guid>
      <dc:creator />
      <dc:date>2016-02-11T11:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013532#M343730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to include the set analysis in each expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;ANNEE={$(=Max(ANNEE))}&amp;gt;}TF_TRANSACTION.MONTANT_REALISE) // current/selected year&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;ANNEE={$(=Max(ANNEE))}&amp;gt;}TF_TRANSACTION.MONTANT_&lt;SPAN style="font-size: 13.3333px;"&gt;BUDGET&lt;/SPAN&gt;) // current/selected year&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;ANNEE={$(=Max(ANNEE)-1)}&amp;gt;}TF_TRANSACTION.MONTANT_REALISE) // previous year to above one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013532#M343730</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-11T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013533#M343731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4313"&gt;QlikView App: Set Analysis - Prior Period Comparison&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3619"&gt;Year-over-Year Comparisons&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013533#M343731</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-02-11T13:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013534#M343732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for you reply.&lt;/P&gt;&lt;P&gt;i inculde set analysis in experssions of all indicators but i still having the same issue .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 15:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013534#M343732</guid>
      <dc:creator />
      <dc:date>2016-02-11T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013535#M343733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't apply a selection on year it should work. Do you need these selections to go back further then all expressions which don't display the current year needs the 1 as set identifier to ignore the selection, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;ANNEE={$(=Max(ANNEE))}&amp;gt;}TF_TRANSACTION.MONTANT_REALISE) // current/selected year&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;ANNEE={$(=Max(ANNEE))}&amp;gt;}TF_TRANSACTION.MONTANT_&lt;SPAN style="font-size: 13.3333px;"&gt;BUDGET&lt;/SPAN&gt;) // current/selected year&lt;/P&gt;&lt;P&gt;Sum({&lt;STRONG&gt;1&lt;/STRONG&gt;$&amp;lt;ANNEE={$(=Max(ANNEE)-1)}&amp;gt;}TF_TRANSACTION.MONTANT_REALISE) // previous year to above one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 16:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013535#M343733</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-11T16:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013536#M343734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much i get your point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i add &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1 as set identifier it gives me the correct form, for a selected year i have : sales, budget, sales n-1 but the sales n-1 is empty .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 16:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013536#M343734</guid>
      <dc:creator />
      <dc:date>2016-02-11T16:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013537#M343735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide a small sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 17:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013537#M343735</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-11T17:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013538#M343736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look at the screenshot, its the result i get with&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;ANNEE={$(=Max(ANNEE))}&amp;gt;}TF_TRANSACTION.MONTANT_REALISE)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;1&lt;/STRONG&gt;$&amp;lt;ANNEE={$(=Max(ANNEE)-1)}&amp;gt;}TF_TRANSACTION.MONTANT_REALISE) &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; once i add 1 it gives empty sales fOR N-1&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SALES N-1.png" class="jive-image image-1" src="/legacyfs/online/114785_SALES N-1.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;sorry , i can't provide app because im working with prod database &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 09:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013538#M343736</guid>
      <dc:creator />
      <dc:date>2016-02-16T09:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013539#M343737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the year-dimension from your table and make sure that your further selections (Code_CateG... and mayby others) didn't exclude values for the previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right not to post prod. data which are very probably confidential but with quite less efforts you could adjust them: &lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;. But better as this is it most often to build a small dummy-application with a few records in inline-tables which are wide enough to demonstrate the issue but didn't confuse with the whole datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 11:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013539#M343737</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-16T11:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013540#M343738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;YEAR={$(=Max(YEAR))}&amp;gt;}SALES)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;YEAR={$(=Max(YEAR)-1)}&amp;gt;}SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;TAKE YOUR FIELD NAME&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 11:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013540#M343738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T11:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013541#M343739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your reply now it works, i should r&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;emove the year dimension from the table. but now the year is not visible to the end user , How can i add it in the table labels??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for advices about dummy application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013541#M343739</guid>
      <dc:creator />
      <dc:date>2016-02-16T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013542#M343740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use an expression as label like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 'YourExpressionName ' &amp;amp; max(year)&lt;/P&gt;&lt;P&gt;= 'YourExpressionName ' &amp;amp; max(year)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 14:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013542#M343740</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-16T14:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: last year Sales</title>
      <link>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013543#M343741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so mych.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-year-Sales/m-p/1013543#M343741</guid>
      <dc:creator />
      <dc:date>2016-02-16T17:43:16Z</dc:date>
    </item>
  </channel>
</rss>

