<?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 analysis addition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203499#M874772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It errors on that expression on the red part:&lt;/P&gt;&lt;P&gt;&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: 28.6924px;"&gt;sum({&amp;lt;[Cape Toggle] = {'Only Cape'},[Production &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: 28.6924px;"&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: 28.6924px;"&gt;Date]= '2016-04-29' &lt;SPAN style="color: #ff0000;"&gt;&amp;gt;}&lt;/SPAN&gt;[Current Balance])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2016 15:45:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-02T15:45:59Z</dc:date>
    <item>
      <title>Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203493#M874766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use set analysis to add two different balance amounts based off of a filter and a selection. &lt;/P&gt;&lt;P&gt;The addition is correctly working, but the first set analysis function is not returning the right data values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How the first set analysis should work is: If the Cape Toggle = Only Cape, then we want to take the Current Balance on 4-29 -2016. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T&lt;SPAN style="font-size: 10pt;"&gt;he second set analysis is taking the current balance based off the current selection. It looks at the current selection and then goes back to the previous year of the current selection and takes the current balance of that date (so if 10-31-16 is selected, it will look at the greatest date in 2015 which would be 12-31-2016)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Cape Toggle] = {'Only Cape'},[Production Date]={"=2016-04-29"}&amp;gt;}[Current Balance])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Cape Toggle] = {'No Cape'},[Production Date]={"$(=date(max({1&amp;lt;Year={$(=max(Year)-1)}&amp;gt;} [Production Date])))"}&amp;gt;}[Current Balance])&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/Set-analysis-addition/m-p/1203493#M874766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203494#M874767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for first part of expression&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Cape Toggle] = {'Only Cape'},[Production Date]={"=2016-04-29"}&amp;gt;}[Current Balance])&lt;/P&gt;&lt;P&gt;you are using yyyy-dd-mm format for date, is that the format shown for on selection filters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 09:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203494#M874767</guid>
      <dc:creator />
      <dc:date>2016-11-02T09:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203495#M874768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it is not, should i change it to the way the the selection filter displays? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203495#M874768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203496#M874769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your date format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And try to remove = from first set operator&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203496#M874769</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-02T15:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203497#M874770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; where?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203497#M874770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T15:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203498#M874771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How your date field format looks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[Cape Toggle] = {'Only Cape'},[Production Date]= '2016-04-29' &amp;gt;}[Current Balance])&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;[Cape Toggle] = {'No Cape'},[Production Date]={"$(=date(max({1&amp;lt;Year={$(=max(Year)-1)}&amp;gt;} [Production Date])))"}&amp;gt;}[Current Balance])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203498#M874771</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-02T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203499#M874772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It errors on that expression on the red part:&lt;/P&gt;&lt;P&gt;&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: 28.6924px;"&gt;sum({&amp;lt;[Cape Toggle] = {'Only Cape'},[Production &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: 28.6924px;"&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: 28.6924px;"&gt;Date]= '2016-04-29' &lt;SPAN style="color: #ff0000;"&gt;&amp;gt;}&lt;/SPAN&gt;[Current Balance])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203499#M874772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T15:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203500#M874773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you just tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=sum({&amp;lt;[Cape Toggle] = {'Only Cape'},[Production Date] = &lt;SPAN style="color: #ff0000;"&gt;{"$(=Date(MakeDate(2016, 4, 29)))"}&lt;/SPAN&gt;&amp;gt;} [Current Balance])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sum({$&amp;lt;[Cape Toggle] = {'No Cape'},[Production Date]={"$(=date(max({1&amp;lt;Year={$(=max(Year)-1)}&amp;gt;} [Production Date])))"}&amp;gt;}[Current Balance])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203500#M874773</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T15:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203501#M874774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Under mOderated try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_20161102_212016.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/142713_Screenshot_20161102_212016.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203501#M874774</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-02T15:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis addition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203502#M874776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you this worked perfectly!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 16:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-addition/m-p/1203502#M874776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T16:05:26Z</dc:date>
    </item>
  </channel>
</rss>

