<?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: Expression Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269603#M583012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try this again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(IF(Month_PurNum&amp;lt;=NUM(month(today())),(JanValue_Pur),&lt;/P&gt;&lt;P&gt;IF(Month_PurNum&amp;gt;NUM(month(today())),(Jan_P))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is begining to be to hard without being able to look at the chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try selecting Suppress When Value is Null for the Month_PurNum dimension. That would only work if it isa null value and not a blank value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 16:23:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-01T16:23:43Z</dc:date>
    <item>
      <title>Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269591#M583000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, When I use the expression total for the below IF Statement, it seems to display as true even though we are in Nov. - NUM(month(today())) is definitely greater than data in January - Please see attached for illustration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression &lt;/P&gt;&lt;P&gt;=IF(Month_PurNum&amp;lt;=NUM(month(today())),SUM(JanValue_Pur),SUM(Jan_P))&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269591#M583000</guid>
      <dc:creator />
      <dc:date>2011-11-30T16:17:46Z</dc:date>
    </item>
    <item>
      <title>Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269592#M583001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿&lt;IMG alt="Month.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/9107_Month.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269592#M583001</guid>
      <dc:creator />
      <dc:date>2011-11-30T16:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269593#M583002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the formats of the dates you are compareing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Month(Month_PurNum)&amp;lt;=Month(NUM(month(today()))),SUM(JanValue_Pur),SUM(Jan_P))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(IF(Month(Month_PurNum)&amp;lt;=Month(NUM(month(today()))),(JanValue_Pur),(Jan_P)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269593#M583002</guid>
      <dc:creator />
      <dc:date>2011-11-30T16:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269594#M583003</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 just tried and it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the Month_PurNum is the month number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More suggestion would be appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269594#M583003</guid>
      <dc:creator />
      <dc:date>2011-11-30T16:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269595#M583004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright, with that info try these:&amp;nbsp;&amp;nbsp; Note: Check to make sure NUM(month(today())) is returning an integer (No Decimals)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Month_PurNum&amp;lt;=NUM(month(today())),SUM(JanValue_Pur),SUM(Jan_P))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(IF(Month_PurNum&amp;lt;=NUM(month(today())),(JanValue_Pur),(Jan_P)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269595#M583004</guid>
      <dc:creator />
      <dc:date>2011-11-30T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269596#M583005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUM(month(today()))  is returning 11 (number for Nov.) and the suggestions didnt work. Hmmm,... any other please? I have been battling with this for a bit now -:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269596#M583005</guid>
      <dc:creator />
      <dc:date>2011-11-30T16:32:03Z</dc:date>
    </item>
    <item>
      <title>Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269597#M583006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, just curious, in your second screen shot, what does each chart represent? (Top one has the 4500 value, bottom the 5672 value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also check your Month_PurNum to see what the format is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you upload a sample doument? (Can use scrambling if the data is confidential)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269597#M583006</guid>
      <dc:creator />
      <dc:date>2011-11-30T16:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269598#M583007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies and help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is sensitive and you will need the QVD, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The First Chart represents Forecast Data per month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Second Chart Represents the Actual Data from SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Third Chart is the summary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my IF statement is to say: If the month of purchase is less than this month, then display Actual data (i.e Second Chart) and if the month of purchase is greater than this month, then display forecast data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Maxwell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 09:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269598#M583007</guid>
      <dc:creator />
      <dc:date>2011-12-01T09:55:06Z</dc:date>
    </item>
    <item>
      <title>Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269599#M583008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On your last chart what is the column directly to the left of Jan? The one that displays:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;(Blank)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 12:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269599#M583008</guid>
      <dc:creator />
      <dc:date>2011-12-01T12:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269600#M583009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the Month_PurNum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 14:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269600#M583009</guid>
      <dc:creator />
      <dc:date>2011-12-01T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269601#M583010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like your problem is that for the row you are having issues with has no Month_PurNum so your formula does not return the correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this. It should now return a 0 because it does not fit into either category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(Month_PurNum&amp;lt;=NUM(month(today())),SUM(JanValue_Pur),&lt;/P&gt;&lt;P&gt;IF(Month_PurNum&amp;gt;NUM(month(today())),SUM(Jan_P)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 14:49:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269601#M583010</guid>
      <dc:creator />
      <dc:date>2011-12-01T14:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269602#M583011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It returns "-" and not 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 16:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269602#M583011</guid>
      <dc:creator />
      <dc:date>2011-12-01T16:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269603#M583012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try this again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(IF(Month_PurNum&amp;lt;=NUM(month(today())),(JanValue_Pur),&lt;/P&gt;&lt;P&gt;IF(Month_PurNum&amp;gt;NUM(month(today())),(Jan_P))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is begining to be to hard without being able to look at the chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try selecting Suppress When Value is Null for the Month_PurNum dimension. That would only work if it isa null value and not a blank value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 16:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269603#M583012</guid>
      <dc:creator />
      <dc:date>2011-12-01T16:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Total</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269604#M583013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a personal email?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 17:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Total/m-p/269604#M583013</guid>
      <dc:creator />
      <dc:date>2011-12-01T17:33:39Z</dc:date>
    </item>
  </channel>
</rss>

