<?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 Set Analysis Summation Question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Summation-Question/m-p/1958020#M78990</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Looking for some help on a Set Analysis syntax. I've got a sales example, where Deals can have 0 - 4 Business Units associated. A deal has a bookings value and in the data model, the bookings amount is divided evenly amongst each Business Unit it's associated with. In this example, I've got 1 $200 deal split between two business units.&lt;/P&gt;
&lt;P&gt;Deal 123 :: BU1 :: $100&lt;/P&gt;
&lt;P&gt;Deal 123 :: BU2 :: $100&lt;/P&gt;
&lt;P&gt;My Set Analysis syntax looks like this:&amp;nbsp;SUM( {$&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;} [Bookings])&lt;/P&gt;
&lt;P&gt;When I put it in a table with all of the fields, I get the proper $200 Total Bookings.&lt;/P&gt;
&lt;P&gt;When I build a KPI object and ask it to return the Bookings amount, it only returns $100 Bookings.&lt;BR /&gt;Any idea what I need to do so the KPI's recognize adding up and will display the right amount both in Total / KPI views and granularly by BU in a table?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 22:11:22 GMT</pubDate>
    <dc:creator>AndyQuirin1</dc:creator>
    <dc:date>2022-07-19T22:11:22Z</dc:date>
    <item>
      <title>Set Analysis Summation Question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Summation-Question/m-p/1958020#M78990</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Looking for some help on a Set Analysis syntax. I've got a sales example, where Deals can have 0 - 4 Business Units associated. A deal has a bookings value and in the data model, the bookings amount is divided evenly amongst each Business Unit it's associated with. In this example, I've got 1 $200 deal split between two business units.&lt;/P&gt;
&lt;P&gt;Deal 123 :: BU1 :: $100&lt;/P&gt;
&lt;P&gt;Deal 123 :: BU2 :: $100&lt;/P&gt;
&lt;P&gt;My Set Analysis syntax looks like this:&amp;nbsp;SUM( {$&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;} [Bookings])&lt;/P&gt;
&lt;P&gt;When I put it in a table with all of the fields, I get the proper $200 Total Bookings.&lt;/P&gt;
&lt;P&gt;When I build a KPI object and ask it to return the Bookings amount, it only returns $100 Bookings.&lt;BR /&gt;Any idea what I need to do so the KPI's recognize adding up and will display the right amount both in Total / KPI views and granularly by BU in a table?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 22:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Summation-Question/m-p/1958020#M78990</guid>
      <dc:creator>AndyQuirin1</dc:creator>
      <dc:date>2022-07-19T22:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Summation Question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Summation-Question/m-p/1958036#M78992</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/190421"&gt;@AndyQuirin1&lt;/a&gt;&amp;nbsp;Could you please provide us with some sample data for us to help you out with? You Syntax seems to be right.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 02:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Summation-Question/m-p/1958036#M78992</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-20T02:56:35Z</dc:date>
    </item>
  </channel>
</rss>

