<?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: unable to filter with Aggr formula for dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/unable-to-filter-with-Aggr-formula-for-dimension/m-p/1841040#M69666</link>
    <description>&lt;P&gt;Hi, you can only apply selections in loaded fields, values have to be laoded while loading to make it selectables.&lt;/P&gt;&lt;P&gt;If possible the best option is to make a similar calculation in script to have Nomvt, Repay... as values in a field.&amp;nbsp;This is possible if the values assigned to each combination of&amp;nbsp;[Ip Lcl Ref Cde Ith],t1_stage,t0_stag is not affected by selections, or if there is a way to workaround selections to have values precalculated.&lt;/P&gt;&lt;P&gt;Another option could be to have different butons, or an island table with the values preloaded and change the expression to show the values that matches the values selected in that island table. the possibility of this depens on what table or chart do you want to affect this filters, because expressions would be more complex.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Oct 2021 07:07:40 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2021-10-02T07:07:40Z</dc:date>
    <item>
      <title>unable to filter with Aggr formula for dimension</title>
      <link>https://community.qlik.com/t5/App-Development/unable-to-filter-with-Aggr-formula-for-dimension/m-p/1841038#M69665</link>
      <description>&lt;P&gt;I have created below formula for a dimension but I found that I cannot filter by specific item.&amp;nbsp; For example, if I want to filter only 'Nomvt' , it will show all the below values ('New', 'Repay', 'FL', 'Nomvt, etc)&lt;/P&gt;&lt;P&gt;May I know if there is anyway to allow filter by specific item in the formula? Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;=aggr( if((Sum(t0_GCV_HKD000)=0 and sum(t1_GCV_HKD000)&amp;lt;&amp;gt;0),'New', &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;if((Sum(t0_GCV_HKD000)&amp;lt;&amp;gt;0 and sum(t1_GCV_HKD000)=0),'Repay',&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;if(right(t1_stage,1)&amp;gt;right(t0_stage,1),'Dn_'&amp;amp;right(t1_stage,1)&amp;amp;' fm '&amp;amp;right(t0_stage,1), &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;if(right(t1_stage,1)&amp;lt;right(t0_stage,1),'Up_'&amp;amp;right(t1_stage,1)&amp;amp;' fm '&amp;amp;right(t0_stage,1),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;if((Sum(t0_GCV_HKD000)&amp;lt;&amp;gt;0 and sum(t1_GCV_HKD000)&amp;lt;&amp;gt;0 and sum(t1_GCV_HKD000)-sum(t0_GCV_HKD000)&amp;gt;0),'FL', &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;if((Sum(t0_GCV_HKD000)&amp;lt;&amp;gt;0 and sum(t1_GCV_HKD000)&amp;lt;&amp;gt;0 and sum(t1_GCV_HKD000)-sum(t0_GCV_HKD000)&amp;lt;0),'Repay',&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;if(fabs((Sum(t1_GCV_HKD000)- sum(t0_GCV_HKD000))=0),'Nomvt', &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;' '))))))),[Ip Lcl Ref Cde Ith],t1_stage,t0_stage)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/unable-to-filter-with-Aggr-formula-for-dimension/m-p/1841038#M69665</guid>
      <dc:creator>43918084</dc:creator>
      <dc:date>2021-11-30T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: unable to filter with Aggr formula for dimension</title>
      <link>https://community.qlik.com/t5/App-Development/unable-to-filter-with-Aggr-formula-for-dimension/m-p/1841040#M69666</link>
      <description>&lt;P&gt;Hi, you can only apply selections in loaded fields, values have to be laoded while loading to make it selectables.&lt;/P&gt;&lt;P&gt;If possible the best option is to make a similar calculation in script to have Nomvt, Repay... as values in a field.&amp;nbsp;This is possible if the values assigned to each combination of&amp;nbsp;[Ip Lcl Ref Cde Ith],t1_stage,t0_stag is not affected by selections, or if there is a way to workaround selections to have values precalculated.&lt;/P&gt;&lt;P&gt;Another option could be to have different butons, or an island table with the values preloaded and change the expression to show the values that matches the values selected in that island table. the possibility of this depens on what table or chart do you want to affect this filters, because expressions would be more complex.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Oct 2021 07:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/unable-to-filter-with-Aggr-formula-for-dimension/m-p/1841040#M69666</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-10-02T07:07:40Z</dc:date>
    </item>
  </channel>
</rss>

