<?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 Dynamic Grouping and Subtotal percentage in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-Grouping-and-Subtotal-percentage/m-p/2034932#M85292</link>
    <description>&lt;P&gt;I have a scenario&lt;/P&gt;
&lt;P&gt;Measure assume : Sum(Sales)&lt;/P&gt;
&lt;P&gt;A: Root level : One Value is selected from the dashboard&amp;nbsp;&lt;BR /&gt;&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;&lt;STRONG&gt;This is the main total for all further calcs&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;B: Level 2 : One Value is selected from the dashboard&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Associated value should be shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unassociated should be grouped into Others.&lt;/P&gt;
&lt;P&gt;C: Level 3&amp;nbsp; :&amp;nbsp; Associated value should be shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unassociated should be grouped into Others.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Level 4 :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Associated value should be shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unassociated should be grouped into Others.&lt;BR /&gt;&lt;BR /&gt;I have to calculate sum(Sales) and % Total for each level using a pivot table.&lt;/P&gt;
&lt;P&gt;Can someone help me on this scenario&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 12:33:38 GMT</pubDate>
    <dc:creator>vaibhavrc09</dc:creator>
    <dc:date>2023-02-07T12:33:38Z</dc:date>
    <item>
      <title>Dynamic Grouping and Subtotal percentage</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Grouping-and-Subtotal-percentage/m-p/2034932#M85292</link>
      <description>&lt;P&gt;I have a scenario&lt;/P&gt;
&lt;P&gt;Measure assume : Sum(Sales)&lt;/P&gt;
&lt;P&gt;A: Root level : One Value is selected from the dashboard&amp;nbsp;&lt;BR /&gt;&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;&lt;STRONG&gt;This is the main total for all further calcs&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;B: Level 2 : One Value is selected from the dashboard&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Associated value should be shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unassociated should be grouped into Others.&lt;/P&gt;
&lt;P&gt;C: Level 3&amp;nbsp; :&amp;nbsp; Associated value should be shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unassociated should be grouped into Others.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Level 4 :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Associated value should be shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unassociated should be grouped into Others.&lt;BR /&gt;&lt;BR /&gt;I have to calculate sum(Sales) and % Total for each level using a pivot table.&lt;/P&gt;
&lt;P&gt;Can someone help me on this scenario&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 12:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Grouping-and-Subtotal-percentage/m-p/2034932#M85292</guid>
      <dc:creator>vaibhavrc09</dc:creator>
      <dc:date>2023-02-07T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Grouping and Subtotal percentage</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Grouping-and-Subtotal-percentage/m-p/2035215#M85312</link>
      <description>&lt;P&gt;G'day, this idea is called "Brushing" and I think the best way to do this is with &lt;A href="https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_self"&gt;Set Analysis&lt;/A&gt;. In the help page, you can find an example expression which gives you what you're looking for ...&lt;/P&gt;
&lt;TABLE class="TableStyle-tableGrid" cellspacing="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="BodyI--"&gt;&lt;SPAN class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;sum( {1-$} Sales )&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD class="BodyG--"&gt;Returns sales for everything excluded by the selection.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The % total would be something like this ...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum( Sales ) / sum( total Sales )&lt;/LI-CODE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum( Sales ) / sum( {1} Sales )&lt;/LI-CODE&gt;
&lt;P&gt;I hope this help.&lt;/P&gt;
&lt;P&gt;Cheers, Barnaby.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 22:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Grouping-and-Subtotal-percentage/m-p/2035215#M85312</guid>
      <dc:creator>barnabyd</dc:creator>
      <dc:date>2023-02-07T22:31:53Z</dc:date>
    </item>
  </channel>
</rss>

