<?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: QlikView Sum Up Number If Contain that Specific Item in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Sum-Up-Number-If-Contain-that-Specific-Item/m-p/1860609#M1216120</link>
    <description>&lt;P&gt;Sum({$&amp;lt;TransactionID=P({$&amp;lt;Item={'ItemFree'}&amp;gt;})&amp;gt;} Sales)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see also:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 17:25:50 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2021-11-17T17:25:50Z</dc:date>
    <item>
      <title>QlikView Sum Up Number If Contain that Specific Item</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Sum-Up-Number-If-Contain-that-Specific-Item/m-p/1860246#M1216101</link>
      <description>&lt;P&gt;Hi experts, I have a question regarding a expression or set analysis. Example, I want to sum up the whole sales number if the whole transaction contain item 'ItemFree'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dataset:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;TransactionID&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Item&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;ItemA&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;ItemB&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;ItemFree&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Item&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Item&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;ItemA&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;ItemB&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;300&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;ItemFree&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected result:&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;TransactionID&lt;/TD&gt;
&lt;TD width="50%"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="50%"&gt;200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;3&lt;/TD&gt;
&lt;TD width="50%"&gt;500&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the expected result, we should not show TransactionID '2' because there is no item 'ItemFree' in the transaction.&lt;/P&gt;
&lt;P&gt;I understand this can be done easily using backend script and change the data schema, but I just want to know if this can be done using expression or set analysis.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 07:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Sum-Up-Number-If-Contain-that-Specific-Item/m-p/1860246#M1216101</guid>
      <dc:creator>jerfworkS</dc:creator>
      <dc:date>2021-11-17T07:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Sum Up Number If Contain that Specific Item</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Sum-Up-Number-If-Contain-that-Specific-Item/m-p/1860609#M1216120</link>
      <description>&lt;P&gt;Sum({$&amp;lt;TransactionID=P({$&amp;lt;Item={'ItemFree'}&amp;gt;})&amp;gt;} Sales)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see also:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 17:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Sum-Up-Number-If-Contain-that-Specific-Item/m-p/1860609#M1216120</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-11-17T17:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Sum Up Number If Contain that Specific Item</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Sum-Up-Number-If-Contain-that-Specific-Item/m-p/1860722#M1216123</link>
      <description>&lt;P&gt;Thanks MacroWedel!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 01:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Sum-Up-Number-If-Contain-that-Specific-Item/m-p/1860722#M1216123</guid>
      <dc:creator>jerfworkS</dc:creator>
      <dc:date>2021-11-18T01:48:31Z</dc:date>
    </item>
  </channel>
</rss>

