<?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 Aggregation Distribution across buckets in Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggregation-Distribution-across-buckets-in-Qlik-Sense/m-p/1696626#M53289</link>
    <description>&lt;P&gt;Dear Users,&lt;/P&gt;&lt;P&gt;I am building an App to Allocate Cases based across different dimensions and based on available cases.&lt;/P&gt;&lt;P&gt;The Table 1 looks like below: Here we have CS To Be Reviewed and CS Approved as Measures and are at Plant, Customer Number and Product Code level. We derive&amp;nbsp;on these first three dimensions joins from source tables.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zabiullahsyed_0-1587759868257.png" style="width: 689px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32440i7A4E9FB8E8C1FB5B/image-dimensions/689x109?v=v2" width="689" height="109" role="button" title="zabiullahsyed_0-1587759868257.png" alt="zabiullahsyed_0-1587759868257.png" /&gt;&lt;/span&gt;these measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have a second table where we want to drill down to more detailed dimensions which is sales order and Item.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zabiullahsyed_2-1587760039202.png" style="width: 725px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32442i63EE1286AE89D664/image-dimensions/725x71?v=v2" width="725" height="71" role="button" title="zabiullahsyed_2-1587760039202.png" alt="zabiullahsyed_2-1587760039202.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here we try to derive a measurement called Allocation Decision. If you see the CS To Be Reviewed is distributed correctly from table 1 which is 3 in total. However CS Approved is assigns to each line where as the total of CS Approved is 1 in table 1. This could be due to the fact of detailed dimensions in table 2.&lt;/P&gt;&lt;P&gt;What I want to achieve is:&lt;/P&gt;&lt;P&gt;To Take the Sum of CS Approved from table 1 across those 3 dimensions and start allocating to table 2 lines.&lt;/P&gt;&lt;P&gt;First line should be - SUM(CS Approved across those 3 dimensions which is&amp;nbsp; to be 1) compare to CS To Be Reviewed for first line in table 2 which is 1. And if CS Approved is &amp;gt;= CS To Be Reviewed then Allocation decision is Full Release.&lt;/P&gt;&lt;P&gt;Second Line - Now the&amp;nbsp;SUM(CS Approved across those 3 dimensions which is&amp;nbsp; left with 0 after above allocation)&amp;nbsp;compare to CS To Be Reviewed for first line in table 2 which is 1.&amp;nbsp; Here the Allocation decision is Full Reject.&lt;/P&gt;&lt;P&gt;Third Line will also be Full Reject.&lt;/P&gt;&lt;P&gt;There will be situations where CS Approved will be less than CS To Be Reviewed then Allocation Decision will be Partial Release.&lt;/P&gt;&lt;P&gt;Can you please help with the expression logic or how to achieve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Zabi&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:35:40 GMT</pubDate>
    <dc:creator>zabiullahsyed</dc:creator>
    <dc:date>2024-11-16T02:35:40Z</dc:date>
    <item>
      <title>Aggregation Distribution across buckets in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-Distribution-across-buckets-in-Qlik-Sense/m-p/1696626#M53289</link>
      <description>&lt;P&gt;Dear Users,&lt;/P&gt;&lt;P&gt;I am building an App to Allocate Cases based across different dimensions and based on available cases.&lt;/P&gt;&lt;P&gt;The Table 1 looks like below: Here we have CS To Be Reviewed and CS Approved as Measures and are at Plant, Customer Number and Product Code level. We derive&amp;nbsp;on these first three dimensions joins from source tables.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zabiullahsyed_0-1587759868257.png" style="width: 689px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32440i7A4E9FB8E8C1FB5B/image-dimensions/689x109?v=v2" width="689" height="109" role="button" title="zabiullahsyed_0-1587759868257.png" alt="zabiullahsyed_0-1587759868257.png" /&gt;&lt;/span&gt;these measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have a second table where we want to drill down to more detailed dimensions which is sales order and Item.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zabiullahsyed_2-1587760039202.png" style="width: 725px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32442i63EE1286AE89D664/image-dimensions/725x71?v=v2" width="725" height="71" role="button" title="zabiullahsyed_2-1587760039202.png" alt="zabiullahsyed_2-1587760039202.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here we try to derive a measurement called Allocation Decision. If you see the CS To Be Reviewed is distributed correctly from table 1 which is 3 in total. However CS Approved is assigns to each line where as the total of CS Approved is 1 in table 1. This could be due to the fact of detailed dimensions in table 2.&lt;/P&gt;&lt;P&gt;What I want to achieve is:&lt;/P&gt;&lt;P&gt;To Take the Sum of CS Approved from table 1 across those 3 dimensions and start allocating to table 2 lines.&lt;/P&gt;&lt;P&gt;First line should be - SUM(CS Approved across those 3 dimensions which is&amp;nbsp; to be 1) compare to CS To Be Reviewed for first line in table 2 which is 1. And if CS Approved is &amp;gt;= CS To Be Reviewed then Allocation decision is Full Release.&lt;/P&gt;&lt;P&gt;Second Line - Now the&amp;nbsp;SUM(CS Approved across those 3 dimensions which is&amp;nbsp; left with 0 after above allocation)&amp;nbsp;compare to CS To Be Reviewed for first line in table 2 which is 1.&amp;nbsp; Here the Allocation decision is Full Reject.&lt;/P&gt;&lt;P&gt;Third Line will also be Full Reject.&lt;/P&gt;&lt;P&gt;There will be situations where CS Approved will be less than CS To Be Reviewed then Allocation Decision will be Partial Release.&lt;/P&gt;&lt;P&gt;Can you please help with the expression logic or how to achieve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Zabi&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-Distribution-across-buckets-in-Qlik-Sense/m-p/1696626#M53289</guid>
      <dc:creator>zabiullahsyed</dc:creator>
      <dc:date>2024-11-16T02:35:40Z</dc:date>
    </item>
  </channel>
</rss>

