<?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: The selection of the master dimension does not affect the base dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2411124#M94625</link>
    <description>&lt;P&gt;You can manage what fields get selected in a calculated dimension using Aggr(). See&amp;nbsp;&lt;A href="https://qlikviewcookbook.com/2016/01/scoping-selections-with-aggr/" target="_blank"&gt;https://qlikviewcookbook.com/2016/01/scoping-selections-with-aggr/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 14:50:09 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2024-01-25T14:50:09Z</dc:date>
    <item>
      <title>The selection of the master dimension does not affect the base dimension</title>
      <link>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2410934#M94612</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a master dimension (Year) that select the past five years of my calendar dimension :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;If([Calendar Year Month Year]&amp;gt;=year(today())-5 and [Calendar Year Month Year]&amp;lt;=year(today()),
      [Calendar Year Month Year]
 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When I select a year on that master dimension, it dosn't select the same value in the initial dimension :&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 572px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158370i4A5F95F93A74640C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But I have some expressions that are based on the active selection of the initial dimension.&lt;BR /&gt;Is there a better way to do that pls ?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 08:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2410934#M94612</guid>
      <dc:creator>Antoine5553</dc:creator>
      <dc:date>2024-01-25T08:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: The selection of the master dimension does not affect the base dimension</title>
      <link>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2410954#M94613</link>
      <description>&lt;P&gt;A better way do to this is to flag all the date values in the desired range directly in the script:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LOAD
  //..
  (([Calendar Year Month Year] &amp;gt;= Year(Today())-5) AND ([Calendar Year Month Year] &amp;lt;= Year(Today()))) AS InLast5Y
RESIDENT
  Table;&lt;/LI-CODE&gt;
&lt;P&gt;Then use this new field for filtering.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 08:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2410954#M94613</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-25T08:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: The selection of the master dimension does not affect the base dimension</title>
      <link>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2411124#M94625</link>
      <description>&lt;P&gt;You can manage what fields get selected in a calculated dimension using Aggr(). See&amp;nbsp;&lt;A href="https://qlikviewcookbook.com/2016/01/scoping-selections-with-aggr/" target="_blank"&gt;https://qlikviewcookbook.com/2016/01/scoping-selections-with-aggr/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 14:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2411124#M94625</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-01-25T14:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: The selection of the master dimension does not affect the base dimension</title>
      <link>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2411138#M94627</link>
      <description>&lt;P&gt;The Aggr() works to display these years but once a value is selected all the others disapears from the filter pannel&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 15:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-selection-of-the-master-dimension-does-not-affect-the-base/m-p/2411138#M94627</guid>
      <dc:creator>Antoine5553</dc:creator>
      <dc:date>2024-01-25T15:18:22Z</dc:date>
    </item>
  </channel>
</rss>

