<?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 Comparing points between 2 metrics in script ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098107#M891911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So..I have 2 metrics as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target : 3.8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual : ((sum(Cost * 100)/sum(Revenue)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and below is my metrics...I am messing up with&amp;nbsp; parentheses here..can anyone help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((sum(Cost * 100)/sum(Revenue)) &amp;lt; = '3.8',5,&lt;/P&gt;&lt;P&gt;if(((sum(Cost * 100)/sum(Revenue)) &amp;gt; 0 and (sum(Cost * 100)/sum(Revenue))) &amp;lt;= '4',3, &lt;/P&gt;&lt;P&gt;if((sum(Cost * 100)/sum(Revenue)) &amp;gt; '4.1' ,1 ))) as [Real Estate&amp;nbsp; Rate]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Comparing points between 2 metrics in script ...</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098107#M891911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So..I have 2 metrics as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target : 3.8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual : ((sum(Cost * 100)/sum(Revenue)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and below is my metrics...I am messing up with&amp;nbsp; parentheses here..can anyone help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((sum(Cost * 100)/sum(Revenue)) &amp;lt; = '3.8',5,&lt;/P&gt;&lt;P&gt;if(((sum(Cost * 100)/sum(Revenue)) &amp;gt; 0 and (sum(Cost * 100)/sum(Revenue))) &amp;lt;= '4',3, &lt;/P&gt;&lt;P&gt;if((sum(Cost * 100)/sum(Revenue)) &amp;gt; '4.1' ,1 ))) as [Real Estate&amp;nbsp; Rate]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much&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/Comparing-points-between-2-metrics-in-script/m-p/1098107#M891911</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing points between 2 metrics in script ...</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098108#M891912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want Cost * 100 of sum OR Sum(Cost)*100 ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098108#M891912</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-26T16:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing points between 2 metrics in script ...</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098109#M891913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be this: &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= if((sum(Cost)/sum(Revenue)) * 100 &amp;lt;= 3.8, 5,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if((sum(Cost)/sum(Revenue)) * 100&amp;nbsp;&amp;nbsp; &amp;gt;&amp;nbsp; 0 and (sum(Cost)/sum(Revenue))*100 &amp;lt;= 4, 3,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if((sum(Cost)/sum(Revenue)) * 100&amp;nbsp;&amp;nbsp; &amp;gt;&amp;nbsp; 4.1 ,1 ))) as [Real Estate&amp;nbsp; Rate]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098109#M891913</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-26T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing points between 2 metrics in script ...</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098110#M891914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems like something which is done in the script... because of the as [Real Estate Rate]. Are you using Group by?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-points-between-2-metrics-in-script/m-p/1098110#M891914</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-26T16:56:18Z</dc:date>
    </item>
  </channel>
</rss>

