<?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: How can I set a condition in the SUM function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593675#M738829</link>
    <description>&lt;P&gt;I will. Can I ask about what I need to do if I want to add another condition? Will the formula below work?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM ({&amp;lt;COUNTRY = {'Brazil'}&amp;gt;} {&amp;lt;YEAR = {2019}&amp;gt;} SALES) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 14:19:17 GMT</pubDate>
    <dc:creator>mlarruda</dc:creator>
    <dc:date>2019-06-19T14:19:17Z</dc:date>
    <item>
      <title>How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593661#M738824</link>
      <description>&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;Suppose that I have a database with three variables (columns), with the first containing product names (strings), the second containing country names (strings) and the third containg sales (numbers). I want to build a table with the sums of sales per country for a given product.&lt;/P&gt;&lt;P&gt;So, I defined PRODUCT as Dimension and SUM (COUNTRY = 'Argentina' SALES), SUM (COUNTRY = 'Brazil' SALES) etc. as the Expressions, but these SUM functions are not working!&lt;/P&gt;&lt;P&gt;Anyone can help me please?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593661#M738824</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2024-11-16T20:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593663#M738825</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM ({&amp;lt;COUNTRY = {'Argentina'}&amp;gt;} SALES)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM ({&amp;lt;COUNTRY = {'Brazil'}&amp;gt;} SALES) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The syntax between the outer { and } is called SET analysis. A good place to start learning about SET analysis is in the Qlik Help&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_self"&gt;Set analysis and set expressions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593663#M738825</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-19T14:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593666#M738826</link>
      <description>&lt;P&gt;Worked! Thank you!&lt;/P&gt;&lt;P&gt;And excuse me too for my portuglish...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593666#M738826</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2019-06-19T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593667#M738827</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if you are creating a table (or another chart) with country as dimension and sum(SALES) as expression Qlik will generate a chart with calculated sales-values for each dimension automatically.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593667#M738827</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-06-19T14:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593672#M738828</link>
      <description>&lt;P&gt;Great&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/10284"&gt;@mlarruda&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Glad I could be of help.&lt;/P&gt;&lt;P&gt;To help others navigating in the community, please mark this question as answered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Vegar&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593672#M738828</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-19T14:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593675#M738829</link>
      <description>&lt;P&gt;I will. Can I ask about what I need to do if I want to add another condition? Will the formula below work?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM ({&amp;lt;COUNTRY = {'Brazil'}&amp;gt;} {&amp;lt;YEAR = {2019}&amp;gt;} SALES) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593675#M738829</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2019-06-19T14:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593686#M738830</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM ({&amp;lt;COUNTRY = {'Brazil'}, YEAR = {2019}&amp;gt;} SALES) &lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593686#M738830</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-19T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set a condition in the SUM function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593689#M738831</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-set-a-condition-in-the-SUM-function/m-p/1593689#M738831</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2019-06-19T14:32:27Z</dc:date>
    </item>
  </channel>
</rss>

