<?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: How to reference Master Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1867959#M71672</link>
    <description>&lt;P&gt;Thank you got your Time!&lt;/P&gt;
&lt;P&gt;I am looking dot a Solution where you are Abel to choose between two drill down dimensions&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;case1: Drilldown1 Country-&amp;gt; City-&amp;gt; village&lt;/P&gt;
&lt;P&gt;case2: Drilldown2: Manager -&amp;gt; Teamleader -&amp;gt; Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;but anyway Thank you for your Time !&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 08:26:06 GMT</pubDate>
    <dc:creator>SonPhan</dc:creator>
    <dc:date>2021-12-08T08:26:06Z</dc:date>
    <item>
      <title>How to reference Master Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1866968#M71593</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;is it possible to reference drilldown (master dimensions)?&lt;BR /&gt;Requirement would be e.g. if(...., Drilldown1, Drilldown2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards Son&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 09:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1866968#M71593</guid>
      <dc:creator>SonPhan</dc:creator>
      <dc:date>2021-12-06T09:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference Master Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1867583#M71647</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If my understanding is correct, you would like to reference the &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Drill down Master Dimension&lt;/STRONG&gt;&lt;/SPAN&gt; to know which one is selected at a certain time. One workaround is to use the combination of&amp;nbsp;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; function with the&lt;STRONG&gt; &lt;SPAN style="color:#2980b9"&gt;If&lt;/SPAN&gt;()&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color:#7f8c8d"&gt;&lt;EM&gt;&lt;STRONG&gt;Note: Please keep in mind, that there might be other ways that you can implement this, but this one I have tested and I can confirm that it is working.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;1. I have created a &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Drill down master dimension&lt;/STRONG&gt;&lt;/SPAN&gt; that goes from &lt;STRONG&gt;Country &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;City &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;Village&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2. Then I have created a &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Pie chart&lt;/STRONG&gt;&lt;/SPAN&gt; and used the following expression in the title:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;BR /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) = 0 and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) = 0 and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Village&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) = 0,&lt;BR /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;'Dimension Country',&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) &amp;gt; 0 and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) = 0 and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Village&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) = 0,&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 'Dimension City',&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) &amp;gt; 0 and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) &amp;gt; 0 and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Village&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;) = 0,&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Dimension Village',&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Dimension Village'&lt;BR /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;BR /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;BR /&gt;
)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The result is:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="SCREENSHOT" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/55205812-12ad-498c-997d-097dc4d7bd50.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="SCREENSHOT" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/50df86d4-78a8-4e26-8110-19055b0673d1.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="SCREENSHOT" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/74134bdc-3282-4512-be2f-3be1037dcb0f.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;As you can see, when nothing is selected we are starting from "&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/SPAN&gt;" and the title states "&lt;SPAN style="color:#2ecc71"&gt;&lt;STRONG&gt;Dimension Country&lt;/STRONG&gt;&lt;/SPAN&gt;", however when a country is selected, we are now viewing the "&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/SPAN&gt;" so the title changes accordingly to "&lt;SPAN style="color:#2ecc71"&gt;&lt;STRONG&gt;Dimension City&lt;/STRONG&gt;&lt;/SPAN&gt;". This logic doesn't work 100%, because if you select all the countries then you are still seeing the dimension "&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/SPAN&gt;" but the title will state "&lt;SPAN style="color:#2ecc71"&gt;&lt;STRONG&gt;Dimension City&lt;/STRONG&gt;&lt;/SPAN&gt;", so you will have to modify it, by adding additional checks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color:#7f8c8d"&gt;&lt;STRONG&gt;I hope that this information was helpful. If this was not what you were looking for, please elaborate in detail by providing further details. However, if it has helped you resolve the issue, please mark it as solution to give more visibility to the post for other community members.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1867583#M71647</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2021-12-07T13:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference Master Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1867603#M71648</link>
      <description>&lt;P&gt;Have a look at using GetObjectDimension() to achieve this. I haven't used it but I think it's what you're after.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1867603#M71648</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-12-07T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference Master Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1867959#M71672</link>
      <description>&lt;P&gt;Thank you got your Time!&lt;/P&gt;
&lt;P&gt;I am looking dot a Solution where you are Abel to choose between two drill down dimensions&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;case1: Drilldown1 Country-&amp;gt; City-&amp;gt; village&lt;/P&gt;
&lt;P&gt;case2: Drilldown2: Manager -&amp;gt; Teamleader -&amp;gt; Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;but anyway Thank you for your Time !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1867959#M71672</guid>
      <dc:creator>SonPhan</dc:creator>
      <dc:date>2021-12-08T08:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference Master Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1868641#M71728</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I believe that the closest you can get to your use case scenario (&lt;STRONG&gt;natively&lt;/STRONG&gt;) is to use the first drill-down as &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Dimension &lt;/STRONG&gt;&lt;/SPAN&gt;and the second drill-down as &lt;SPAN style="color:#f1c40f"&gt;&lt;STRONG&gt;Alternative Dimension&lt;/STRONG&gt;&lt;/SPAN&gt;. This will allow you to select values and go through the drill-down dimensions list, while it will also allow you to change the drill-down master dimension. If you are looking for a more advance solution or a function that will return to you a specific value that you are going to use for further checks and more complex scenarios,&amp;nbsp;then you will have to submit a feature request [1].&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/1611c93a-6b7b-4282-afea-c783c7638a5f.default.png" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I hope that the information is helpful&lt;/P&gt;

&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581" target="_blank"&gt;https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 13:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1868641#M71728</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2021-12-09T13:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference Master Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1868646#M71729</link>
      <description>&lt;P&gt;Good approach there...&lt;/P&gt;
&lt;P&gt;Other options (depending on the object types) would be to use a show/hide container or to use show/hide at the column level (e.g. in a table), but all of these work around the fact that the reference to a master dimension can't be made directly.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 13:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-reference-Master-Dimension/m-p/1868646#M71729</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-12-09T13:52:16Z</dc:date>
    </item>
  </channel>
</rss>

