<?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 Conditional sum in %Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206275#M62465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jun 2010 11:37:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-29T11:37:49Z</dc:date>
    <item>
      <title>Conditional sum in %Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206272#M62462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I'm using the Dynamic chart &lt;A href="http://community.qlik.com/media/p/91101.aspx"&gt;http://community.qlik.com/media/p/91101.aspx&lt;/A&gt; and in the expressions I want to show the sums of the units depending on the dates contained in a field called ReceivedDate. Then in the script I'm doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expresions:&lt;BR /&gt;load * inline [&lt;BR /&gt; %ExpName, %Expression&lt;BR /&gt; Forecast 14/06/2010, sum({$&amp;lt;ReceivedDate={14/06/2010}&amp;gt;}Units)&lt;BR /&gt; Forecast 21/06/2010, sum({$&amp;lt;ReceivedDate={21/06/2010}&amp;gt;}Units)&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it seems it isn't working: in the chart all the related cells are empty (with the symbol "-"). Do you have any suggestions to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 10:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206272#M62462</guid>
      <dc:creator />
      <dc:date>2010-06-29T10:26:04Z</dc:date>
    </item>
    <item>
      <title>Conditional sum in %Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206273#M62463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be, problem in Date format? Can you post your qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 10:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206273#M62463</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-29T10:45:31Z</dc:date>
    </item>
    <item>
      <title>Conditional sum in %Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206274#M62464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, b&lt;/P&gt;&lt;P&gt;I think you forgot to put single quote before and after the date in Set Analysis.&lt;/P&gt;&lt;P&gt;Expresions:&lt;BR /&gt;load * inline [&lt;BR /&gt; %ExpName, %Expression&lt;BR /&gt; Forecast 14/06/2010, sum({$&amp;lt;ReceivedDate={'14/06/2010'}&amp;gt;}Units)&lt;BR /&gt; Forecast 21/06/2010, sum({$&amp;lt;ReceivedDate={'21/06/2010'}&amp;gt;}Units)&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;This worked with me. Try it.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Miha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 11:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206274#M62464</guid>
      <dc:creator />
      <dc:date>2010-06-29T11:08:51Z</dc:date>
    </item>
    <item>
      <title>Conditional sum in %Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206275#M62465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 11:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206275#M62465</guid>
      <dc:creator />
      <dc:date>2010-06-29T11:37:49Z</dc:date>
    </item>
    <item>
      <title>Conditional sum in %Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206276#M62466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I'm doing the same thing except that instead of using set analysis, I used a straight sum and count in my expression.&lt;/P&gt;&lt;P&gt;The expressions basically refer to the column from Table A which is Amount.&lt;/P&gt;&lt;P&gt;I'll be using the Selectmetric column to toggle between count and total in a chart. But when I try to select either Count or Total in the SelectMetric listbox, the expression just displays the text instead of evaluating it. Any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;TableA:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Supplier, Amount&lt;BR /&gt;A, 100&lt;BR /&gt;B, 200&lt;BR /&gt;C, 300&lt;BR /&gt;D, 400&lt;BR /&gt;D, 500&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Metric:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;%SelectMetric, %Expression&lt;BR /&gt;Count, count(Amount)&lt;BR /&gt;Total, sum(Amount)&lt;BR /&gt;];&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 01:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206276#M62466</guid>
      <dc:creator />
      <dc:date>2010-09-02T01:06:32Z</dc:date>
    </item>
    <item>
      <title>Conditional sum in %Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206277#M62467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like $(=%Expression) works. See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 01:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-sum-in-Expression/m-p/206277#M62467</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-02T01:14:44Z</dc:date>
    </item>
  </channel>
</rss>

