<?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: Help with Set Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76000#M770529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny - thanks! I was just thinking "well THIS is an odd way to achieve the objective."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2018 11:49:11 GMT</pubDate>
    <dc:creator>schneider2037</dc:creator>
    <dc:date>2018-06-08T11:49:11Z</dc:date>
    <item>
      <title>Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75995#M770524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to learn Set expressions to correct problems with existing dashboards for my company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I understand the basics of set expressions, I'm lost in the ones below, where there's a fieldname followed by an = then followed by a comma then another field and =, et cetera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that the first is for CURRENT year whereas the second is for PRIOR year (based on our internal calendar we reference):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FISCALMO=,[Calendar Fiscal Month]=,[FISCALYR]={"$(=max({1} [FISCALYR]))"}&amp;gt;}SERVICE_ISSUE_COUNT)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FISCALMO=,[Calendar Fiscal Month]=,FISCALYR={"$(=max({1} FISCALYR)-1)"}&amp;gt;}SERVICE_ISSUE_COUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm used to seeing sum({$&amp;lt;Field1 = {FieldValue1}, Field2 = {FieldValue2}&amp;gt;} SERVICE_ISSUE_COUNT), which isn't what the above follows???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can anyone "human speak" what the above expressions are attempting? It's returning...answers, just not 100% if they're correct answers. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;BR /&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75995#M770524</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75996#M770525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that seems to react as no selection is taken in account for the field,&lt;/P&gt;&lt;P&gt;so equivalent to 1&amp;lt;field = {'*'}&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 11:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75996#M770525</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-06-08T11:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75997#M770526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got some useful documentation for you on this topic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Translation: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;FISCALMO=,[Calendar Fiscal Month]=,[FISCALYR]={"$(=max({1} [FISCALYR]))"}&amp;gt;}SERVICE_ISSUE_COUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SERVICE_ISSUE_COUNT) Where selections on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FISCALMO, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Calendar Fiscal Month] are ignored. = means don't do anything with the selection. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Then for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[FISCALYR] there is set analysis used within the set analysis. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"$(=max({1} [FISCALYR]))" means Pick the maximum &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FISCALYR and ignore all selections. {1} is ignoring all selections. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;so it meas: show the sum of the service issue count for the maximum fiscalyear, while ignoring month selections . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"$(=max({1} FISCALYR)-1)" is the same but max year - 1. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 11:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75997#M770526</guid>
      <dc:creator>avkeep01</dc:creator>
      <dc:date>2018-06-08T11:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75998#M770527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bold part of the expression is just saying that ignore any selections made in those two fields. So, if you select FISCALMO 3, the values that the expression is showing won't change (compared to if you have not selected anything)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;&lt;STRONG&gt;FISCALMO=,[Calendar Fiscal Month]=&lt;/STRONG&gt;,[FISCALYR]={"$(=max({1} [FISCALYR]))"}&amp;gt;}SERVICE_ISSUE_COUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above can also be written like this (without the equal sign) and means the same exact thing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FISCALMO, [Calendar Fiscal Month]&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, [FISCALYR]={"$(=max({1} [FISCALYR]))"}&amp;gt;}SERVICE_ISSUE_COUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 11:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75998#M770527</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-08T11:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75999#M770528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! The documentation is outstanding, and your explanation spot on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On an aside, it seems a rather cumbersome way to achieve the objective, but as it is working, not going to try and fix it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 11:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/75999#M770528</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-08T11:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76000#M770529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny - thanks! I was just thinking "well THIS is an odd way to achieve the objective."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 11:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76000#M770529</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-08T11:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76001#M770530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;"well THIS is an odd way to achieve the objective."&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How else can achieve the same output? I mean if you always want to see the whole year for one object and then the other one should show based on selection in FISCALMO... how would you do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 11:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76001#M770530</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-08T11:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76002#M770531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Meant more along the lines of the syntax used (your version is a lot cleaner to read in my mind).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These set expressions are still a bit beyond my comprehension. Thanks again for the assist!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 12:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76002#M770531</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-08T12:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76003#M770532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Meant more along the lines of the syntax used (your version is a lot cleaner to read in my mind).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Gotchya!! Well, I rarely use the equal sign, but I know a lot of people use it with the equal sign. Not sure if what I use is by design or a bug that Qlik never fixed it...&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;These set expressions are still a bit beyond my comprehension.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Isn't that true for syntax of any new language you are trying to learn. But I am sure you will get a hang of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 12:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/76003#M770532</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-08T12:08:43Z</dc:date>
    </item>
  </channel>
</rss>

