<?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 how to get total sales based on drill down dimension selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1802952#M65137</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have a bar chart with 2 dimensions and 1 measure, as shown below:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abc_18_0-1619434535469.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53677iF53237B1C01B04DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abc_18_0-1619434535469.png" alt="abc_18_0-1619434535469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here one of the dimension State is a master dimension (a drill-down dimension).ro_so-&amp;gt;ro_do-&amp;gt;district&lt;/P&gt;&lt;P&gt;My requirement is to display the total sales value as a second measure which gives the total value grouping&amp;nbsp; for each product , for which I am using tooltip as shown below.&lt;/P&gt;&lt;P&gt;I tried using the expression :- sum(total &amp;lt;product&amp;gt; sales), but it's not giving me total value.&lt;/P&gt;&lt;P&gt;and if user select any sales office, then it should further drill down to District office and total sales value grouping should be based on ro_do product wise.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abc_18_1-1619505078434.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53768iBF0707501CE46B38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abc_18_1-1619505078434.png" alt="abc_18_1-1619505078434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 06:55:05 GMT</pubDate>
    <dc:creator>abc_18</dc:creator>
    <dc:date>2021-04-27T06:55:05Z</dc:date>
    <item>
      <title>how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1802952#M65137</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have a bar chart with 2 dimensions and 1 measure, as shown below:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abc_18_0-1619434535469.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53677iF53237B1C01B04DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abc_18_0-1619434535469.png" alt="abc_18_0-1619434535469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here one of the dimension State is a master dimension (a drill-down dimension).ro_so-&amp;gt;ro_do-&amp;gt;district&lt;/P&gt;&lt;P&gt;My requirement is to display the total sales value as a second measure which gives the total value grouping&amp;nbsp; for each product , for which I am using tooltip as shown below.&lt;/P&gt;&lt;P&gt;I tried using the expression :- sum(total &amp;lt;product&amp;gt; sales), but it's not giving me total value.&lt;/P&gt;&lt;P&gt;and if user select any sales office, then it should further drill down to District office and total sales value grouping should be based on ro_do product wise.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abc_18_1-1619505078434.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53768iBF0707501CE46B38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abc_18_1-1619505078434.png" alt="abc_18_1-1619505078434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 06:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1802952#M65137</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2021-04-27T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1802957#M65138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48934"&gt;@abc_18&lt;/a&gt;&amp;nbsp;, you need to use the GetObjectDimension() function to get the dimension in the first position. More info here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getobjectdimension.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getobjectdimension.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 07:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1802957#M65138</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-04-27T07:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803000#M65145</link>
      <description>&lt;P&gt;Hi juan,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I tried using below expression :-&lt;/P&gt;&lt;P&gt;=Sum(TOTAL {$&amp;lt;Product=p(Product)&amp;gt;} quantity_sum), till level 3 it's working but at last level data is not summing up.&lt;/P&gt;&lt;P&gt;SO&amp;gt;DO-&amp;gt;SA-&amp;gt;RO, till SA level its working, I can see total sales value product wise, but if I select any SA it will further drill down to RO level, which is last one and in total sales I am getting blank value&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 08:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803000#M65145</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2021-04-27T08:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803094#M65162</link>
      <description>&lt;P&gt;If when selecting SA you go directly to RO level, this is because there is only one SA item, as when only one SA item available the dimension will jump to RO level (and doesn't matter if you select one SA or there is only one SA).&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 11:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803094#M65162</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-04-27T11:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803386#M65206</link>
      <description>&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;For one sales area(SA) we have multiple RO's, at SA level for different SA's I am getting total sales, similarly if I select any SA, it will further drill down to RO's level and for each RO, we have some sales data.&lt;/P&gt;&lt;P&gt;But total sales at RO level is not showing&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abc_18_0-1619595177654.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53866i26F9AEFBABFA4500/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abc_18_0-1619595177654.png" alt="abc_18_0-1619595177654.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 07:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803386#M65206</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2021-04-28T07:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803408#M65210</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48934"&gt;@abc_18&lt;/a&gt;, when I suggested to use GetObjectDimension() did you tried that option? I think it can work something like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Sum(TOTAL &amp;lt;[$(=GetObjectDimension(0))]&amp;gt; &lt;SPAN&gt;quantity_sum&lt;/SPAN&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803408#M65210</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-04-28T08:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803439#M65219</link>
      <description>&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;Yes, I tried with little modification:-&lt;/P&gt;&lt;P&gt;Sum(TOTAL {$&amp;lt;[$(=GetObjectDimension(0))],Product=p(Product)&amp;gt; }quantity_sum)&lt;/P&gt;&lt;P&gt;but this expression is also not giving total sales value at RO level (the last level)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 09:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803439#M65219</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2021-04-28T09:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803446#M65220</link>
      <description>&lt;P&gt;I think you don't need set analysis, just the TOTAL sum. Have you tried with the expression I wrote before?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum(TOTAL &amp;lt;[$(=GetObjectDimension(0))]&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;quantity_sum&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 09:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803446#M65220</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-04-28T09:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803472#M65225</link>
      <description>&lt;P&gt;Yes tried, but this gives me "error in expression".&lt;/P&gt;&lt;P&gt;If I add set analysis then only I am getting "Total Sales" till SA level.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 11:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803472#M65225</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2021-04-28T11:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803522#M65235</link>
      <description>&lt;P&gt;Just in case, try to accept the expression even if you get an "error in expression". I got that error and ignore it as I think Qlik Sense is not able to parse this dollar expansion outside the set analysis.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 13:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803522#M65235</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-04-28T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803530#M65238</link>
      <description>&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;Thanks for your response. tried the above expression even with error, but same issue:-(&lt;/P&gt;&lt;P&gt;No total sales at RO level.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 13:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803530#M65238</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2021-04-28T13:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803537#M65239</link>
      <description>&lt;P&gt;Then probably there is something in your data or model that has to be considered here. If you can replicate this with an example data set or app...&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 13:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1803537#M65239</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-04-28T13:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to get total sales based on drill down dimension selection</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1804120#M65313</link>
      <description>&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;I tried working on the sample data and it's working perfectly fine there, but not in my application.&lt;/P&gt;&lt;P&gt;In my app I am using two tables by linking them, don't know what can be the issue. will again look into that.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&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;</description>
      <pubDate>Fri, 30 Apr 2021 09:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-total-sales-based-on-drill-down-dimension-selection/m-p/1804120#M65313</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2021-04-30T09:25:12Z</dc:date>
    </item>
  </channel>
</rss>

