<?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: Override Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105107#M90278</link>
    <description>&lt;P&gt;Then you can use Today() instead of the Max(Date) but the limitation is your date filters will not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Aug 2023 09:21:21 GMT</pubDate>
    <dc:creator>Tanish</dc:creator>
    <dc:date>2023-08-13T09:21:21Z</dc:date>
    <item>
      <title>Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2104243#M90192</link>
      <description>&lt;P&gt;Is there a way to override set analysis? If I have a table that only looks at 2023 data but now the consumer wants to see 2022 data. Is there a way to override and include my selection?&lt;/P&gt;
&lt;P&gt;Here is the current set analysis:&lt;/P&gt;
&lt;P&gt;=SUM({&amp;lt;SALES_STATUS={'Sale'},YEAR={'2023}&amp;gt;} SALES_PRICE)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 21:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2104243#M90192</guid>
      <dc:creator>alopez</dc:creator>
      <dc:date>2023-08-09T21:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2104335#M90198</link>
      <description>&lt;P&gt;Hi Alopez,&lt;/P&gt;
&lt;P&gt;Rather than using Hard Code value in the Set Analysis like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;YEAR={'2023} ,&amp;nbsp;&lt;/STRONG&gt;You can use dynamic value here like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;YEAR = {"$(=Year(Max(Date)))"}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can keep a Filter of Year at the top. By default the table will show Current Year data but, If the user select any other year then it will show that specific year data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this will help..........&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 06:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2104335#M90198</guid>
      <dc:creator>Tanish</dc:creator>
      <dc:date>2023-08-10T06:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105025#M90271</link>
      <description>&lt;P&gt;Interesting, what happens if the max year is not the current year by chance?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105025#M90271</guid>
      <dc:creator>alopez</dc:creator>
      <dc:date>2023-08-11T20:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105028#M90272</link>
      <description>&lt;P&gt;Hi, such a situation could occur when the date field contains future dates. That expression takes the maximum date value from the "Date" field and extracts the year component. You can create a flag field that indicates whether a date is in the future or not, and factor in or exclude future dates in your calculations.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105028#M90272</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-08-11T20:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105032#M90273</link>
      <description>&lt;P&gt;How would I use a flag for set analysis? I would be back at my original problem where I can't use the filters to update data.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105032#M90273</guid>
      <dc:creator>alopez</dc:creator>
      <dc:date>2023-08-11T20:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105107#M90278</link>
      <description>&lt;P&gt;Then you can use Today() instead of the Max(Date) but the limitation is your date filters will not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 09:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105107#M90278</guid>
      <dc:creator>Tanish</dc:creator>
      <dc:date>2023-08-13T09:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105276#M90279</link>
      <description>&lt;P&gt;To filter data for the current year while excluding future years, use these modifiers&lt;/P&gt;
&lt;P&gt;{$&amp;lt;Year={"$(=Year(Today()))"}, DateField = {"&amp;lt;=$(=Today())"}&amp;gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 19:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105276#M90279</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-08-13T19:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105283#M90281</link>
      <description>&lt;P&gt;G'day&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/178605"&gt;@alopez&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You don't override Set Analysis. It's the other way around. The user makes selections on the data using the filters on the page but Set Analysis can override the user selections.&lt;/P&gt;
&lt;P&gt;What are your actual requirements? People have tried to answer your questions but I think that maybe your questions are not heading in the right direction!&lt;/P&gt;
&lt;P&gt;Cheers, Barnaby.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 22:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2105283#M90281</guid>
      <dc:creator>barnabyd</dc:creator>
      <dc:date>2023-08-13T22:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Override Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2108675#M90543</link>
      <description>&lt;P&gt;The max feature is helpful for when you are working with dates.&lt;/P&gt;
&lt;P&gt;Also using an operator for intersection was helpful as I found in another article.&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-operators.htm" target="_blank"&gt;Set operators | Qlik Cloud Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;*=&lt;/SPAN&gt;&lt;SPAN&gt;: This operator is used to define the corresponding field values based&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="MuiTypography-root sc-jffIyK kcoGzQ sc-ktvXtq isidCH highlight-term MuiTypography-noWrap" title="intersection" data-variant="inherit" data-color="initial"&gt;intersection&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;between&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;what the user has selected and the values we&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;specify&lt;/STRONG&gt;&lt;SPAN&gt;. That is, the resulting record set will be the values that "intersect" or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are present in both the user's selection and the values we explicitly define in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;our element list.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 20:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Override-Set-Analysis/m-p/2108675#M90543</guid>
      <dc:creator>alopez</dc:creator>
      <dc:date>2023-08-22T20:02:29Z</dc:date>
    </item>
  </channel>
</rss>

