<?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 Problem with &amp;quot;Total&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307438#M1187352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QV-Designers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the ratio of the discount per "employee"&lt;/P&gt;&lt;P&gt;therefore i use the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These expression works fine.&lt;/P&gt;&lt;P&gt;I want to divide the mentioned expression by the total amount of discount of the store,&lt;/P&gt;&lt;P&gt;but i dont know how to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;so long&lt;/P&gt;&lt;P&gt;daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2011 13:04:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-29T13:04:20Z</dc:date>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307438#M1187352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QV-Designers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the ratio of the discount per "employee"&lt;/P&gt;&lt;P&gt;therefore i use the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These expression works fine.&lt;/P&gt;&lt;P&gt;I want to divide the mentioned expression by the total amount of discount of the store,&lt;/P&gt;&lt;P&gt;but i dont know how to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;so long&lt;/P&gt;&lt;P&gt;daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307438#M1187352</guid>
      <dc:creator />
      <dc:date>2011-08-29T13:04:20Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307439#M1187353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( { &amp;lt;TypeOfVoucher={'Store'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307439#M1187353</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-29T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307440#M1187354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nope;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think, i must add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;total &amp;lt;Store&amp;gt;&lt;/P&gt;&lt;P&gt;somewhere,&lt;/P&gt;&lt;P&gt;but it isn't clear to me where exactly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307440#M1187354</guid>
      <dc:creator />
      <dc:date>2011-08-29T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307441#M1187355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am not sure might be this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount)&lt;/P&gt;&lt;P&gt;/sum(total &amp;lt;Store&amp;gt;AmoutOfDiscount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307441#M1187355</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-29T13:45:12Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307442#M1187356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( TOTAL { &amp;lt;TypeOfVoucher={'Store'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 14:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307442#M1187356</guid>
      <dc:creator />
      <dc:date>2011-08-29T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307443#M1187357</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 just tried the two described solutions shown up, and it didn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 07:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307443#M1187357</guid>
      <dc:creator />
      <dc:date>2011-08-30T07:10:37Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307444#M1187358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;substitute sum(TOTAL ....&amp;nbsp;&amp;nbsp; with&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {1}...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307444#M1187358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T10:36:01Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307445#M1187359</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount) /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} Total AmoutOfDiscount) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307445#M1187359</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-08-30T10:40:09Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307446#M1187360</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;unforunately the formula still doesn't work right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the solution of Kaushik seems to be one step closer to the disered goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 07:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307446#M1187360</guid>
      <dc:creator />
      <dc:date>2011-09-01T07:57:10Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307447#M1187361</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 think you need to expand the set analysis on the bottom line of the expression Kaushik posted, so that the employee field is ignored and it's able to grab the total for the whole store&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount) /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM ( { &amp;lt;TypeOfVoucher={'Sale'} ,[your empoyee field here] =, DiscountID = {'Reduction'} &amp;gt;} Total AmoutOfDiscount) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as at present I think it is just grabbing the total for the empoyee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 08:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307447#M1187361</guid>
      <dc:creator />
      <dc:date>2011-09-01T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307448#M1187362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the diagramm is a "pivot table"&lt;/P&gt;&lt;P&gt;so that the empolyee-number, shop-number and&amp;nbsp; a time-scale&amp;nbsp; is used to creat this "pivot".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿﻿But I want to show a ratio of the "reduction per employee in relation to the total reduction of the whole shop".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greets&lt;/P&gt;&lt;P&gt;daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 09:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307448#M1187362</guid>
      <dc:creator />
      <dc:date>2011-09-01T09:04:03Z</dc:date>
    </item>
    <item>
      <title>Problem with "Total"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307449#M1187363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is what I thought, you will still need to put the employee-number in your set analysis in order to get the correct total, as it stands if you don't put that extra set analysis in the total part of your expression it won't know to ignore the employee-number and so give you the wrong total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM ( { &amp;lt;TypeOfVoucher={'Sale'} , DiscountID = {'Reduction'} &amp;gt;} AmoutOfDiscount) /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM ( { &amp;lt;TypeOfVoucher={'Sale'} ,[employee-number] =, DiscountID = {'Reduction'} &amp;gt;} Total AmoutOfDiscount) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 09:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Total-quot/m-p/307449#M1187363</guid>
      <dc:creator />
      <dc:date>2011-09-01T09:11:42Z</dc:date>
    </item>
  </channel>
</rss>

