<?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: Ignoring selections in Set expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ignoring-selections-in-Set-expression/m-p/2424505#M96005</link>
    <description>&lt;P&gt;that's because the max(Date) is affected by other selections so the maximum is not always the same&lt;BR /&gt;so you either ignore selections on specific fields inside the max() or you use the whole set of data {1}&lt;BR /&gt;so your expression would be something like&lt;BR /&gt;Date={"$(=max({1}Date)"}&lt;BR /&gt;or if you want to ignore all possible selections made on the fields of the calendar you could write something like:&lt;BR /&gt;&lt;STRONG&gt;{&amp;lt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;$(='[' &amp;amp;concat(distinct{&amp;lt;$Table={calendar}&amp;gt;}$Field,'],[') &amp;amp;']')&amp;gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;change the table name to the appropriate name of your calendar table in your schema&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 08:43:08 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2024-02-28T08:43:08Z</dc:date>
    <item>
      <title>Ignoring selections in Set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Ignoring-selections-in-Set-expression/m-p/2424487#M96002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am displaying max value of one particluar measure in kpi and my requirement is to display the maximum value of current and even if I select other dates also it should remain uneffected on that KPI,&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;Date={'$(=max(Date))'},Name={'EPI'}&amp;gt;}value) using this formula currently but its changing when I select other dates without the current date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any suggestions would be highly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks in Advance,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 07:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignoring-selections-in-Set-expression/m-p/2424487#M96002</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-02-28T07:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring selections in Set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Ignoring-selections-in-Set-expression/m-p/2424505#M96005</link>
      <description>&lt;P&gt;that's because the max(Date) is affected by other selections so the maximum is not always the same&lt;BR /&gt;so you either ignore selections on specific fields inside the max() or you use the whole set of data {1}&lt;BR /&gt;so your expression would be something like&lt;BR /&gt;Date={"$(=max({1}Date)"}&lt;BR /&gt;or if you want to ignore all possible selections made on the fields of the calendar you could write something like:&lt;BR /&gt;&lt;STRONG&gt;{&amp;lt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;$(='[' &amp;amp;concat(distinct{&amp;lt;$Table={calendar}&amp;gt;}$Field,'],[') &amp;amp;']')&amp;gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;change the table name to the appropriate name of your calendar table in your schema&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 08:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignoring-selections-in-Set-expression/m-p/2424505#M96005</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-02-28T08:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring selections in Set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Ignoring-selections-in-Set-expression/m-p/2424506#M96006</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depends on the requirement,&amp;nbsp;Try like below&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Date={'$(=max({1}Date))'},Name={'EPI'}&amp;gt;}value)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Date={'$(=max({&amp;lt;DateField=, YearField=, TimeFilters=&amp;gt;}Date))'},Name={'EPI'}&amp;gt;}value)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 08:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignoring-selections-in-Set-expression/m-p/2424506#M96006</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2024-02-28T08:40:25Z</dc:date>
    </item>
  </channel>
</rss>

