<?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: Difference data values for list of values in the expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771343#M273774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably I can add this one of the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have table chart having Product Id, Product Cat, =Month(Date) and expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(([Product Id]=1 and num(month(Date),'00')&amp;gt;=num(month(today()),'00')),SUM(Sales),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two products Apple and Samsung for apple it has to calculate Sum(Sales) and for Samsung it has to show zero, but my table chart is showing nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is something wrong in the expression if condition, can you suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use personal edition, pls don't send updated qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Dec 2014 18:00:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-21T18:00:30Z</dc:date>
    <item>
      <title>Difference data values for list of values in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771342#M273773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have if condition in the expression, FctTy filed has 3 list of values like Forecast, billing, inventory and have sum(Amt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Pivot table years and months are displaying horizontal and FctTy, few other fields are on verticals. And expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(FctTy='Forecast' and Invd='0' and month(Paydt)&amp;gt;=month(today()), SUM(Amt)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data from Aug 2014 to Dec 2015 so when I displaying the data billing and inventoryis displaying data from Aug 2014 to Dec 2015. But when I see the data from Forecast, the data should from current month to future as it represents Forecast data that is the reason I used month(Paydt)&amp;gt;=month(today()) so that my data is from current month to future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is showing all the data from Aug 2014 to Dec 2015 which is not supposed to get. I am not sure whether this formula (month(Paydt)&amp;gt;=month(today())) works or not. Is year comparison missing in this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I am not able to provide any kind of sample data, I am available on skype to show how data is coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate you kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 17:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771342#M273773</guid>
      <dc:creator />
      <dc:date>2014-12-21T17:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Difference data values for list of values in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771343#M273774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably I can add this one of the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have table chart having Product Id, Product Cat, =Month(Date) and expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(([Product Id]=1 and num(month(Date),'00')&amp;gt;=num(month(today()),'00')),SUM(Sales),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two products Apple and Samsung for apple it has to calculate Sum(Sales) and for Samsung it has to show zero, but my table chart is showing nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is something wrong in the expression if condition, can you suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use personal edition, pls don't send updated qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 18:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771343#M273774</guid>
      <dc:creator />
      <dc:date>2014-12-21T18:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Difference data values for list of values in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771344#M273775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your example does not have the "Date"-field, anyhow your formula&lt;/P&gt;&lt;P&gt;=IF([Product Id]=1 and month(Date),SUM(Sales),0)&lt;/P&gt;&lt;P&gt;is wrong (at least in this context).&lt;/P&gt;&lt;P&gt;Please try &lt;/P&gt;&lt;P&gt;SUM(IF([Product Id]=1, Sales)) &lt;/P&gt;&lt;P&gt;should result in 2572.&lt;/P&gt;&lt;P&gt;If you need to have also the time-dimension involve, formula might be&lt;/P&gt;&lt;P&gt; SUM(IF([Product Id]=1 AND MONTH(Date) = MONTH(TODAY()), Sales))&lt;/P&gt;&lt;P&gt;You need to ensure - that both are dates and the formats are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 18:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771344#M273775</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2014-12-21T18:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Difference data values for list of values in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771345#M273776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply, My data set has Date field,I tried this formula but it works only for Dec 2014. I have updated the data set. pls have a look and I mentioned Expected output as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 18:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771345#M273776</guid>
      <dc:creator />
      <dc:date>2014-12-21T18:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference data values for list of values in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771346#M273777</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;PFA.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vignesh !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 06:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-data-values-for-list-of-values-in-the-expression/m-p/771346#M273777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T06:54:34Z</dc:date>
    </item>
  </channel>
</rss>

