<?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 for total sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106443#M457614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou Vishwarath, Its really helpful &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2018 04:41:43 GMT</pubDate>
    <dc:creator>pallvit_01</dc:creator>
    <dc:date>2018-09-26T04:41:43Z</dc:date>
    <item>
      <title>set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106438#M457609</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;i have a requirement where i need total sales of country Inida for year 2014 and total sales of country UK for 2015. Please follow the below details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year, Country, Sales&lt;/P&gt;&lt;P&gt;2014, IND, 200&lt;/P&gt;&lt;P&gt;2015, IND, 150&lt;/P&gt;&lt;P&gt;2014, UK, 250&lt;/P&gt;&lt;P&gt;2015, UK, 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want my output only 250.&lt;/P&gt;&lt;P&gt;how can i show this in a single expression. Note only in single set analysis expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 12:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106438#M457609</guid>
      <dc:creator>pallvit_01</dc:creator>
      <dc:date>2018-09-25T12:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106439#M457610</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;Use the following expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={2014},Country={'IND'}&amp;gt;+&amp;lt;Year={2015},Country={'UK'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a result, you'll get:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214420" alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214420_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 15:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106439#M457610</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-09-25T15:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106440#M457611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be another way is like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Rangesum(Sum({&amp;lt;Country = {'IND'}, Year = {2014}&amp;gt;}Sales), Sum({&amp;lt;Country = {'UK'}, Year = {2015}&amp;gt;}Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this in your textobject or in straight table expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106440#M457611</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-09-25T16:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106441#M457612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felip, may be you do not need + before sales right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106441#M457612</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-09-25T16:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106442#M457613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do need it if your going to do the addition of set analysis (since he wanted in only one expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From help: &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/SetAnalysis/set-analysis-expressions.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="example_numbered" data-mc-autonum="Example 2: " style="font-size: 14px; margin: 10px 0; font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber"&gt;Example 2: &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; margin: 0.5em 0; background: #fafafa; padding: 1em; color: #0f0f0f;"&gt;Sum({$&amp;lt;Year={2009}&amp;gt;+1&amp;lt;Country={'Sweden'}&amp;gt;} Sales)&lt;/P&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;This set expression contains the identifiers &lt;SPAN class="path" data-mc-conditions="Primary.NotToTranslate" style="font-style: italic;"&gt;$&lt;/SPAN&gt; and &lt;SPAN class="path" data-mc-conditions="Primary.NotToTranslate" style="font-style: italic;"&gt;1&lt;/SPAN&gt;, the operator &lt;SPAN class="path" data-mc-conditions="Primary.NotToTranslate" style="font-style: italic;"&gt;+&lt;/SPAN&gt; and the modifiers &lt;SPAN class="path" data-mc-conditions="Primary.NotToTranslate" style="font-style: italic;"&gt;&amp;lt;Year={2009}&amp;gt;&lt;/SPAN&gt; and &lt;SPAN class="path" data-mc-conditions="Primary.NotToTranslate" style="font-style: italic;"&gt;&amp;lt;Country={'Sweden'}&amp;gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;/P&gt;&lt;H3 style="margin-top: 30px; font-weight: 400; margin-bottom: 10px; font-size: 1.69em; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;Operators&lt;/H3&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;Operators are used to include, exclude, or intersect parts of or whole data sets. All operators use sets as operands and return a set as result.&lt;/P&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;This table shows operators that can be used in set expressions.&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-bottom: 15px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; margin-right: auto;"&gt;&lt;THEAD style="border-top: 2px solid #0f0f0f;"&gt;&lt;TR&gt;&lt;TH class="HeadI--" style="padding: 5px 7px; text-align: left;"&gt;Operator&lt;/TH&gt;&lt;TH class="HeadG--" style="padding: 5px 7px; text-align: left;"&gt;Description&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;+&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Union. This binary operation returns a set consisting of the records that belong to any of the two set operands.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106442#M457613</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-09-25T16:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106443#M457614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou Vishwarath, Its really helpful &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 04:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106443#M457614</guid>
      <dc:creator>pallvit_01</dc:creator>
      <dc:date>2018-09-26T04:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106444#M457615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Felip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, I did not know that&amp;nbsp; operators&amp;nbsp; can also be used in set analysis like this which you have shown in above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 04:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106444#M457615</guid>
      <dc:creator>pallvit_01</dc:creator>
      <dc:date>2018-09-26T04:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106445#M457616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know it helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you mark the correct anwser that helped you so others in the community might see it too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 17:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106445#M457616</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-09-26T17:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106446#M457617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This refers to + being a set operator instead of an arithmetic operator like remarked.&lt;/P&gt;&lt;P&gt;So I think the comment is valid that "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;+Sales" can be replaced by just "Sales" in your expression, right?&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;hope this helps&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;regards&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;Marco&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 21:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106446#M457617</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-09-26T21:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for total sales</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106447#M457618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh right, didnt realise i've put the +Sales at the end, then yes, it's right, there's no need for the plus sign at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 11:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-total-sales/m-p/106447#M457618</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-09-27T11:25:52Z</dc:date>
    </item>
  </channel>
</rss>

