<?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 Dynamic Filter for Comparibility in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-for-Comparibility/m-p/1704940#M63895</link>
    <description>&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;I need help to create a dynamic filter.&lt;/P&gt;&lt;P&gt;I have a classic Market Analysis Dashboard and I want to be able to analyze sales over time. However, a comparison over time might be flawed, because a Brand might drop in and out over time. Instead of a User Manually deselecting the Brands that are not consistently reported in the &lt;STRONG&gt;selected time period&lt;/STRONG&gt;, I want to enable a filter that the user can select.&lt;/P&gt;&lt;P&gt;So I am able to create a measure that creates the desired output:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if(Count(Aggr(Sum(UNITS_SOLD),Brand,[Date.autoCalendar.Year])) = Count(Distinct Total [Date.autoCalendar.Year]),'Comparable','Not Comparable')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I have no clue how to transform this into a calculated dimension, since AGGR does not work in a calculated dimension.&amp;nbsp; I believe adding this into to load script will also not be of use, since I want the dimension to be calculated dynamically based on the selected years.&lt;/P&gt;&lt;P&gt;I would highly appreciate your help.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:20:27 GMT</pubDate>
    <dc:creator>Riadak</dc:creator>
    <dc:date>2024-11-16T02:20:27Z</dc:date>
    <item>
      <title>Dynamic Filter for Comparibility</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-for-Comparibility/m-p/1704940#M63895</link>
      <description>&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;I need help to create a dynamic filter.&lt;/P&gt;&lt;P&gt;I have a classic Market Analysis Dashboard and I want to be able to analyze sales over time. However, a comparison over time might be flawed, because a Brand might drop in and out over time. Instead of a User Manually deselecting the Brands that are not consistently reported in the &lt;STRONG&gt;selected time period&lt;/STRONG&gt;, I want to enable a filter that the user can select.&lt;/P&gt;&lt;P&gt;So I am able to create a measure that creates the desired output:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if(Count(Aggr(Sum(UNITS_SOLD),Brand,[Date.autoCalendar.Year])) = Count(Distinct Total [Date.autoCalendar.Year]),'Comparable','Not Comparable')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I have no clue how to transform this into a calculated dimension, since AGGR does not work in a calculated dimension.&amp;nbsp; I believe adding this into to load script will also not be of use, since I want the dimension to be calculated dynamically based on the selected years.&lt;/P&gt;&lt;P&gt;I would highly appreciate your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Filter-for-Comparibility/m-p/1704940#M63895</guid>
      <dc:creator>Riadak</dc:creator>
      <dc:date>2024-11-16T02:20:27Z</dc:date>
    </item>
  </channel>
</rss>

