<?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: problem with summing the rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485014#M181204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which expression? The last one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Sep 2013 19:21:47 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2013-09-26T19:21:47Z</dc:date>
    <item>
      <title>problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485007#M181197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my scenario i am having &lt;/P&gt;&lt;P&gt;salesman and manager level charts &lt;/P&gt;&lt;P&gt;in the both charts i am using the same expressions but in the salesman chart &lt;/P&gt;&lt;P&gt;the fields are like area,area num, salesman and in manager level&amp;nbsp;&amp;nbsp; chart 1&lt;/P&gt;&lt;P&gt;area, region, manager &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; chart 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here actually when i sue expression total in the total field the totals are wrong then i changed it to sum of rows then the total are true &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the the chart 2 there is only one row it is giving me the result as per the expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isthere any other way to write the expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum((sum({&amp;lt;Week={12}&amp;gt;}Vol)/2),sum({&amp;lt;Week={12}&amp;gt;}DISTINCT Units)/2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 17:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485007#M181197</guid>
      <dc:creator />
      <dc:date>2013-09-26T17:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485008#M181198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any way to write this expression with out using distinct function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;RangeSum((sum({&amp;lt;Week={12}&amp;gt;}Vol)/2),sum({&amp;lt;Week={12}&amp;gt;}DISTINCT Units)/2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 17:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485008#M181198</guid>
      <dc:creator />
      <dc:date>2013-09-26T17:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485009#M181199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone help me on this &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>Thu, 26 Sep 2013 18:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485009#M181199</guid>
      <dc:creator />
      <dc:date>2013-09-26T18:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485010#M181200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample app?&lt;/P&gt;&lt;P&gt;I´ll write the expression for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 18:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485010#M181200</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-09-26T18:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485011#M181201</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;Dont use sum with distinct function. its not meaningful. If i understand correct means use like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= (Sum({&amp;lt;Week={12}&amp;gt;}Vol)/2) +&amp;nbsp; (Count({&amp;lt;Week={12}&amp;gt;}DISTINCT Units)/2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 19:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485011#M181201</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2013-09-26T19:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485012#M181202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may i know where can i attach the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 19:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485012#M181202</guid>
      <dc:creator />
      <dc:date>2013-09-26T19:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485013#M181203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the response but it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 19:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485013#M181203</guid>
      <dc:creator />
      <dc:date>2013-09-26T19:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485014#M181204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which expression? The last one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 19:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485014#M181204</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-09-26T19:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485015#M181205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you see the totals for 9/13/2013 in chart one CB Data is 120 since i am using distinct &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the second chart CB data value is 210 since i apply distinct but there i am using sum of rows &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 19:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485015#M181205</guid>
      <dc:creator />
      <dc:date>2013-09-26T19:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485016#M181206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the "problem":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression shows different values because&amp;nbsp; "&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Mary Herrera" and "&lt;/SPAN&gt;Rebecca O'Marrah" have same CB_UNITS, so when your graph splits by RepName, those are counted separated and on other graph they are aggregated together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without knowing more about your data and business rules,I can´t help you more than this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(sum({&amp;lt;WeekDate={41530}&amp;gt;}distinct CB_Units)/DailyDoseConvFactor,RepName))&lt;/P&gt;&lt;P&gt;in first graph will fix your values, please check if is what you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 20:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485016#M181206</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-09-26T20:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485017#M181207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq very much now it is calculating according to the repname and i am getting correct values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 20:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485017#M181207</guid>
      <dc:creator />
      <dc:date>2013-09-26T20:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485018#M181208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anjos&lt;/P&gt;&lt;P&gt;i am able to fix one issue but when i try to use the same formula for my line graph i am unable to get the correct values RangeSum((sum(VolUnits)/2) , sum(aggr(sum(DISTINCT CB_Units)/DailyDoseConvFactor,RepName)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the graph dimension is weekdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 19:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485018#M181208</guid>
      <dc:creator />
      <dc:date>2013-09-27T19:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485019#M181209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(aggr(sum({&amp;lt;WeekDate={41530}&amp;gt;}distinct CB_Units)/DailyDoseConvFactor,WeekDate,RepName)) or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(aggr(sum({&amp;lt;WeekDate={41530}&amp;gt;}distinct CB_Units)/DailyDoseConvFactor,RepName,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WeekDate&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 19:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485019#M181209</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-09-27T19:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with summing the rows</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485020#M181210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq very much it works perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 23:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-summing-the-rows/m-p/485020#M181210</guid>
      <dc:creator />
      <dc:date>2013-09-27T23:05:26Z</dc:date>
    </item>
  </channel>
</rss>

