<?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: Use of Calculated Dimension in Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78389#M5229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only physical field names can be used on the LHS of a set expression. So this expression will be ignored giving you the entire count. The simplest workaround is to use an If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Count(If([PO creation time] = 'a. same day', PurchDoc)) &lt;/EM&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 12:19:35 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2018-05-23T12:19:35Z</dc:date>
    <item>
      <title>Use of Calculated Dimension in Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78388#M5228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect that the below Expression would return 58.072. Instead it takes the entire count of 63.338.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15270767580593010" jivemacro_uid="_15270767580593010"&gt;
&lt;P&gt;Count( {$&amp;lt;[PO creation time]={'a. same day'}&amp;gt;} [PurchDoc] )&lt;/P&gt;
&lt;/PRE&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15270767514125203 jive_text_macro" jivemacro_uid="_15270767514125203"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this is the result of the Calculated Dimension &lt;STRONG&gt;[PO creation time]&lt;/STRONG&gt; which is used in the Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to handle this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P.S. see attached print screens for more information.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78388#M5228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-23T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Calculated Dimension in Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78389#M5229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only physical field names can be used on the LHS of a set expression. So this expression will be ignored giving you the entire count. The simplest workaround is to use an If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Count(If([PO creation time] = 'a. same day', PurchDoc)) &lt;/EM&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78389#M5229</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-05-23T12:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Calculated Dimension in Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78390#M5230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using your expression an error pops up: Bad field name: [PO creation time].&lt;IMG alt="Bad field name.jpg" class="jive-image image-1" src="/legacyfs/online/203205_Bad field name.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78390#M5230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-23T12:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Calculated Dimension in Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78391#M5231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI. I've added a Sample file. This might be useful to play around with the Expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/78391#M5231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-23T13:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Calculated Dimension in Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/1627164#M46680</link>
      <description>&lt;P&gt;Try adding a DISTINCT after the count.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 21:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/1627164#M46680</guid>
      <dc:creator>tyember1</dc:creator>
      <dc:date>2019-09-23T21:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Calculated Dimension in Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/1627398#M46694</link>
      <description>&lt;P&gt;Hope this helps you thanks&lt;/P&gt;&lt;P&gt;=Count({ $&amp;lt;[C_PO creation time]={'&amp;lt;=0'}&amp;gt;} [PurchDoc] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19938i390DB756B82C2AEB/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 12:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-of-Calculated-Dimension-in-Expression/m-p/1627398#M46694</guid>
      <dc:creator>Saranyat</dc:creator>
      <dc:date>2019-09-24T12:18:04Z</dc:date>
    </item>
  </channel>
</rss>

