<?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: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1702439#M53802</link>
    <description>&lt;P&gt;Thanks Lo&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;renzoconforti - this is working perfectly!!!!&amp;nbsp; Would never-ever have thought of this on my own.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 13:41:52 GMT</pubDate>
    <dc:creator>Stefan_dT</dc:creator>
    <dc:date>2020-05-15T13:41:52Z</dc:date>
    <item>
      <title>Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1598656#M44253</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;I have a dynamic dimension I use in a bar graph, based on the value of a variable.&amp;nbsp; This variable gets set by the end-user's choice of KPI to focus on.&amp;nbsp; It is used to change colour schemes, show/hide measures in tables etc...&amp;nbsp; All works fine.&lt;BR /&gt;&lt;BR /&gt;However when I click on a bar in the bar graph using this&amp;nbsp;dynamic dimension (see code below), it doesn't just filter on the "active" dimension, but on all.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=PICK(MATCH('$(vKPI)'  ,'Sites','Revenue','ARPS','Data','Voice','MSI','nNPS','Quality'), 
                        [Max Tech Data Utilisation % Bracket]
                       ,[Revenue Growth % Bracket]
                       ,[Revenue Growth % Bracket]
                       ,[Data Traffic Growth % Bracket]
                       ,[Voice Traffic Growth % Bracket]     
                       ,[MSI % Bracket]           
                       ,[nNPS Bracket]            
                       ,[Quality % Bracket])
                       &lt;/LI-CODE&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;P&gt;So for example, if the vKPI variable = 'Revenue', the dimension returned would be [Revenue Growth % Bracket].&amp;nbsp; If I click on a bar, eg the "1 - 10%" bracket, my dataset gets filtered on all 8 bracket dimensions:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Filtering" style="width: 293px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14865i5C142FE169856F08/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.Filter.PNG" alt="Filtering" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Filtering&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The result in the selections bar" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14866i64B97738C33828D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.Selections.PNG" alt="The result in the selections bar" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;The result in the selections bar&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I limit the filter action to only filter on the selected dimension from the pick list?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1598656#M44253</guid>
      <dc:creator>Stefan_dT</dc:creator>
      <dc:date>2024-11-16T05:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1598718#M44258</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Just put it inside another dollar sign like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=$(=PICK(MATCH('$(vKPI)'  ,'Sites','Revenue','ARPS','Data','Voice','MSI','nNPS','Quality'), 
                        [Max Tech Data Utilisation % Bracket]
                       ,[Revenue Growth % Bracket]
                       ,[Revenue Growth % Bracket]
                       ,[Data Traffic Growth % Bracket]
                       ,[Voice Traffic Growth % Bracket]     
                       ,[MSI % Bracket]           
                       ,[nNPS Bracket]            
                       ,[Quality % Bracket]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Not shure you need second =, but try. It will calculate required fiel name inside $() dollar and inser single name inside calculated dimension.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 14:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1598718#M44258</guid>
      <dc:creator>Simon_Astakhov</dc:creator>
      <dc:date>2019-07-03T14:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1598897#M44275</link>
      <description>&lt;P&gt;Thanks Simon, but Qlik don't seem to like this syntax.&amp;nbsp; Without the 2nd "=" it gives me an "Invalid Dimension" and with it, it only returns nulls.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 03:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1598897#M44275</guid>
      <dc:creator>Stefan_dT</dc:creator>
      <dc:date>2019-07-04T03:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1599832#M44334</link>
      <description>&lt;P&gt;Managed to get the format sorted of putting it inside a $:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;={'$(=PICK(MATCH(''$(vKPI)''   ,''Sites'',''Revenue'',''ARPS'',''Data'',''Voice'',''MSI'',''nNPS'',''Quality''), 
                         [Max Tech Data Utilisation % Bracket]
                        ,[Revenue Growth % Bracket]
                        ,[Revenue Growth % Bracket]
                        ,[Data Traffic Growth % Bracket]
                        ,[Voice Traffic Growth % Bracket]     
                        ,[MSI % Bracket]           
                        ,[nNPS Bracket]            
                        ,[Quality % Bracket]))'}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This still gives an error msg in the expression editor, but actually worked the same as before.&amp;nbsp; Unfortunately the erroneous behavior of applying a filter on all fields remains.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 10:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1599832#M44334</guid>
      <dc:creator>Stefan_dT</dc:creator>
      <dc:date>2019-07-08T10:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1695525#M53182</link>
      <description>&lt;P&gt;Hello, Did you find any solution for that ?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 06:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1695525#M53182</guid>
      <dc:creator>georgio_hb</dc:creator>
      <dc:date>2020-04-22T06:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1695530#M53183</link>
      <description>&lt;P&gt;Hi Georgio_hb - no sorry, I haven't.&amp;nbsp; This really is a pain.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 06:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1695530#M53183</guid>
      <dc:creator>Stefan_dT</dc:creator>
      <dc:date>2020-04-22T06:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1695655#M53193</link>
      <description>&lt;P&gt;You just need to use a couple of variables&lt;/P&gt;&lt;P&gt;As a dimension in your bar chart, use the following:&lt;/P&gt;&lt;P&gt;='$(dimensionUse)' [note that this is exactly how it needs to show in your field box; if you go into the expression editor it will add an extra square brackets which will make it stop working; depending on how your dimensions are set up you might need to remove the equal sign; see picture below]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Filtering.png" style="width: 243px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32267i2A9D8AD48C208117/image-size/large?v=v2&amp;amp;px=999" role="button" title="Filtering.png" alt="Filtering.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The dimensionUse use variable will be defined as:&lt;/P&gt;&lt;P&gt;$(dimensionDyn)&lt;/P&gt;&lt;P&gt;The&amp;nbsp;dimensionDyn variable will be:&lt;/P&gt;&lt;P&gt;=PICK(MATCH('$(vKPI)' ,'Sites','Revenue','ARPS','Data','Voice','MSI','nNPS','Quality'), '[Max Tech Data Utilisation % Bracket] ','[Revenue Growth % Bracket]' ,'[Revenue Growth % Bracket] ','[Data Traffic Growth % Bracket]' ,'[Voice Traffic Growth % Bracket]' ,'[MSI % Bracket] ','[nNPS Bracket]' ,'[Quality % Bracket]')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need these nested variables to get around the need of single quotes. Once done, when selecting in your chart, it should just limit the selection to that specific dimension&lt;/P&gt;&lt;P&gt;You can also see it implemented here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents-Videos/Qlik-Sense-UK-Maps/ta-p/1634345" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Documents-Videos/Qlik-Sense-UK-Maps/ta-p/1634345&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 10:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1695655#M53193</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-22T10:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1702439#M53802</link>
      <description>&lt;P&gt;Thanks Lo&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;renzoconforti - this is working perfectly!!!!&amp;nbsp; Would never-ever have thought of this on my own.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 13:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1702439#M53802</guid>
      <dc:creator>Stefan_dT</dc:creator>
      <dc:date>2020-05-15T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a dimension from a PICK list, filters on all, instead of just the returned dimensio</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1702485#M53811</link>
      <description>&lt;P&gt;Not a problem; it was causing me some headaches until I got it working this way&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 15:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-on-a-dimension-from-a-PICK-list-filters-on-all-instead/m-p/1702485#M53811</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-05-15T15:03:56Z</dc:date>
    </item>
  </channel>
</rss>

