<?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: Straight Table Getting all values except current line at aggregated level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123686#M18832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(TOTAL &amp;lt;Doc&amp;gt; Revenue) - Sum(Revenue), Doc, Supplier))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207371_Capture.PNG" style="height: 269px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2018 16:25:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-09T16:25:05Z</dc:date>
    <item>
      <title>Straight Table Getting all values except current line at aggregated level</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123683#M18829</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;In a straight table I need to get the total revenue for each supplier, where the revenue is NOT generated for the current supplier for the current Doc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the final table, only the Supplier dimension is supposed to be there.&lt;/P&gt;&lt;P&gt;Note that, for Doc 3810 the result should be 0, because on that Doc there where to other suppliers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample data both in image and table form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to go from this:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to This:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="From_001.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207333_From_001.png" style="height: auto;" /&gt;&lt;IMG alt="To.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/207334_To.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In table form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="169" style="width: 380px; height: 146px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="130"&gt;Doc&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="153"&gt;Supplier&lt;/TD&gt;&lt;TD class="xl67" width="98"&gt;Revenue&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;3810&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Diverse&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2755&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;3813&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Nike&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;350&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;3813&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Craft&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;550&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;3813&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Aqualung&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;3813&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Sports&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;P&gt;200&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="403"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="153"&gt;Supplier&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Revenue&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="152"&gt;Revenue Not cur Supplier&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none;"&gt;4055&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Diverse&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2755&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Aqualung&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Craft&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;550&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;750&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Nike&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;350&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;950&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Sports&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that I need some sum(aggr()) combined with a TOTAL but I haven't been able to create the correct expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 12:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123683#M18829</guid>
      <dc:creator>allan_vittrup</dc:creator>
      <dc:date>2018-07-09T12:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Getting all values except current line at aggregated level</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123684#M18830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please attached sample qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123684#M18830</guid>
      <dc:creator>mayankraoka</dc:creator>
      <dc:date>2018-07-09T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Getting all values except current line at aggregated level</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123685#M18831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why supplier Aqualung and Sports should get 1100? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 16:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123685#M18831</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-09T16:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Getting all values except current line at aggregated level</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123686#M18832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(TOTAL &amp;lt;Doc&amp;gt; Revenue) - Sum(Revenue), Doc, Supplier))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207371_Capture.PNG" style="height: 269px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 16:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123686#M18832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-09T16:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Getting all values except current line at aggregated level</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123687#M18833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exactly what I was looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 07:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Getting-all-values-except-current-line-at/m-p/123687#M18833</guid>
      <dc:creator>allan_vittrup</dc:creator>
      <dc:date>2018-07-10T07:30:59Z</dc:date>
    </item>
  </channel>
</rss>

