<?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: Total Sales Calculation Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923342#M319724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In total mode Keep sum of rows for the expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales to date}/[Billing Days to Date]) and for other exprs keep Expressions Total and try..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 09:51:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-31T09:51:17Z</dc:date>
    <item>
      <title>Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923334#M319716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have created a straight Table for sales calculation with respect to billing days. I have loaded the Billing and Sales values per year and country wise and I have used the division formula (i.e [Sales to date}/[Billing Days to Date]) to perform the calculation to show the final sales in the respective years. The problem now is, the formula works fine for individual sales vs billing days and gives the correct output. But when it comes to the totals the division operation is not performing well. Can anyone please tell me where I might be doing the mistake. I am attaching the screenshot for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923334#M319716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T09:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923335#M319717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi uday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you upload a sample qvw and source data please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923335#M319717</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-07-31T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923336#M319718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the &lt;STRONG&gt;Aggr&lt;/STRONG&gt; function which will aggregate the values based on dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are using the cyclic group, you can use &lt;STRONG&gt;Aggr&lt;/STRONG&gt; function with &lt;STRONG&gt;Getcurrentfield&lt;/STRONG&gt; fucntion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(sum([Sales to date]),$(=GetCurrentField(&lt;STRONG&gt;YourCyclicGroupName&lt;/STRONG&gt;))))/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum(aggr(sum([Billing Days to date]),$(=GetCurrentField(&lt;STRONG&gt;YourCyclicGroupName&lt;/STRONG&gt;))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923336#M319718</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-31T09:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923337#M319719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting the Total mode of that expression to Sum of rows instead of Expression Total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923337#M319719</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-31T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923338#M319720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have set the total mode as sum of rows for Sales to date and Billing days to date, but for the final sales calculation I have set the total mode to Expression total, as I want even the total of "Final Sales Calculation" to be the divided value of the "Billing days to date total " and "Sales to date Total". If I set all of them to sum of rows, I get only the sum of Final sales calculation which is not the requirement.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923338#M319720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T09:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923339#M319721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;The expression you gave did not work. Instead it is returning the nulls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923339#M319721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T09:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923340#M319722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Change your expression to: sum([Sales to date])/sum(Billing Days to Date]) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923340#M319722</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-31T09:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923341#M319723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/186116"&gt;UdayKiran&lt;/A&gt;‌ it should work. Have you correctly entered your cyclic group name?&lt;/P&gt;&lt;P&gt;or please share the screenshot of your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923341#M319723</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-31T09:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923342#M319724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In total mode Keep sum of rows for the expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales to date}/[Billing Days to Date]) and for other exprs keep Expressions Total and try..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923342#M319724</guid>
      <dc:creator />
      <dc:date>2015-07-31T09:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923343#M319725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has returned NULL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923343#M319725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923344#M319726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the syntax of the expression. Make sure to use the exact case sensitive field names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923344#M319726</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-31T09:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923345#M319727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratik,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is working fine even in total mode when I set all the three expressions to "Expression Total" in total mode which is not the requirement. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923345#M319727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T10:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923346#M319728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did Check the syntax multiple times and I even tried putting the entire expression in a variable and using it instead of field names. Nothing Worked!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923346#M319728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T10:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923347#M319729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then either give up or post a qlikview document that demonstrates the problem so somebody else can have a look at it. As you've noticed letting us guess is wasting time for all of us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923347#M319729</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-31T10:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923348#M319730</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;Try,&lt;/P&gt;&lt;P&gt;Column(2) / Column(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering Column(2) as ([Sales to date])&lt;/P&gt;&lt;P&gt;and Column(1) as [Billing Days to Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Gysbert suggest post your app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923348#M319730</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-07-31T10:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923349#M319731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try and create a sample document and post it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923349#M319731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923350#M319732</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;Try my suggestion.&lt;/P&gt;&lt;P&gt;Since you can not use Sum() on columnName therefore it is giving you error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923350#M319732</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-07-31T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923351#M319733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;PFA Sample Data and QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923351#M319733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T10:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923352#M319734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;PFA Sample QVW and Data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 11:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923352#M319734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T11:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Calculation Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923353#M319735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where's that final sales expression you mentioned in your opening post? I don't see that in the document you posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 12:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Calculation-Problem/m-p/923353#M319735</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-31T12:54:13Z</dc:date>
    </item>
  </channel>
</rss>

