<?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 Re: show dimension values based on condition in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/show-dimension-values-based-on-condition/m-p/69479#M1124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable with the following:&lt;/P&gt;&lt;P&gt;=if(only(country)='ALL','{&amp;lt;country=e(country)&amp;gt;}','{&amp;lt;country=P(country)&amp;gt;}')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as an expression, use:&lt;/P&gt;&lt;P&gt;sum($(vSetAnalysis)Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this set, when you select ALL, it gets the excluded values for the country filter (getting all values besides the 'ALL' value) and when selecting anything else, it gets the possible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pictures for reference:&lt;/P&gt;&lt;P&gt;1. Variable creation&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203023_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Expression:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203069_sample2.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 12:45:25 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2018-05-22T12:45:25Z</dc:date>
    <item>
      <title>show dimension values based on condition</title>
      <link>https://community.qlik.com/t5/Archived-Groups/show-dimension-values-based-on-condition/m-p/69478#M1123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi All,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Please find the below table.Country dimension as list box if i selected ALL ,in the pivot table i want to show all countries except ALL&amp;nbsp; otherwise it should show selected country.&lt;/P&gt;&lt;TABLE style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;" width="128"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl1539" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;" width="64"&gt;country&lt;/TD&gt;&lt;TD class="xl1539" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;" width="64"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="17" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;ALL&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="17" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;IND&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="17" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;USA&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="17" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;UK&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2025 17:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/show-dimension-values-based-on-condition/m-p/69478#M1123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-22T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: show dimension values based on condition</title>
      <link>https://community.qlik.com/t5/Archived-Groups/show-dimension-values-based-on-condition/m-p/69479#M1124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable with the following:&lt;/P&gt;&lt;P&gt;=if(only(country)='ALL','{&amp;lt;country=e(country)&amp;gt;}','{&amp;lt;country=P(country)&amp;gt;}')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as an expression, use:&lt;/P&gt;&lt;P&gt;sum($(vSetAnalysis)Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this set, when you select ALL, it gets the excluded values for the country filter (getting all values besides the 'ALL' value) and when selecting anything else, it gets the possible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pictures for reference:&lt;/P&gt;&lt;P&gt;1. Variable creation&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203023_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Expression:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/203069_sample2.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 12:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/show-dimension-values-based-on-condition/m-p/69479#M1124</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-05-22T12:45:25Z</dc:date>
    </item>
  </channel>
</rss>

