<?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: calculate the sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79595#M767198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want months also? I am not sure I follow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2018 11:02:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-27T11:02:24Z</dc:date>
    <item>
      <title>calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79587#M767187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have one year list box in that i am having data like 2010 to 2016 and respected sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If click on 2013year then i want see the total sales for 2013 ,2012,2011 and 2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;How to calculate the total based on the selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79587#M767187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79588#M767188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, sales for all years on and before the selected year? May be this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {"$(='&amp;lt;=' &amp;amp; Max(Year))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79588#M767188</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-26T11:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79589#M767190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression is correct&amp;nbsp; but at the same time it is calculating the all months from all years right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if i click on 2013 year and 4 th month then how to calculate ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79589#M767190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T11:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79590#M767191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What should happen when you select the 4th month? You want to see the sum of sales of 4th month for 2013, 2012, 2011... etc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79590#M767191</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-26T11:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79591#M767192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN lang="DE" style="font-size: 10.0pt; font-family: 'Segoe UI',sans-serif; color: black;"&gt; When we select "2013" and month "04" we would see 2010 - 2013 (correct!) but only for month 04&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN lang="DE" style="font-size: 10.0pt; font-family: 'Segoe UI',sans-serif; color: black;"&gt;i&amp;nbsp; want to see 2010 - 2012 month 1-12 and 2013 month 1 - 4.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 12:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79591#M767192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T12:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79592#M767194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a monthcounter in the script for Master Calendar like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(MonthName(Date)) as MonthCounter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year, MonthCounter = {"$(='&amp;lt;=' &amp;amp; Max(MonthCounter))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 12:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79592#M767194</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-26T12:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79593#M767195</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;The month field is available in my data model and if i use the below expression then i am getting correct data for years&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year = {"$(='&amp;lt;=' &amp;amp; Max(Year))"}&amp;gt;}Sales) but i want months also&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 07:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79593#M767195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-27T07:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79594#M767197</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;if you have date field,you can use max of date in set analysis,&lt;/P&gt;&lt;P&gt;I have done a simple scenario in attached file,I hope it can help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 09:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79594#M767197</guid>
      <dc:creator>Masi_Sahargahi</dc:creator>
      <dc:date>2018-06-27T09:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the sales</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79595#M767198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want months also? I am not sure I follow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 11:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-the-sales/m-p/79595#M767198</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-27T11:02:24Z</dc:date>
    </item>
  </channel>
</rss>

