<?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 expression in QlickView(urgent) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183390#M48666</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;I want to write one conditional expression in QV for my chart.&lt;/P&gt;&lt;P&gt;In the expression i want to write something like&lt;/P&gt;&lt;P&gt;if(month(DateId)&amp;lt; Current month, actual abos,plannedabos)&lt;/P&gt;&lt;P&gt;Could anyone please send me the correct syntax for the same, i need this urgent.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahasweta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2009 12:44:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-11T12:44:37Z</dc:date>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183390#M48666</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;I want to write one conditional expression in QV for my chart.&lt;/P&gt;&lt;P&gt;In the expression i want to write something like&lt;/P&gt;&lt;P&gt;if(month(DateId)&amp;lt; Current month, actual abos,plannedabos)&lt;/P&gt;&lt;P&gt;Could anyone please send me the correct syntax for the same, i need this urgent.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahasweta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 12:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183390#M48666</guid>
      <dc:creator />
      <dc:date>2009-09-11T12:44:37Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183391#M48667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Replace the 'Current Month' by month (today()). Will that solve your issue?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 13:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183391#M48667</guid>
      <dc:creator />
      <dc:date>2009-09-11T13:23:50Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183392#M48668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , i wrote the expression as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(if(month(DATE_ID)) &amp;lt; month(today),ACTUAL_ABSORPTION,PLAN_ABSORPTION &lt;P&gt;)&lt;/P&gt;&lt;P&gt;But am not getting the desired result in my chart.&lt;/P&gt;&lt;P&gt;Could you please further guide me?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahasweta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 13:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183392#M48668</guid>
      <dc:creator />
      <dc:date>2009-09-11T13:46:52Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183393#M48669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;( if( month(DATE_ID) &amp;lt; month(today)&lt;/P&gt;&lt;P&gt;, ACTUAL_ABSORPTION&lt;/P&gt;&lt;P&gt;, PLAN_ABSORPTION&lt;/P&gt;&lt;P&gt;)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183393#M48669</guid>
      <dc:creator />
      <dc:date>2009-09-11T14:45:27Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183394#M48670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I implemented the same ,still its not working.Actually am getting some value but not correct.&lt;/P&gt;&lt;P&gt;one idea is the Date need to be in which format, means "mm/dd/yyyyy" or what as in my database.&lt;/P&gt;&lt;P&gt;I mean what should be the Date type here., as in my DB i have the Date as varchar but the format is "yyyy/mm/dd".&lt;/P&gt;&lt;P&gt;Please suggest me here.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahasweta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183394#M48670</guid>
      <dc:creator />
      <dc:date>2009-09-11T14:53:27Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183395#M48671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please check, whether you are using same dateformats, probably might also help to insert MonthStart-function in order to avoid disturbances with dates and timestamps.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183395#M48671</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-09-11T14:58:24Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183396#M48672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please help me in the below expression,&lt;/P&gt;&lt;P&gt;i want something like&lt;/P&gt;&lt;P&gt;sum(if((month(Date)) &amp;lt; month(today),ACTUAL_ABSORPTION,' ')&lt;/P&gt;&lt;P&gt;means if true i should get actual abos else nothing.&lt;/P&gt;&lt;P&gt;How to get the else part for nothing?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahasweta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 15:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183396#M48672</guid>
      <dc:creator />
      <dc:date>2009-09-11T15:00:31Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183397#M48673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it seems that there's a mistake with parentheses. I think it should be&lt;/P&gt;&lt;P&gt;Corrected:&lt;/P&gt;&lt;P&gt;if( (month(Date) &amp;lt; month(today() ) ) , ACTUAL_ABSORPTION,' ')&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 15:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183397#M48673</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-09-11T15:10:53Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183398#M48674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;it is today() not today&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 15:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183398#M48674</guid>
      <dc:creator />
      <dc:date>2009-09-11T15:20:15Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183399#M48675</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;my expression is like this and am getting the values.&lt;/P&gt;&lt;P&gt;sum(if((month(Date)) &amp;lt; month(today()),ACTUAL_ABSORPTION,0))&lt;/P&gt;&lt;P&gt;But here the values are not coming according to the month.Here am plotting my graph Absorption vs month . So here i should get the ACTUAL_ABSORPTION with respect to the months. But am getting whole sum value here in stead of the individual value.&lt;/P&gt;&lt;P&gt;Please let me know where am missing.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahasweta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 16:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183399#M48675</guid>
      <dc:creator />
      <dc:date>2009-09-11T16:00:59Z</dc:date>
    </item>
    <item>
      <title>Conditional expression in QlickView(urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183400#M48676</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;Try this formula:&lt;/P&gt;&lt;P&gt;sum(if(monthstart(DateID)&amp;lt;=monthstart(today()) , abos, plannedabos ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use function month(it will return a numbaer of the month but it will olso inlcude the months of last year. So if dateID is let's say 8/15/08 the formula will return abos in case you use month() and plannedabos in case you use monthstart(). Of course you have to take care:&lt;/P&gt;&lt;P&gt;1. DateID is not a key field because in QlikView these fields should not be used in formula (resuls are random). Create another Date field in case DateID is a key field.&lt;/P&gt;&lt;P&gt;2. Take care to have DateID, Date or whatever field you will use, formated as number or as date. If it's formated as text or string you will get an error or a wrong result.&lt;/P&gt;&lt;P&gt;That's it. Hope will help you.&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;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 16:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-QlickView-urgent/m-p/183400#M48676</guid>
      <dc:creator />
      <dc:date>2009-09-11T16:03:31Z</dc:date>
    </item>
  </channel>
</rss>

