<?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 Showing a static measure in Treemap in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Showing-a-static-measure-in-Treemap/m-p/2018811#M84150</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please help me to overcome this issue. I have a treemap chart showing the count of Outlet ID, in which the dimension represents the conditions of net sales and purchase frequency, with the rules below:&lt;/P&gt;
&lt;P&gt;- IF the percentile of net sales &amp;gt;= 50% AND the percentile of purchase frequency &amp;gt;=50% THEN the cluster is 'Loyal Account'&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;IF the percentile of net sales &amp;gt;= 50% AND the percentile of purchase frequency &amp;lt;50% THEN the cluster is 'Promising'&lt;/P&gt;
&lt;P&gt;- IF the percentile of net sales &amp;lt; 50% AND the percentile of purchase frequency &amp;gt;=50% THEN the cluster is 'Potential Loyalist'&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;IF the percentile of net sales &amp;lt; 50% AND the percentile of purchase frequency &amp;lt;50% THEN the cluster is 'Need Attention'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get this result of the treemap with the Expression as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_0-1671602169363.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96627i308554041ED769B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_0-1671602169363.png" alt="theresa_lalita_0-1671602169363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Measurement Expression:&lt;/P&gt;
&lt;P&gt;Count(distinct Outlet_ID)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dimension Expression:&lt;/P&gt;
&lt;P&gt;=Aggr(=IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;gt;=0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;gt;=0.5, 'Loyal Account',&lt;/P&gt;
&lt;P&gt;IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;gt;=0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;lt;0.5, 'Promising',&lt;/P&gt;
&lt;P&gt;IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;lt;0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;gt;=0.5, 'Potential Loyalist',&lt;/P&gt;
&lt;P&gt;IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;lt;0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;lt;0.5, 'Need Attention',&lt;/P&gt;
&lt;P&gt;NULL()&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;),[Outlet_ID]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I clicked one of the clusters and then press the green check button, the treemap then changes&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Before pressing the green check button&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_1-1671605438452.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96650i040F59A846FEFFDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_1-1671605438452.png" alt="theresa_lalita_1-1671605438452.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;--After pressing the green check button&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_2-1671605533661.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96651iB5D6C0232FD9A3CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_2-1671605533661.png" alt="theresa_lalita_2-1671605533661.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know the way how to make the cluster static like this even after choosing the cluster:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_3-1671605614931.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96652i9BFBC74F2D6CE48D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_3-1671605614931.png" alt="theresa_lalita_3-1671605614931.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Your help is greatly appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2022 06:57:20 GMT</pubDate>
    <dc:creator>theresa_lalita</dc:creator>
    <dc:date>2022-12-21T06:57:20Z</dc:date>
    <item>
      <title>Showing a static measure in Treemap</title>
      <link>https://community.qlik.com/t5/App-Development/Showing-a-static-measure-in-Treemap/m-p/2018811#M84150</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please help me to overcome this issue. I have a treemap chart showing the count of Outlet ID, in which the dimension represents the conditions of net sales and purchase frequency, with the rules below:&lt;/P&gt;
&lt;P&gt;- IF the percentile of net sales &amp;gt;= 50% AND the percentile of purchase frequency &amp;gt;=50% THEN the cluster is 'Loyal Account'&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;IF the percentile of net sales &amp;gt;= 50% AND the percentile of purchase frequency &amp;lt;50% THEN the cluster is 'Promising'&lt;/P&gt;
&lt;P&gt;- IF the percentile of net sales &amp;lt; 50% AND the percentile of purchase frequency &amp;gt;=50% THEN the cluster is 'Potential Loyalist'&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;IF the percentile of net sales &amp;lt; 50% AND the percentile of purchase frequency &amp;lt;50% THEN the cluster is 'Need Attention'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get this result of the treemap with the Expression as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_0-1671602169363.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96627i308554041ED769B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_0-1671602169363.png" alt="theresa_lalita_0-1671602169363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Measurement Expression:&lt;/P&gt;
&lt;P&gt;Count(distinct Outlet_ID)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dimension Expression:&lt;/P&gt;
&lt;P&gt;=Aggr(=IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;gt;=0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;gt;=0.5, 'Loyal Account',&lt;/P&gt;
&lt;P&gt;IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;gt;=0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;lt;0.5, 'Promising',&lt;/P&gt;
&lt;P&gt;IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;lt;0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;gt;=0.5, 'Potential Loyalist',&lt;/P&gt;
&lt;P&gt;IF(&lt;BR /&gt;((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Sum(net_sales))-1))&amp;lt;0.5 AND ((1/(Count(distinct TOTAL [Outlet_ID])-1)) * (Rank(-Count(purchase_frequency))-1))&amp;lt;0.5, 'Need Attention',&lt;/P&gt;
&lt;P&gt;NULL()&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;),[Outlet_ID]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I clicked one of the clusters and then press the green check button, the treemap then changes&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Before pressing the green check button&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_1-1671605438452.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96650i040F59A846FEFFDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_1-1671605438452.png" alt="theresa_lalita_1-1671605438452.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;--After pressing the green check button&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_2-1671605533661.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96651iB5D6C0232FD9A3CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_2-1671605533661.png" alt="theresa_lalita_2-1671605533661.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know the way how to make the cluster static like this even after choosing the cluster:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="theresa_lalita_3-1671605614931.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96652i9BFBC74F2D6CE48D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theresa_lalita_3-1671605614931.png" alt="theresa_lalita_3-1671605614931.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Your help is greatly appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 06:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Showing-a-static-measure-in-Treemap/m-p/2018811#M84150</guid>
      <dc:creator>theresa_lalita</dc:creator>
      <dc:date>2022-12-21T06:57:20Z</dc:date>
    </item>
  </channel>
</rss>

