<?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: Master Dimension in a variable Dropdown selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2427166#M96242</link>
    <description>&lt;P&gt;Variables do not appear to work as master item names.&lt;/P&gt;
&lt;P&gt;Here is a thought (i.e. I have not tried this exact combination)&lt;/P&gt;
&lt;P&gt;What if you made your variable something like this:&lt;/P&gt;
&lt;P&gt;let vDrill = If(GetPossibleCount(topLevelField)&amp;gt;1, topLevelField, If(GetPossibleCount(midLevelField)&amp;gt;1,&amp;nbsp;midLevelField, bottomLevelField))&lt;/P&gt;
&lt;P&gt;then your dimension would just be something&amp;nbsp; [$(vDrill)]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you may have to play around with the = and $ expansion to get it working properly, and repeat the process for the labeling.&lt;/P&gt;
&lt;P&gt;This should mimic the drill down of only displaying the item if there is more than one possible value.&lt;/P&gt;
&lt;P&gt;You could probably even bury the whole thing in a master item so users do not see the mechanics of it.&lt;/P&gt;
&lt;P&gt;-HTH&lt;/P&gt;
&lt;P&gt;ws&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 13:43:13 GMT</pubDate>
    <dc:creator>WaltShpuntoff</dc:creator>
    <dc:date>2024-03-05T13:43:13Z</dc:date>
    <item>
      <title>Master Dimension in a variable Dropdown selection</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2425860#M96136</link>
      <description>&lt;P&gt;Hi, i have a master dimension (MM_Region) which, top to bottom, will go Region &amp;gt; Team &amp;gt; Underwriter. I can integrate this into a visualisation as a&amp;nbsp; master dimension however what i would like to do it have a variable dropdown in place of the dimension so i can control the visual with the values in the dropdown. i know how create the variable list and use in the chart, however what i want to do is have a dropdown that will have, for example, 3 values. Product, Type, MM_Region (Master dimension). is this possible? How do i reference the MM_Region as a value in the dropdown or is this not possible? Hopefully that makes sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 11:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2425860#M96136</guid>
      <dc:creator>david_pearson</dc:creator>
      <dc:date>2024-03-01T11:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Master Dimension in a variable Dropdown selection</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2425875#M96139</link>
      <description>&lt;P&gt;You can use a variable as a dimension.&lt;/P&gt;
&lt;P&gt;So if your drop down goes to a variable called variableName, then your chart dimension becomes [$(variableName)] and your label can be ='$(variableName)'&lt;/P&gt;
&lt;P&gt;As far as the variable itself goes - you can use the dynamic value definition to populate that.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;-ws&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 12:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2425875#M96139</guid>
      <dc:creator>WaltShpuntoff</dc:creator>
      <dc:date>2024-03-01T12:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Master Dimension in a variable Dropdown selection</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2426476#M96204</link>
      <description>&lt;P&gt;Yea, i understand that i can use a variable as a dropdown, but i want to use a master dimension as one of the variable dropdown values. as you can see from this image, the master dimension has all 3 fields i want, but at the moment in the dropdown values i have to have them as individual fields. can i have this 1 value looking at this master dimension?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="david_pearson_0-1709543255701.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161208i851803CAFA37F288/image-size/medium?v=v2&amp;amp;px=400" role="button" title="david_pearson_0-1709543255701.png" alt="david_pearson_0-1709543255701.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 09:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2426476#M96204</guid>
      <dc:creator>david_pearson</dc:creator>
      <dc:date>2024-03-04T09:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Master Dimension in a variable Dropdown selection</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2427166#M96242</link>
      <description>&lt;P&gt;Variables do not appear to work as master item names.&lt;/P&gt;
&lt;P&gt;Here is a thought (i.e. I have not tried this exact combination)&lt;/P&gt;
&lt;P&gt;What if you made your variable something like this:&lt;/P&gt;
&lt;P&gt;let vDrill = If(GetPossibleCount(topLevelField)&amp;gt;1, topLevelField, If(GetPossibleCount(midLevelField)&amp;gt;1,&amp;nbsp;midLevelField, bottomLevelField))&lt;/P&gt;
&lt;P&gt;then your dimension would just be something&amp;nbsp; [$(vDrill)]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you may have to play around with the = and $ expansion to get it working properly, and repeat the process for the labeling.&lt;/P&gt;
&lt;P&gt;This should mimic the drill down of only displaying the item if there is more than one possible value.&lt;/P&gt;
&lt;P&gt;You could probably even bury the whole thing in a master item so users do not see the mechanics of it.&lt;/P&gt;
&lt;P&gt;-HTH&lt;/P&gt;
&lt;P&gt;ws&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 13:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Dimension-in-a-variable-Dropdown-selection/m-p/2427166#M96242</guid>
      <dc:creator>WaltShpuntoff</dc:creator>
      <dc:date>2024-03-05T13:43:13Z</dc:date>
    </item>
  </channel>
</rss>

