<?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 How to use Aggr function and Variable input to limit the Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-Aggr-function-and-Variable-input-to-limit-the/m-p/1676706#M51443</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I am new to Qlik Sense and trying to understand some functionalities.&lt;/P&gt;&lt;P&gt;I am trying to limit the dimension using some expression which is going to derive on the basis of Variable selection. i.e in the below screenshot if I select "Select ALL" from Recency then the below Customers table should filter on the basis that the Transaction date should be &amp;lt;=2017/12/31 and for which I have created a variable (&lt;STRONG&gt;vRecencyConditional&lt;/STRONG&gt;) which will calculate that date on the basis of selection from that dropdown. There are 4 elements created for that dropdown and on the basis of selection different date range will be there.&lt;/P&gt;&lt;P&gt;When I am selecting "Select All" and "above 90 days" from the selector then it is working fine but not for the other 2 selections.&lt;/P&gt;&lt;P&gt;My Limit condition is as below:&lt;/P&gt;&lt;P&gt;=aggr(only({$&amp;lt;Date_Derived={"$(=$(vRecencyConditional))"}&amp;gt;}Mobile)&lt;BR /&gt;,Mobile,Store_Name,Date_Derived)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aggr to limit dimension.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28587iC26BBF985F56B05F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aggr to limit dimension.PNG" alt="Aggr to limit dimension.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with getting the expression in the right direction. I have also attached a QVF file for the same.&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:05:43 GMT</pubDate>
    <dc:creator>AmitSah</dc:creator>
    <dc:date>2024-11-16T19:05:43Z</dc:date>
    <item>
      <title>How to use Aggr function and Variable input to limit the Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-Aggr-function-and-Variable-input-to-limit-the/m-p/1676706#M51443</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I am new to Qlik Sense and trying to understand some functionalities.&lt;/P&gt;&lt;P&gt;I am trying to limit the dimension using some expression which is going to derive on the basis of Variable selection. i.e in the below screenshot if I select "Select ALL" from Recency then the below Customers table should filter on the basis that the Transaction date should be &amp;lt;=2017/12/31 and for which I have created a variable (&lt;STRONG&gt;vRecencyConditional&lt;/STRONG&gt;) which will calculate that date on the basis of selection from that dropdown. There are 4 elements created for that dropdown and on the basis of selection different date range will be there.&lt;/P&gt;&lt;P&gt;When I am selecting "Select All" and "above 90 days" from the selector then it is working fine but not for the other 2 selections.&lt;/P&gt;&lt;P&gt;My Limit condition is as below:&lt;/P&gt;&lt;P&gt;=aggr(only({$&amp;lt;Date_Derived={"$(=$(vRecencyConditional))"}&amp;gt;}Mobile)&lt;BR /&gt;,Mobile,Store_Name,Date_Derived)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aggr to limit dimension.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28587iC26BBF985F56B05F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aggr to limit dimension.PNG" alt="Aggr to limit dimension.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with getting the expression in the right direction. I have also attached a QVF file for the same.&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-Aggr-function-and-Variable-input-to-limit-the/m-p/1676706#M51443</guid>
      <dc:creator>AmitSah</dc:creator>
      <dc:date>2024-11-16T19:05:43Z</dc:date>
    </item>
  </channel>
</rss>

