<?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: Set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1786021#M1210054</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95145"&gt;@Architect&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max({1}BaseYear) gives always the maximum Year. For ex: In your case, its 2021.&lt;/P&gt;&lt;P&gt;If you create the text box, and use this&amp;nbsp;&lt;STRONG&gt;[Base Year] = max({1} [Base Year])&amp;nbsp;&lt;/STRONG&gt;expression.&lt;/P&gt;&lt;P&gt;Output will be -1 when you select 2021, else it will give zero at all the remaining case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2021 06:22:58 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-02-25T06:22:58Z</dc:date>
    <item>
      <title>Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1785917#M1210042</link>
      <description>&lt;P&gt;Can anyone please explain the meaning of this condition?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Base Year] = max({1} [Base Year])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I select 2021 as Base Year, what will be the output?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 04:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1785917#M1210042</guid>
      <dc:creator>Architect</dc:creator>
      <dc:date>2021-02-25T04:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1785932#M1210043</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_self"&gt;{1}&lt;/A&gt;&amp;nbsp;ignores filters and represents the complete data set.&amp;nbsp; No matter which year you select, you should get the maximum year.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 20:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1785932#M1210043</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-02-24T20:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1785999#M1210052</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the explanation.&lt;/P&gt;&lt;P&gt;Though I am looking for something more detailed.&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Base Year] = max({1} [Base Year])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if we select 2018,2019,2020 and 2021 one after another will the condition be satisfied every time?&lt;/P&gt;&lt;P&gt;I can see with the change of the &lt;STRONG&gt;[Base Year]&lt;/STRONG&gt; selection the output value is changing too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 04:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1785999#M1210052</guid>
      <dc:creator>Architect</dc:creator>
      <dc:date>2021-02-25T04:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1786021#M1210054</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95145"&gt;@Architect&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max({1}BaseYear) gives always the maximum Year. For ex: In your case, its 2021.&lt;/P&gt;&lt;P&gt;If you create the text box, and use this&amp;nbsp;&lt;STRONG&gt;[Base Year] = max({1} [Base Year])&amp;nbsp;&lt;/STRONG&gt;expression.&lt;/P&gt;&lt;P&gt;Output will be -1 when you select 2021, else it will give zero at all the remaining case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 06:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1786021#M1210054</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-02-25T06:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1786023#M1210055</link>
      <description>&lt;P&gt;Like mentioned the {1} ignored any selections within the expression of&amp;nbsp;&lt;STRONG&gt;max({1} [Base Year]).&lt;/STRONG&gt;&amp;nbsp;Just put it within a text-box to see if it changed by any selections. If your overall expression which contained this as an expression-part did change it means that the other parts are further directly associated to selections.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 06:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1786023#M1210055</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-25T06:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1786217#M1210067</link>
      <description>&lt;P&gt;In the first image, "=[Base Year]=Max({1}[Base Year])" is returning a boolean (True (-1) or False(0)).&amp;nbsp; In the filter pane, 2018 is selected.&amp;nbsp; "Max([Base Year]) is returning the maximum of the years available, 2018.&amp;nbsp; "Max({1}[Base Year]) looks at all the years and returns 2021.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="set1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49883i761BF2C097F7380E/image-size/large?v=v2&amp;amp;px=999" role="button" title="set1.PNG" alt="set1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the second image, 2020 is selected in the filter pane.&amp;nbsp; "Max([Base Year]) is returning the maximum of the years available, 2020.&amp;nbsp; "Max({1}[Base Year]) looks at all the years and returns 2021.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="set2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49884i82858875ABA34CC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="set2.PNG" alt="set2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 14:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1786217#M1210067</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-02-25T14:48:12Z</dc:date>
    </item>
  </channel>
</rss>

