<?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: GetSelectedCount() for master dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-master-dimension/m-p/1594189#M43703</link>
    <description>&lt;P&gt;This is not perfect, but you can try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT [_f_pivot_dim]) &amp;gt; 0 and SubStringCount(Concat(_f_pivot_dim, '|'), 'Name') &amp;gt; 0&lt;/LI-CODE&gt;&lt;P&gt;When nothing is selected, this will show all three dimensions.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2019 14:43:50 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-06-20T14:43:50Z</dc:date>
    <item>
      <title>GetSelectedCount() for master dimension</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-master-dimension/m-p/1594120#M43696</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm trying to achieve following:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;- before any selection made, in table there's no fields shown, only totals for measures;&lt;BR /&gt;- when user selects some fields from a list, these fields would be displayed in table.&lt;BR /&gt;When I use a data field for this 'fields list' all works just fine, but on selection bar real field name is displayed:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14091iD299DF7B8C11A848/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd want change displayed fields name on selection bar, because the real name could have a realy 'ugly' and not user-friendly name. For this purpose I created a master dimension. And now after selection from this dimension I see its name on selection bar, but displaying of selected columns doesn't work:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 795px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14093i5C6207184539E829/image-dimensions/795x204?v=v2" width="795" height="204" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess, this happens because after selection in master dimension QS makes not same selection in initial field. If I understand correctly,&amp;nbsp;GetSelectedCount() works only for expressions, that reurn field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I thought about using&amp;nbsp;GetPossibleCount() instead, but I don't know how to determine if it 0 or all values are selected in master dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, my question is: is it even possible to make selection in master dimenssion and count number of selected values?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sample qvf-file attached.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-master-dimension/m-p/1594120#M43696</guid>
      <dc:creator>mrbalyaqv</dc:creator>
      <dc:date>2024-11-16T05:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() for master dimension</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-master-dimension/m-p/1594189#M43703</link>
      <description>&lt;P&gt;This is not perfect, but you can try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT [_f_pivot_dim]) &amp;gt; 0 and SubStringCount(Concat(_f_pivot_dim, '|'), 'Name') &amp;gt; 0&lt;/LI-CODE&gt;&lt;P&gt;When nothing is selected, this will show all three dimensions.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-master-dimension/m-p/1594189#M43703</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-20T14:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() for master dimension</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-master-dimension/m-p/1595024#M43783</link>
      <description>&lt;P&gt;Well, it's not exactly what I tried to do, but I can deal with it. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 10:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-master-dimension/m-p/1595024#M43783</guid>
      <dc:creator>mrbalyaqv</dc:creator>
      <dc:date>2019-06-24T10:23:12Z</dc:date>
    </item>
  </channel>
</rss>

