<?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: Dynamic Dimension depending on Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-depending-on-Calculation/m-p/1593597#M738863</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/76765"&gt;@JacobLag&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you can use the AGGR function in this case.&lt;/P&gt;&lt;P&gt;if(aggr(nodistinct count(ID),Field)&amp;gt;0,Field,Null())&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 12:42:45 GMT</pubDate>
    <dc:creator>awaisqureshi</dc:creator>
    <dc:date>2019-06-19T12:42:45Z</dc:date>
    <item>
      <title>Dynamic Dimension depending on Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-depending-on-Calculation/m-p/1593580#M738862</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;can you help me with a question regarding restricting a dimension by using dynamic dimension?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;By using the formula "=if(&lt;EM&gt;FIELD&lt;/EM&gt;='X' and &lt;EM&gt;FIELD&lt;/EM&gt;='Z', &lt;EM&gt;FIELD&lt;/EM&gt;, Null())" as dynamic dimension and activating the option&amp;nbsp;"Omit NULL-Values", it is very easy to restrict the dimension to the values 'X' and 'Z' (FIELD={X,Y,Z}).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My problem is, how do I restrict the dimension when it depends on a calculation? For example,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;By using a formula like&amp;nbsp;"=if(count(ClientIDs)&amp;gt;0, &lt;EM&gt;FIELD&lt;/EM&gt;, Null())".&lt;/LI&gt;&lt;LI&gt;For instance, value 'X' has 20 ClientIDs, value 'Y' has 0 IDs and value 'Z' has 10 IDs.&lt;/LI&gt;&lt;LI&gt;I need a&amp;nbsp;formula, that restricts my dimension to value X and Z (in the example) cause of the number of ClientIDs &amp;gt;0.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is this possible with dynamic dimension?&lt;/P&gt;&lt;P&gt;Thanks to all&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-depending-on-Calculation/m-p/1593580#M738862</guid>
      <dc:creator>JacobLag</dc:creator>
      <dc:date>2024-11-16T03:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension depending on Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-depending-on-Calculation/m-p/1593597#M738863</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/76765"&gt;@JacobLag&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you can use the AGGR function in this case.&lt;/P&gt;&lt;P&gt;if(aggr(nodistinct count(ID),Field)&amp;gt;0,Field,Null())&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 12:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-depending-on-Calculation/m-p/1593597#M738863</guid>
      <dc:creator>awaisqureshi</dc:creator>
      <dc:date>2019-06-19T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension depending on Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-depending-on-Calculation/m-p/1593629#M738864</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/76515"&gt;@awaisqureshi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;it works, perfect &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 13:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-depending-on-Calculation/m-p/1593629#M738864</guid>
      <dc:creator>JacobLag</dc:creator>
      <dc:date>2019-06-19T13:18:22Z</dc:date>
    </item>
  </channel>
</rss>

