<?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: Some help with set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Some-help-with-set/m-p/1339450#M827169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can exclude like -= in your set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would ask you to create this statement in script, I assume INSDATE has Year Values if not you may create Year(INSDATE) as Year and then use Year direct rather INSDATE for condition&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;If(UTYP &amp;lt;&amp;gt; '201', If( INSDATE &amp;gt; Max(TOTAL Year), If( Month &amp;lt;&amp;gt; '07' , If(Day &amp;lt;&amp;gt; '03', 'Exclude', 'Include') as FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And then some thing like this for set expression&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;STRONG&gt;sum({&amp;lt;Month=, Year = {"$(#=max(Year))"}, MonthNr= {1,2,3,4,5,6}&lt;SPAN style="color: #ff0000;"&gt;, FieldName -= {'Exclude'}&lt;/SPAN&gt; &amp;gt;} Sale)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 16:01:35 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-07-06T16:01:35Z</dc:date>
    <item>
      <title>Some help with set</title>
      <link>https://community.qlik.com/t5/QlikView/Some-help-with-set/m-p/1339449#M827168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have this expression. sum({&amp;lt;Month=, Year = {"$(#=max(Year))"}, MonthNr= {1,2,3,4,5,6} &amp;gt;} Sale)&lt;/P&gt;&lt;P&gt;Now I want to exclude some transactions that can be backdated. The transaction have a UTYP = 201 and INSDATE larger then Max(Year) Month 07 and Day 03. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I include that exclude-expression in the set? &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/Some-help-with-set/m-p/1339449#M827168</guid>
      <dc:creator>G_Hofstedt</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Some help with set</title>
      <link>https://community.qlik.com/t5/QlikView/Some-help-with-set/m-p/1339450#M827169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can exclude like -= in your set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would ask you to create this statement in script, I assume INSDATE has Year Values if not you may create Year(INSDATE) as Year and then use Year direct rather INSDATE for condition&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;If(UTYP &amp;lt;&amp;gt; '201', If( INSDATE &amp;gt; Max(TOTAL Year), If( Month &amp;lt;&amp;gt; '07' , If(Day &amp;lt;&amp;gt; '03', 'Exclude', 'Include') as FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And then some thing like this for set expression&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;STRONG&gt;sum({&amp;lt;Month=, Year = {"$(#=max(Year))"}, MonthNr= {1,2,3,4,5,6}&lt;SPAN style="color: #ff0000;"&gt;, FieldName -= {'Exclude'}&lt;/SPAN&gt; &amp;gt;} Sale)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 16:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Some-help-with-set/m-p/1339450#M827169</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-06T16:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Some help with set</title>
      <link>https://community.qlik.com/t5/QlikView/Some-help-with-set/m-p/1339451#M827170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use e()&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/68931"&gt;P() &amp;amp;amp; E() and where do you use them?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 16:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Some-help-with-set/m-p/1339451#M827170</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-06T16:39:32Z</dc:date>
    </item>
  </channel>
</rss>

