<?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 Calculated Dimension to filter for Value displayed instead of AGGR Dimension. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculated-Dimension-to-filter-for-Value-displayed-instead-of/m-p/1624849#M46506</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a calculated dimension that categorizes customers into groups. The groups are formed by comparing sales $ from this current period to last year's period. I have the dimension working fine. But when filtered, it filters for the customers in that specific group. I have learned the cause is because the customers is what I AGGR on. Is there any way for the filter to only select the outcome of the calculated dimension? I have tried loading an inline table and having the formula pull from that instead, but I cannot get it to work. below is my working dimension:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;=(aggr(&lt;BR /&gt;IF(round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))))&lt;BR /&gt;= '0' AND&lt;BR /&gt;round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))))&lt;BR /&gt;= '0',null(),&lt;/P&gt;&lt;P&gt;IF(round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))))&lt;BR /&gt;=&lt;BR /&gt;round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))),'OK',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;= '0', 'Gap',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;= '0', 'Gain',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;&amp;lt;&lt;BR /&gt;(Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))) , 'Decrease',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;&amp;gt;&lt;BR /&gt;(Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))),&lt;BR /&gt;'Increase','OK')))))),bi_name))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:39:17 GMT</pubDate>
    <dc:creator>tyember1</dc:creator>
    <dc:date>2024-11-16T04:39:17Z</dc:date>
    <item>
      <title>Calculated Dimension to filter for Value displayed instead of AGGR Dimension.</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-Dimension-to-filter-for-Value-displayed-instead-of/m-p/1624849#M46506</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a calculated dimension that categorizes customers into groups. The groups are formed by comparing sales $ from this current period to last year's period. I have the dimension working fine. But when filtered, it filters for the customers in that specific group. I have learned the cause is because the customers is what I AGGR on. Is there any way for the filter to only select the outcome of the calculated dimension? I have tried loading an inline table and having the formula pull from that instead, but I cannot get it to work. below is my working dimension:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;=(aggr(&lt;BR /&gt;IF(round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))))&lt;BR /&gt;= '0' AND&lt;BR /&gt;round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))))&lt;BR /&gt;= '0',null(),&lt;/P&gt;&lt;P&gt;IF(round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))))&lt;BR /&gt;=&lt;BR /&gt;round((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))),'OK',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;= '0', 'Gap',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;= '0', 'Gain',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;&amp;lt;&lt;BR /&gt;(Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))) , 'Decrease',&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2019'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price)))&lt;BR /&gt;&amp;gt;&lt;BR /&gt;(Sum({$&amp;lt;OrdStatus = {'Open'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_ordquant*or_price))&lt;BR /&gt;+&lt;BR /&gt;Sum({$&amp;lt;OrdStatus = {'Invoiced','Shipped Non Invoiced'},[Fiscal Year] = {'2018'}&amp;gt;}&lt;BR /&gt;(or_shipquant*or_price))),&lt;BR /&gt;'Increase','OK')))))),bi_name))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-Dimension-to-filter-for-Value-displayed-instead-of/m-p/1624849#M46506</guid>
      <dc:creator>tyember1</dc:creator>
      <dc:date>2024-11-16T04:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension to filter for Value displayed instead of AGGR Dimension.</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-Dimension-to-filter-for-Value-displayed-instead-of/m-p/1625472#M46583</link>
      <description>&lt;P&gt;sample app if possible&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 20:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-Dimension-to-filter-for-Value-displayed-instead-of/m-p/1625472#M46583</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2019-09-18T20:13:13Z</dc:date>
    </item>
  </channel>
</rss>

