<?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: Total &amp;lt;Dim1&amp;gt; Count not working if Dim 1 calculated dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129684#M91855</link>
    <description>&lt;P&gt;Thanks. I did try this whilst attempting to figure this out myself, but unfortunately anything other than a regular dimension doesn't seem to work within the Total &amp;lt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(again apologies for the automatic accepting a solution and the like, it's due to security checks on links performed by my organisation's email provider)&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2023 17:17:51 GMT</pubDate>
    <dc:creator>Sa_Rah</dc:creator>
    <dc:date>2023-10-18T17:17:51Z</dc:date>
    <item>
      <title>Total &lt;Dim1&gt; Count not working if Dim 1 calculated dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129672#M91852</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;The below formula works fine in a pivot table if Division is a regular (non calculated) dimension:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;count ( total &amp;lt;Division&amp;gt; distinct [EmpNo])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;However if Division is a calculated dimension selected using the pick formula below, the above stops calculating correctly and instead returns the grand total rather than the total over just the relevant Division:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=pick($(vDimension1), Division, Specialty, StGr)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;(Note that vDimension1 resolves to a number 1, 2 or 3.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea why this might be happening, or what the solution should be?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 16:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129672#M91852</guid>
      <dc:creator>Sa_Rah</dc:creator>
      <dc:date>2023-10-18T16:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Total &lt;Dim1&gt; Count not working if Dim 1 calculated dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129681#M91854</link>
      <description>&lt;P&gt;You can try with:&lt;/P&gt;
&lt;P&gt;count ( total &amp;lt;$(=pick($(vDimension1), Division, Specialty, StGr))&amp;gt; distinct [EmpNo])&lt;BR /&gt;&lt;BR /&gt;Or if your calculated dimension is the first one of your object:&lt;/P&gt;
&lt;P&gt;count ( total &amp;lt;$(=GetObjectDimension(0))&amp;gt; distinct [EmpNo])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 17:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129681#M91854</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-10-18T17:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Total &lt;Dim1&gt; Count not working if Dim 1 calculated dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129684#M91855</link>
      <description>&lt;P&gt;Thanks. I did try this whilst attempting to figure this out myself, but unfortunately anything other than a regular dimension doesn't seem to work within the Total &amp;lt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(again apologies for the automatic accepting a solution and the like, it's due to security checks on links performed by my organisation's email provider)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 17:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129684#M91855</guid>
      <dc:creator>Sa_Rah</dc:creator>
      <dc:date>2023-10-18T17:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Total &lt;Dim1&gt; Count not working if Dim 1 calculated dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129687#M91856</link>
      <description>&lt;P&gt;Could you try to write your dimension like this:&lt;BR /&gt;&lt;STRONG&gt;$(=pick($(vDimension1), 'Division', 'Specialty', 'StGr'))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 17:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129687#M91856</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-10-18T17:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Total &lt;Dim1&gt; Count not working if Dim 1 calculated dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129889#M91872</link>
      <description>&lt;P&gt;Thank you, that worked perfectly!!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 09:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-lt-Dim1-gt-Count-not-working-if-Dim-1-calculated-dimension/m-p/2129889#M91872</guid>
      <dc:creator>Sa_Rah</dc:creator>
      <dc:date>2023-10-19T09:33:05Z</dc:date>
    </item>
  </channel>
</rss>

