<?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 allocating sum according to calculated share in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/allocating-sum-according-to-calculated-share/m-p/1677700#M449850</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to allocate products revenue to a certain product (service).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alloc1.png" style="width: 563px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28759iA63840DBE5E9F17F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alloc1.png" alt="alloc1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="allocdata.png" style="width: 450px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28760i970A6AA5AB362117/image-size/large?v=v2&amp;amp;px=999" role="button" title="allocdata.png" alt="allocdata.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Only products that are marked with the flag "In Report?" should be taken into account.&lt;/P&gt;&lt;P&gt;The service product is marked with the flag "Service?".&lt;/P&gt;&lt;P&gt;I fail to achieve it with Set Analysis. Maybe it's not feasible?&lt;/P&gt;&lt;P&gt;I used the expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Service?={1}&amp;gt;}Revenue)&lt;BR /&gt;*&lt;BR /&gt;(&lt;BR /&gt;sum({&amp;lt;[In Report?]={1}&amp;gt;} Revenue)&lt;BR /&gt;/&lt;BR /&gt;sum( TOTAL{&amp;lt;[In Report?]={1}&amp;gt;} Revenue)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Attached is a sample model &amp;nbsp;I built.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:04:39 GMT</pubDate>
    <dc:creator>dafnis14</dc:creator>
    <dc:date>2024-11-16T19:04:39Z</dc:date>
    <item>
      <title>allocating sum according to calculated share</title>
      <link>https://community.qlik.com/t5/QlikView/allocating-sum-according-to-calculated-share/m-p/1677700#M449850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to allocate products revenue to a certain product (service).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alloc1.png" style="width: 563px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28759iA63840DBE5E9F17F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alloc1.png" alt="alloc1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="allocdata.png" style="width: 450px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28760i970A6AA5AB362117/image-size/large?v=v2&amp;amp;px=999" role="button" title="allocdata.png" alt="allocdata.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Only products that are marked with the flag "In Report?" should be taken into account.&lt;/P&gt;&lt;P&gt;The service product is marked with the flag "Service?".&lt;/P&gt;&lt;P&gt;I fail to achieve it with Set Analysis. Maybe it's not feasible?&lt;/P&gt;&lt;P&gt;I used the expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Service?={1}&amp;gt;}Revenue)&lt;BR /&gt;*&lt;BR /&gt;(&lt;BR /&gt;sum({&amp;lt;[In Report?]={1}&amp;gt;} Revenue)&lt;BR /&gt;/&lt;BR /&gt;sum( TOTAL{&amp;lt;[In Report?]={1}&amp;gt;} Revenue)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Attached is a sample model &amp;nbsp;I built.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/allocating-sum-according-to-calculated-share/m-p/1677700#M449850</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2024-11-16T19:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: allocating sum according to calculated share</title>
      <link>https://community.qlik.com/t5/QlikView/allocating-sum-according-to-calculated-share/m-p/1677794#M449862</link>
      <description>&lt;P&gt;&lt;STRONG&gt;please try&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;sum(total {&amp;lt;[Product Name]=,Service?={1}&amp;gt;}Revenue)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sum({&amp;lt;[In Report?]={1}&amp;gt;} Revenue)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sum( TOTAL{&amp;lt;[In Report?]={1}&amp;gt;} Revenue)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 21:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/allocating-sum-according-to-calculated-share/m-p/1677794#M449862</guid>
      <dc:creator>jochem_zw</dc:creator>
      <dc:date>2020-02-20T21:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: allocating sum according to calculated share</title>
      <link>https://community.qlik.com/t5/QlikView/allocating-sum-according-to-calculated-share/m-p/1677869#M449870</link>
      <description>&lt;P&gt;Brilliant!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 05:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/allocating-sum-according-to-calculated-share/m-p/1677869#M449870</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2020-02-21T05:04:15Z</dc:date>
    </item>
  </channel>
</rss>

