<?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: Customize Labels and Colours For Drill-Down Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Customize-Labels-and-Colours-For-Drill-Down-Dimension/m-p/1548948#M39543</link>
    <description>&lt;P&gt;Sorry that I miss one snapshot in step 4). Before choosing the dimension is a "Drill-down" one, you should choose "Single" and add the label expression so that the label expression would be inherited to the drill-down dimension.&lt;/P&gt;&lt;P&gt;Label expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(Getselectedcount([Demographic Factors2])=0,'Overall',GetFieldSelections([Demographic Factors2]))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 745px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6705i8A57D31C194D5413/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 01:56:24 GMT</pubDate>
    <dc:creator>annatang</dc:creator>
    <dc:date>2019-02-26T01:56:24Z</dc:date>
    <item>
      <title>Customize Labels and Colours For Drill-Down Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Customize-Labels-and-Colours-For-Drill-Down-Dimension/m-p/1548588#M39511</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;As I am now creating a distribution plot which requires a drill-down dimension and I find a tricky way that can customize the label in different levels, I want to share this with you and hope this can help you to build your app!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="234.jpg" style="width: 450px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6665i6C18BD36862B55AC/image-dimensions/450x290?v=v2" width="450" height="290" role="button" title="234.jpg" alt="234.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The first level would allow the users to select the interested demographic factor.&lt;BR /&gt;If the user select the demographic factor 'gender' and select the 'tick', then the users can find out the average score of male and female (as in the next photo).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.jpg" style="width: 439px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6664iCC912126CDB2565A/image-dimensions/439x256?v=v2" width="439" height="256" role="button" title="123.jpg" alt="123.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Method in doing this:&lt;/P&gt;&lt;P&gt;1) Create a single master dimension for the upper level of the hierarchy (i.e. the one which allows the users choose the demographic factor).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="111.png" style="width: 500px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6666iE1A585924685027D/image-dimensions/500x399?v=v2" width="500" height="399" role="button" title="111.png" alt="111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) &lt;SPAN&gt;Create antoher single master dimension for the lower level of the hierarchy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="222.png" style="width: 745px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6667i358192F2CDA42C20/image-size/large?v=v2&amp;amp;px=999" role="button" title="222.png" alt="222.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Field expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=If(GetFieldSelections([Demographic Factors2])='Exercise',Name_of_Study,&lt;BR /&gt;If(GetFieldSelections([Demographic Factors2])='School',School,&lt;BR /&gt;If(GetFieldSelections([Demographic Factors2])='Student Type',Local_NonLocal,&lt;BR /&gt;If(GetFieldSelections([Demographic Factors2])='Gender',Gender))))&lt;/P&gt;&lt;P&gt;Label expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=GetFieldSelections([Demographic Factors2])&lt;/P&gt;&lt;P&gt;3) Create a variable, vDim. Make sure that the equation is same as the field expression of the&amp;nbsp;&lt;SPAN&gt;lower level of the hierarchy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11111.png" style="width: 648px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6669i43336412F3FDBBD0/image-size/large?v=v2&amp;amp;px=999" role="button" title="11111.png" alt="11111.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) Create a drill-down dimension as below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2222222.png" style="width: 745px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6670iAB0E8D10BB9EA141/image-size/large?v=v2&amp;amp;px=999" role="button" title="2222222.png" alt="2222222.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then, you can get the desired label as specified in the first and second step.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, right now, I still cannot figure out the way to customize the dimension colour. If anyone know how to customize the dimension colour, please share the technique here! Thank you very much!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Customize-Labels-and-Colours-For-Drill-Down-Dimension/m-p/1548588#M39511</guid>
      <dc:creator>annatang</dc:creator>
      <dc:date>2024-11-16T21:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Labels and Colours For Drill-Down Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Customize-Labels-and-Colours-For-Drill-Down-Dimension/m-p/1548948#M39543</link>
      <description>&lt;P&gt;Sorry that I miss one snapshot in step 4). Before choosing the dimension is a "Drill-down" one, you should choose "Single" and add the label expression so that the label expression would be inherited to the drill-down dimension.&lt;/P&gt;&lt;P&gt;Label expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(Getselectedcount([Demographic Factors2])=0,'Overall',GetFieldSelections([Demographic Factors2]))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 745px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6705i8A57D31C194D5413/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 01:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Customize-Labels-and-Colours-For-Drill-Down-Dimension/m-p/1548948#M39543</guid>
      <dc:creator>annatang</dc:creator>
      <dc:date>2019-02-26T01:56:24Z</dc:date>
    </item>
  </channel>
</rss>

