<?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/1284071#M869896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i apply your expression i am getting the below result. Please see the attachment.&lt;/P&gt;&lt;P&gt;in the below screen shot for jan 2015 the actual is greater than the company plan so the goal showuld be 100% as the actuals value is more than company plan and for sep 2015 the actuals value is less than company plan so for sep 2015 we should display how much % is needed to reach company plan value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="goal.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145688_goal.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 20:47:07 GMT</pubDate>
    <dc:creator>dandaanilreddy</dc:creator>
    <dc:date>2016-12-05T20:47:07Z</dc:date>
    <item>
      <title>if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284066#M869886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik developers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 expressions i need to show the percentage if expression sum(actual) is greater than sum(company plan) the goal should be 100% if not it should display the percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me please &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284066#M869886</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284067#M869887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(RangeMin(Sum(actual)/Sum(company plan), 1), '##.0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284067#M869887</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-05T20:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284068#M869891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny &lt;/P&gt;&lt;P&gt;Thanks for the reply. I need to show if the actual value is greater then company plan the goal should be 100% if not 100% i need to display the percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-webkit-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 509px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;actual&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;company plan&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;goal(should compare actual with company plan)&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1200&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;900&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1000&lt;/TD&gt;&lt;TD class="xl67" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1200&lt;/TD&gt;&lt;TD style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;500&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;400&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;100%&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284068#M869891</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-12-05T20:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284069#M869894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what the above expression should do &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284069#M869894</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-05T20:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284070#M869895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be too simple to meet your needs: &lt;SPAN style="font-size: 13.3333px;"&gt;If(sum(actual)/sum(plan)&amp;gt;=1,1,sum(actual)/sum(plan))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Format the column as Percentage (Properties &amp;gt; Number &amp;gt; Show in Percent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284070#M869895</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-12-05T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284071#M869896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i apply your expression i am getting the below result. Please see the attachment.&lt;/P&gt;&lt;P&gt;in the below screen shot for jan 2015 the actual is greater than the company plan so the goal showuld be 100% as the actuals value is more than company plan and for sep 2015 the actuals value is less than company plan so for sep 2015 we should display how much % is needed to reach company plan value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="goal.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145688_goal.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284071#M869896</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-12-05T20:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284072#M869898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see your expression, but let me explain what I am trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(RangeMin(Sum(actual)/Sum(company plan), 1), '##.0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;In the above expression, there are two values&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;1) &lt;STRONG style="font-family: inherit; font-size: 13.3333px; font-style: inherit;"&gt;Sum(actual)/Sum(company plan) &lt;/STRONG&gt;-&amp;gt;x&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;2) &lt;STRONG&gt;1&lt;/STRONG&gt; -&amp;gt; y&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;when x&amp;gt; y -&amp;gt; RangeMin(x, y) -&amp;gt; y (when sum(actual)/sum(company plan) &amp;gt; 1 than 1&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;when x&amp;lt; y -&amp;gt; RangeMin(x, y) -&amp;gt; x (when sum(actual)/sum(company plan) &amp;lt; 1 then sum(actual)/sum(company plan)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Since I cannot see your expressions, I don't know what you are doing, but if you follow my directions above, there is no way you can get a wrong output.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284072#M869898</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-05T20:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284073#M869901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actuals: =sum(UnitActuals.ReceivedCasesFromProc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company plan: =Sum(UnitActuals.BudgetedCases)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goal Expression: Num(RangeMin(Sum(UnitActuals.ReceivedCasesFromProc)/Sum(UnitActuals.BudgetedCases), 1), '##.0%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284073#M869901</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-12-05T20:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284074#M869904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something is not right my friend. There is no way Goal can have the above expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(UnitActuals.ReceivedCasesFromProc)/Sum(UnitActuals.BudgetedCases)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will never = to any of those percentages you are getting and neither are they equal to 1. I think you might be mistakenly looking at another expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 21:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284074#M869904</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-05T21:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284075#M869906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be add screenshots of your expression's tab or chart properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 21:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284075#M869906</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-05T21:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284076#M869909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason&lt;/P&gt;&lt;P&gt;Thanks for the reply. I have applied your expression but the result is same what i have achieved from sunny's expression. If actual is greater than company plan the goal should be 100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 21:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284076#M869909</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-12-05T21:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284077#M869911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny's expression probably encompasses more scenarios than mine, but both of them should work in the example you provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using one row/record, give us an example of the value in these fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;UnitActuals.ReceivedCasesFromProc: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(what is your value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;UnitActuals.BudgetedCases: &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;(what is your value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 21:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284077#M869911</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-12-05T21:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284078#M869912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the above screen shot for Jan 2015 the company plan target is 19365 but we have achieved actuals more than company plan then the goal result should be 100% instead of 4.62%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 21:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284078#M869912</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-12-05T21:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284079#M869913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have deleted the expression and recreated it. It's working now thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 21:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1284079#M869913</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-12-05T21:45:48Z</dc:date>
    </item>
  </channel>
</rss>

