<?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 Expression trouble in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-trouble/m-p/310380#M1308875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the numbers there when you put itemsonTime in a listbox? &lt;/P&gt;&lt;P&gt;I guess you should use sum(itemsOnTime) as an expression in the pivot table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't solve it , maybe you could share some data samples so the community can take a look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2011 11:38:49 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-06-22T11:38:49Z</dc:date>
    <item>
      <title>Expression trouble</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-trouble/m-p/310379#M1308874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression in my pivot chart&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;sum(if(date_received&amp;lt;=expected_date, qty_received))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried putting this in my script rather than have the calculations eating memory in the pivot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOCONCATENATE LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;order_no, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(date_received&amp;lt;=expected_date, qty_received) as itemsOnTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT op;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This loads correctly, however when the value &lt;STRONG&gt;"itemsOnTime" &lt;/STRONG&gt;is in the pivot I'm getting a 0 value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the expression &lt;STRONG&gt;sum(if(date_received&amp;lt;=expected_date, qty_received))&lt;/STRONG&gt; is in the pivot I receive the corrrect calculation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone see anything wrong here? Thanks in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-trouble/m-p/310379#M1308874</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Expression trouble</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-trouble/m-p/310380#M1308875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the numbers there when you put itemsonTime in a listbox? &lt;/P&gt;&lt;P&gt;I guess you should use sum(itemsOnTime) as an expression in the pivot table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't solve it , maybe you could share some data samples so the community can take a look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 11:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-trouble/m-p/310380#M1308875</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-22T11:38:49Z</dc:date>
    </item>
  </channel>
</rss>

