<?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 Bypassing field is not working in nested aggr expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bypassing-field-is-not-working-in-nested-aggr-expression/m-p/2083755#M88833</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have an expression&amp;nbsp; in below format&lt;/P&gt;
&lt;P&gt;if(aggr( max(&lt;BR /&gt;if(aggr( max(&lt;BR /&gt;if(aggr( max(date(ReleaseDate)), Region) = [ReleaseDate],&lt;/P&gt;
&lt;P&gt;[MovieNumber])), Region) = [MovieNumber],&lt;/P&gt;
&lt;P&gt;date(BreakEvenDate))), &lt;BR /&gt;Region, [MovieNumber],[MovieName])=BreakEvenDate,&lt;/P&gt;
&lt;P&gt;MovieCollection)&lt;BR /&gt;&lt;BR /&gt;Here I wanted to bypass Continents Field. So that the selection of Continent wont affect the result. But When I used it as shown below, it still changing the data based on Continent selection:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;if(aggr({&amp;lt;Continent=&amp;gt;} max( {&amp;lt;Continent=&amp;gt;}&lt;BR /&gt;if(aggr({&amp;lt;Continent=&amp;gt;} max( {&amp;lt;Continent=&amp;gt;}&lt;BR /&gt;if(aggr({&amp;lt;Continent=&amp;gt;} max({&amp;lt;Continent=&amp;gt;}&lt;BR /&gt;date(ReleaseDate)), Region) = [ReleaseDate],&lt;/P&gt;
&lt;P&gt;[MovieNumber])), Region) = [MovieNumber],&lt;/P&gt;
&lt;P&gt;date(BreakEvenDate))),&lt;BR /&gt;Region, [MovieNumber],[MovieName])=BreakEvenDate,&lt;/P&gt;
&lt;P&gt;MovieCollection)&lt;BR /&gt;&lt;BR /&gt;Then I used Only() Function on the top of the above expression, then bypassing was working as expected but the final result of MovieCollection data was getting changed.&lt;BR /&gt;&lt;BR /&gt;I want to know whether it is possible to bypass Continent field using some other way apart from Only() function&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Aatish&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:40:59 GMT</pubDate>
    <dc:creator>aatish12345</dc:creator>
    <dc:date>2024-11-15T21:40:59Z</dc:date>
    <item>
      <title>Bypassing field is not working in nested aggr expression</title>
      <link>https://community.qlik.com/t5/App-Development/Bypassing-field-is-not-working-in-nested-aggr-expression/m-p/2083755#M88833</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have an expression&amp;nbsp; in below format&lt;/P&gt;
&lt;P&gt;if(aggr( max(&lt;BR /&gt;if(aggr( max(&lt;BR /&gt;if(aggr( max(date(ReleaseDate)), Region) = [ReleaseDate],&lt;/P&gt;
&lt;P&gt;[MovieNumber])), Region) = [MovieNumber],&lt;/P&gt;
&lt;P&gt;date(BreakEvenDate))), &lt;BR /&gt;Region, [MovieNumber],[MovieName])=BreakEvenDate,&lt;/P&gt;
&lt;P&gt;MovieCollection)&lt;BR /&gt;&lt;BR /&gt;Here I wanted to bypass Continents Field. So that the selection of Continent wont affect the result. But When I used it as shown below, it still changing the data based on Continent selection:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;if(aggr({&amp;lt;Continent=&amp;gt;} max( {&amp;lt;Continent=&amp;gt;}&lt;BR /&gt;if(aggr({&amp;lt;Continent=&amp;gt;} max( {&amp;lt;Continent=&amp;gt;}&lt;BR /&gt;if(aggr({&amp;lt;Continent=&amp;gt;} max({&amp;lt;Continent=&amp;gt;}&lt;BR /&gt;date(ReleaseDate)), Region) = [ReleaseDate],&lt;/P&gt;
&lt;P&gt;[MovieNumber])), Region) = [MovieNumber],&lt;/P&gt;
&lt;P&gt;date(BreakEvenDate))),&lt;BR /&gt;Region, [MovieNumber],[MovieName])=BreakEvenDate,&lt;/P&gt;
&lt;P&gt;MovieCollection)&lt;BR /&gt;&lt;BR /&gt;Then I used Only() Function on the top of the above expression, then bypassing was working as expected but the final result of MovieCollection data was getting changed.&lt;BR /&gt;&lt;BR /&gt;I want to know whether it is possible to bypass Continent field using some other way apart from Only() function&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Aatish&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bypassing-field-is-not-working-in-nested-aggr-expression/m-p/2083755#M88833</guid>
      <dc:creator>aatish12345</dc:creator>
      <dc:date>2024-11-15T21:40:59Z</dc:date>
    </item>
  </channel>
</rss>

