<?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: If condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582298#M477987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it defined contains number(1,2,3..12)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 17:27:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-31T17:27:43Z</dc:date>
    <item>
      <title>If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582292#M477981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The calculation below is not working,The if conditions are not getting satisfied. Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(MATCH(FC.DATE_FISCAL_MONTH_NUM_LONG,3,6,9,12)&amp;gt;0 and Type='P',&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;FC.DATE_FISCAL_YEAR_LONG={$(vCurrentYear)},FC.DATE_FISCAL_MONTH_NUM_LONG={"&amp;gt;=$(vPrevMonth)&amp;lt;=$(vCurrentMonth)"}&amp;gt;}([Direct Hours]/200)),&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;FC.DATE_FISCAL_YEAR_LONG={$(vCurrentYear)},FC.DATE_FISCAL_MONTH_NUM_LONG={"&amp;gt;=$(vPrevMonth)&amp;lt;=$(vCurrentMonth)"}&amp;gt;}([Direct Hours]/160))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 16:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582292#M477981</guid>
      <dc:creator />
      <dc:date>2014-03-31T16:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582293#M477982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=IF(MATCH(FC.DATE_FISCAL_MONTH_NUM_LONG,3,6,9,12)&amp;gt;0 and Type='P',&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({&amp;lt;FC.DATE_FISCAL_YEAR_LONG=&lt;STRONG&gt;{'$(vCurrentYear)'},&lt;/STRONG&gt;FC.DATE_FISCAL_MONTH_NUM_LONG={"&amp;gt;=$(vPrevMonth)&amp;lt;=$(vCurrentMonth)"}&amp;gt;}([Direct Hours]/200)),&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({&amp;lt;FC.DATE_FISCAL_YEAR_LONG&lt;STRONG&gt;={'$(vCurrentYear)'},&lt;/STRONG&gt;FC.DATE_FISCAL_MONTH_NUM_LONG={"&amp;gt;=$(vPrevMonth)&amp;lt;=$(vCurrentMonth)"}&amp;gt;}([Direct Hours]/160))&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 16:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582293#M477982</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-31T16:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582294#M477983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its giving me the same numbers, The set analysis i made for Year and Quarter are working but for Curr month &lt;BR /&gt;Vs&amp;nbsp; Prev month, this is coming wrong &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 16:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582294#M477983</guid>
      <dc:creator />
      <dc:date>2014-03-31T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582295#M477984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your variable definition for the above mentioned variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 16:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582295#M477984</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-31T16:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582296#M477985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Current Month:&lt;/P&gt;&lt;P&gt;=Max(IF(FC.DATE_FISCAL_YEAR_LONG=$(vCurrentYear),FC.DATE_FISCAL_MONTH_NUM_LONG))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PrevMonth:&lt;/P&gt;&lt;P&gt;=if($(vCurrentMonth)=1,12,$(vCurrentMonth) -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Month is multiple of 3(like 3,6,9,12)&amp;nbsp; then I need to divide the direct hours by 200 else by 160&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 17:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582296#M477985</guid>
      <dc:creator />
      <dc:date>2014-03-31T17:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582297#M477986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, what is the value of FC.DATE_FISCAL_MONTH_NUM_LONG at time and point of calculation?&amp;nbsp; Is it defined?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 17:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582297#M477986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-31T17:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582298#M477987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it defined contains number(1,2,3..12)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 17:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582298#M477987</guid>
      <dc:creator />
      <dc:date>2014-03-31T17:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582299#M477988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I have to clarify my question...&lt;/P&gt;&lt;P&gt;If you use your expression in a chart where this field is an dimension, the match() function should work.&amp;nbsp; To make sure, just add it as an additional dimension.&amp;nbsp; If you use it in any other way, and multiple values are selected (or available) in this field, match returns null.&amp;nbsp; So "if" condition returns false.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 17:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582299#M477988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-31T17:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582300#M477989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So how you want me to modify this one. Please help me.if you want I can share the sample file with you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 17:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582300#M477989</guid>
      <dc:creator />
      <dc:date>2014-03-31T17:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582301#M477990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just upload the file, and I (or anybody else) will take a look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 17:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582301#M477990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-31T17:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/582302#M477991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Micheal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not cleared the cache and was trying different calculations, Once I cleared the cache and re applied the calculation it has worked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;have a good day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 18:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/582302#M477991</guid>
      <dc:creator />
      <dc:date>2014-03-31T18:56:46Z</dc:date>
    </item>
  </channel>
</rss>

