<?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: percentage calculation in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901594#M999748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Always remember that all the tables in the Datamodel should be linked otherwise if you use those dimensions the values won't split according to dimension.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 03:01:27 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-06-26T03:01:27Z</dc:date>
    <item>
      <title>percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901588#M999742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi All,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I have two tables SALTable and COMMTable and want to do SAL % with &lt;STRONG&gt;COMM/SAL &lt;/STRONG&gt;and&lt;STRONG&gt; GRADE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;SAL column have the nulls.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;How to achieve the same in report script as shown below reports.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I want to show all the GRADES as shown in the screen&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="90810" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90810_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Please help me. Thanks in advance.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;SAL%:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=(Sum({&amp;lt;Year=, Quarter=, Month=,DATE={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vMaxDate)'}&amp;gt;}&amp;nbsp; SAL)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;(Sum({&amp;lt;Year=, Quarter=, Month=,DATE={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vMaxDate)'}&amp;gt;}&amp;nbsp; COMM)))&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;GRADE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0 AND SAL%&amp;lt;0.1,'0%-10%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.1 AND SAL%&amp;lt;0.2,'10%-20%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.2 AND SAL%&amp;lt;0.3,'20%-30%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.3 AND SAL%&amp;lt;0.4,'30%-40%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.4 AND SAL%&amp;lt;0.5,'40%-50%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.5 AND SAL%&amp;lt;0.6,'50%-60%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.6 AND SAL%&amp;lt;0.7,'60%-70%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.7 AND SAL%&amp;lt;0.8,'70%-80%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.8 AND SAL%&amp;lt;0.9,'80%-90%',&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(SAL%&amp;gt;=0.9 AND SAL%&amp;lt;1.0,'90%-100%')&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;Required Report Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901588#M999742</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901589#M999743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901589#M999743</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-25T13:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901590#M999744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the expression into =COUNT(DISTINCT EMPNO) if you want the correct numbers (only 14 Employees)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901590#M999744</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-06-25T13:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901591#M999745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attched file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901591#M999745</guid>
      <dc:creator />
      <dc:date>2015-06-25T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901592#M999746</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;Your grade table is not linked with the datamodel, so you should link this table with your actual data model, then only it works.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 02:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901592#M999746</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-26T02:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901593#M999747</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;Check this file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 02:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901593#M999747</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-26T02:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901594#M999748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Always remember that all the tables in the Datamodel should be linked otherwise if you use those dimensions the values won't split according to dimension.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 03:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901594#M999748</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-26T03:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901595#M999749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/jagan"&gt;jagan&lt;/A&gt; ,&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/kSindhuKannan"&gt;kSindhuKannan&lt;/A&gt; and &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Kush141087"&gt;Kush141087&lt;/A&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN class="icon-status-icon icon-mvp" style="margin: 0 0 0 4px; font-weight: inherit; font-style: inherit; font-size: 11.6999998092651px; font-family: inherit;" title="Mvp"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your solutions.&lt;/P&gt;&lt;P&gt;I should be joined SALTable,COMMTable as per the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to calculate the ComPercentage for EMPNO,INCHARGE1,INCHARGE2 SALs.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;So that,I am using below script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;But unable to calculate ComPercentage.&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;ComPercentage&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14353036414435499" jivemacro_uid="_14353036414435499" modifiedtitle="true"&gt;
&lt;P&gt;GRADE:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;SNo,GRADE&lt;/P&gt;
&lt;P&gt;1,0%-10%&lt;/P&gt;
&lt;P&gt;2,10%-20%&lt;/P&gt;
&lt;P&gt;3,20%-30%&lt;/P&gt;
&lt;P&gt;4,30%-40%&lt;/P&gt;
&lt;P&gt;5,40%-50%&lt;/P&gt;
&lt;P&gt;6,50%-60%&lt;/P&gt;
&lt;P&gt;7,60%-70%&lt;/P&gt;
&lt;P&gt;8,70%-80%&lt;/P&gt;
&lt;P&gt;9,80%-90%&lt;/P&gt;
&lt;P&gt;10,90%-100%&lt;/P&gt;
&lt;P&gt;11,100%-110%&lt;/P&gt;
&lt;P&gt;12,110%-120%&lt;/P&gt;
&lt;P&gt;13,&amp;gt;120%];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SALTable:&lt;/P&gt;
&lt;P&gt;load *,date(DATE) as Date,&lt;/P&gt;
&lt;P&gt;month(date(DATE)) as Month,&lt;/P&gt;
&lt;P&gt;'Q' &amp;amp; ceil(month(date(DATE))/3) as Quarter,&lt;/P&gt;
&lt;P&gt;year(date(DATE)) as Year;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;EMPNO,ENAME,JOB,INCHARGE1,INCHARGE2,DATE,SAL,DEPTNO&lt;/P&gt;
&lt;P&gt;7369,SMITH,CLERK,7902,7566,17-Dec-2015,700,20&lt;/P&gt;
&lt;P&gt;7369,SMITH,CLERK,7902,7566,17-Dec-2015,900,20&lt;/P&gt;
&lt;P&gt;7499,ALLEN,SALMAN,7698,7839,20-Feb-2015,1600,30&lt;/P&gt;
&lt;P&gt;7499,ALLEN,SALMAN,7698,7839,20-Feb-2015,1900,30&lt;/P&gt;
&lt;P&gt;7521,WARD,SALMAN,7698,7839,22-Feb-2015,0,30&lt;/P&gt;
&lt;P&gt;7521,WARD,SALMAN,7698,7839,22-Feb-2015,1650,30&lt;/P&gt;
&lt;P&gt;7566,JONES,MANAGER,7839,7698,2-Apr-2015,2975,20&lt;/P&gt;
&lt;P&gt;7566,JONES,MANAGER,7839,7698,2-Apr-2015,3975,20&lt;/P&gt;
&lt;P&gt;7654,MARTIN,SALMAN,7698,7788,28-Sep-2015,1250,30&lt;/P&gt;
&lt;P&gt;7654,MARTIN,SALMAN,7698,7788,28-Sep-2015,2250,30&lt;/P&gt;
&lt;P&gt;7698,BLAKE,MANAGER,7839,7698,1-May-2015,2850,30&lt;/P&gt;
&lt;P&gt;7698,BLAKE,MANAGER,7839,7698,1-May-2015,3850,30&lt;/P&gt;
&lt;P&gt;7782,CLARK,MANAGER,7839,7566,9-Jun-2015,0,10&lt;/P&gt;
&lt;P&gt;7782,CLARK,MANAGER,7839,7566,9-Jun-2015,3450,10&lt;/P&gt;
&lt;P&gt;7788,SCOTT,ANALYST,7566,7782,9-Dec-2015,1250,20&lt;/P&gt;
&lt;P&gt;7788,SCOTT,ANALYST,7566,7782,9-Dec-2015,4000,20&lt;/P&gt;
&lt;P&gt;7839,KING,PRESIDENT,NULL,7698,17-Nov-2015,5000,10&lt;/P&gt;
&lt;P&gt;7839,KING,PRESIDENT,NULL,7698,17-Nov-2015,6000,10&lt;/P&gt;
&lt;P&gt;7844,TURNER,SALMAN,7698,7788,8-Sep-2015,1500,30&lt;/P&gt;
&lt;P&gt;7844,TURNER,SALMAN,7698,7788,8-Sep-2015,2500,30&lt;/P&gt;
&lt;P&gt;7876,ADAMS,CLERK,7788,7698,12-Jan-2015,1100,20&lt;/P&gt;
&lt;P&gt;7876,ADAMS,CLERK,7788,7698,12-Jan-2015,2100,20&lt;/P&gt;
&lt;P&gt;7900,JAMES,CLERK,7698,7566,3-Dec-2015,950,30&lt;/P&gt;
&lt;P&gt;7900,JAMES,CLERK,7698,7566,3-Dec-2015,650,30&lt;/P&gt;
&lt;P&gt;7902,FORD,ANALYST,7566,7782,3-Dec-2015,3000,20&lt;/P&gt;
&lt;P&gt;7902,FORD,ANALYST,7566,7782,3-Dec-2015,2000,20&lt;/P&gt;
&lt;P&gt;7934,MILLER,CLERK,7782,7782,23-Jan-2015,1300,10&lt;/P&gt;
&lt;P&gt;7934,MILLER,CLERK,7782,7782,23-Jan-2015,300,10&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Concatenate (SALTable)&lt;/P&gt;
&lt;P&gt;LOAD INCHARGE1 AS EMPNO,&lt;/P&gt;
&lt;P&gt;DATE,&lt;/P&gt;
&lt;P&gt;SAL AS INCHARGE1SAL,&lt;/P&gt;
&lt;P&gt;month(DATE) as Month,&lt;/P&gt;
&lt;P&gt;if(IsNum(DATE), 'Q'&amp;amp;ceil(month(date(DATE))/3)) as Quarter,&lt;/P&gt;
&lt;P&gt;Year(DATE) as Year&lt;/P&gt;
&lt;P&gt;Resident SALTable;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Concatenate (SALTable)&lt;/P&gt;
&lt;P&gt;LOAD INCHARGE2 AS EMPNO,&lt;/P&gt;
&lt;P&gt;DATE, &lt;/P&gt;
&lt;P&gt;SAL AS INCHARGE2SAL,&lt;/P&gt;
&lt;P&gt;month(DATE) as Month,&lt;/P&gt;
&lt;P&gt;if(IsNum(DATE), 'Q'&amp;amp;ceil(month(date(DATE))/3)) as Quarter,&lt;/P&gt;
&lt;P&gt;Year(DATE) as Year&lt;/P&gt;
&lt;P&gt;Resident SALTable;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Mapping_Table1:&lt;/P&gt;
&lt;P&gt;Mapping Load EMPNO,SAL Resident SALTable;&lt;/P&gt;
&lt;P&gt;Mapping_Table2:&lt;/P&gt;
&lt;P&gt;Mapping Load INCHARGE1,SAL Resident SALTable;&lt;/P&gt;
&lt;P&gt;Mapping_Table3:&lt;/P&gt;
&lt;P&gt;Mapping Load INCHARGE2,SAL Resident SALTable;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;COMMTable:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;*,&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0 AND ComPercentage&amp;lt;0.1,'0%-10%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.1 AND ComPercentage&amp;lt;0.2,'10%-20%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.2 AND ComPercentage&amp;lt;0.3,'20%-30%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.3 AND ComPercentage&amp;lt;0.4,'30%-40%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.4 AND ComPercentage&amp;lt;0.5,'40%-50%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.5 AND ComPercentage&amp;lt;0.6,'50%-60%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.6 AND ComPercentage&amp;lt;0.7,'60%-70%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.7 AND ComPercentage&amp;lt;0.8,'70%-80%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.8 AND ComPercentage&amp;lt;0.9,'80%-90%',&lt;/P&gt;
&lt;P&gt;if(ComPercentage&amp;gt;=0.9 AND ComPercentage&amp;lt;1.0,'90%-100%')))))))))) AS GRADE;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;load * ,&lt;/P&gt;
&lt;P&gt;ApplyMap('Mapping_Table1',EMPNO)/COMM as ComPercentage;&lt;/P&gt;
&lt;P&gt;//ApplyMap('Mapping_Table2',INCHARGE1)/COMM as &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;ComPercentage2&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;//ApplyMap('Mapping_Table3',INCHARGE2)/COMM as &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;ComPercentage3&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;EMPNO,COMM&lt;/P&gt;
&lt;P&gt;7369,150&lt;/P&gt;
&lt;P&gt;7499,300&lt;/P&gt;
&lt;P&gt;7521,&lt;/P&gt;
&lt;P&gt;7566,150&lt;/P&gt;
&lt;P&gt;7654,1400&lt;/P&gt;
&lt;P&gt;7698,150&lt;/P&gt;
&lt;P&gt;7782,&lt;/P&gt;
&lt;P&gt;7788,200&lt;/P&gt;
&lt;P&gt;7839,200&lt;/P&gt;
&lt;P&gt;7844,0&lt;/P&gt;
&lt;P&gt;7876,200&lt;/P&gt;
&lt;P&gt;7900,200&lt;/P&gt;
&lt;P&gt;7902,200&lt;/P&gt;
&lt;P&gt;7934,300&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 07:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901595#M999749</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-06-26T07:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901596#M999750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your apply map should be like this,&lt;/P&gt;&lt;P&gt;load * ,&lt;/P&gt;&lt;P&gt;ApplyMap('Mapping_Table1',EMPNO)/COMM as ComPercentage,&lt;/P&gt;&lt;P&gt;ApplyMap('Mapping_Table2',EMPNO)/COMM as %SAL2,&lt;/P&gt;&lt;P&gt;ApplyMap('Mapping_Table3',EMPNO)/COMM as %SAL3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 07:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901596#M999750</guid>
      <dc:creator />
      <dc:date>2015-06-26T07:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901597#M999751</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;Please find attached file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 08:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901597#M999751</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-26T08:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: percentage calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901598#M999752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/jagan"&gt;jagan&lt;/A&gt;&lt;/STRONG&gt; &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/kSindhuKannan"&gt;kSindhuKannan&lt;/A&gt;&lt;/STRONG&gt;,&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Kush141087"&gt;Kush141087&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 11:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-calculation-in-the-script/m-p/901598#M999752</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-06-27T11:30:40Z</dc:date>
    </item>
  </channel>
</rss>

