<?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 Exclude total based on current selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-total-based-on-current-selection/m-p/2817#M193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a graph displaying the following facts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- average age &lt;/P&gt;&lt;P&gt;IF(((GetSelectedCount([Jaar])=0)*(GetSelectedCount([Maand])=0)),&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;Jaar={$(=max(Jaar))},[CM Flag]={'1'}&amp;gt;}Leeftijd),&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;[Jaar-Maand]=P({$&amp;lt;Jaar={$(=max(Jaar))}&amp;gt;}[Jaar-Maand]),Jaar={$(=max(Jaar))}&amp;gt;}Leeftijd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- average age ignoring the current selection&lt;/P&gt;&lt;P&gt;IF(((GetSelectedCount([Jaar])=0)*(GetSelectedCount([Maand])=0)),&lt;/P&gt;&lt;P&gt;Avg({1&amp;lt;Jaar={$(=max(Jaar))},[CM Flag]={'1'}&amp;gt;}Leeftijd),&lt;/P&gt;&lt;P&gt;Avg({1&amp;lt;[Jaar-Maand]=P({$&amp;lt;Jaar={$(=max(Jaar))}&amp;gt;}[Jaar-Maand]),Jaar={$(=max(Jaar))}&amp;gt;}Leeftijd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension is RoleGroup, so it shows me the average age per RoleGroup for a particular Location of the company, compared to the average age per RoleGroup based on the entire company. E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Knipsel1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190497_Knipsel1.PNG" style="height: 205px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;I want to exclude the red bars in case there is no blue bar present. In this example, I don't want to see the 'Advies' and 'BVT' bars. What would be the best way to achieve that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 12:58:50 GMT</pubDate>
    <dc:creator>drvqliksense</dc:creator>
    <dc:date>2018-01-18T12:58:50Z</dc:date>
    <item>
      <title>Exclude total based on current selection</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-total-based-on-current-selection/m-p/2817#M193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a graph displaying the following facts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- average age &lt;/P&gt;&lt;P&gt;IF(((GetSelectedCount([Jaar])=0)*(GetSelectedCount([Maand])=0)),&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;Jaar={$(=max(Jaar))},[CM Flag]={'1'}&amp;gt;}Leeftijd),&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;[Jaar-Maand]=P({$&amp;lt;Jaar={$(=max(Jaar))}&amp;gt;}[Jaar-Maand]),Jaar={$(=max(Jaar))}&amp;gt;}Leeftijd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- average age ignoring the current selection&lt;/P&gt;&lt;P&gt;IF(((GetSelectedCount([Jaar])=0)*(GetSelectedCount([Maand])=0)),&lt;/P&gt;&lt;P&gt;Avg({1&amp;lt;Jaar={$(=max(Jaar))},[CM Flag]={'1'}&amp;gt;}Leeftijd),&lt;/P&gt;&lt;P&gt;Avg({1&amp;lt;[Jaar-Maand]=P({$&amp;lt;Jaar={$(=max(Jaar))}&amp;gt;}[Jaar-Maand]),Jaar={$(=max(Jaar))}&amp;gt;}Leeftijd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension is RoleGroup, so it shows me the average age per RoleGroup for a particular Location of the company, compared to the average age per RoleGroup based on the entire company. E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Knipsel1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190497_Knipsel1.PNG" style="height: 205px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;I want to exclude the red bars in case there is no blue bar present. In this example, I don't want to see the 'Advies' and 'BVT' bars. What would be the best way to achieve that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 12:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-total-based-on-current-selection/m-p/2817#M193</guid>
      <dc:creator>drvqliksense</dc:creator>
      <dc:date>2018-01-18T12:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude total based on current selection</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-total-based-on-current-selection/m-p/2818#M194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;average age ignoring the current selection&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(IF(((GetSelectedCount([Jaar])=0)*(GetSelectedCount([Maand])=0)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Avg({&amp;lt;Jaar={$(=max(Jaar))},[CM Flag]={'1'}&amp;gt;}Leeftijd),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Avg({&amp;lt;[Jaar-Maand]=P({$&amp;lt;Jaar={$(=max(Jaar))}&amp;gt;}[Jaar-Maand]),Jaar={$(=max(Jaar))}&amp;gt;}Leeftijd)) &amp;lt;&amp;gt; 0, &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;IF(((GetSelectedCount([Jaar])=0)*(GetSelectedCount([Maand])=0)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Avg({1&amp;lt;Jaar={$(=max(Jaar))},[CM Flag]={'1'}&amp;gt;}Leeftijd),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Avg({1&amp;lt;[Jaar-Maand]=P({$&amp;lt;Jaar={$(=max(Jaar))}&amp;gt;}[Jaar-Maand]),Jaar={$(=max(Jaar))}&amp;gt;}Leeftijd)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 17:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-total-based-on-current-selection/m-p/2818#M194</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T17:58:14Z</dc:date>
    </item>
  </channel>
</rss>

