<?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: How to get the correct total_percentage ?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69812#M777846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/222555"&gt;delroekid&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi RODELL BASALO ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked partially ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total Percentage is showing 7 as the Total Income is doing the total sum of Total Income ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to Sum of Total Income = 621914 is between 600001 - 900000 thus showing 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement is , the percentage should vary of every row of Total Income.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say For eg ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Total Income 6999 the total percentage is 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Total Income 598739 the total percentage is 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Total Income 16175 the total percentage is 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If for eg , there is any Total Income - 869000 then the total percentage should be 7&lt;/P&gt;&lt;P&gt;and Total Income - 950000 then the total percentage should be 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample model attached. Please assist. Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="200333" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200333_Capture.PNG" style="height: 426px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2018 09:28:11 GMT</pubDate>
    <dc:creator>suvechha_b</dc:creator>
    <dc:date>2018-04-20T09:28:11Z</dc:date>
    <item>
      <title>How to get the correct total_percentage ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69806#M777840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Please kindly assist me to create the script with the intervalmatch().&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I am providing the sample model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;The requirement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;According , to the Total Income of Dealership , the total_percentage should pick.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Say , For eg ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;The dealership : Kempster Ford Pta New&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Total Income : 432711&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thus , It should lie between finance_amount_start (0) and finance_amount_end (600000)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;and the total_percentage should be 4.75.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;How , can I store the total_percentage in variable . As , I need to use the total_percentage for Commision Calculation&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;depending on the Total Income lies in which level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;0-600000&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;600000-900000&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;900000-5000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A href="https://community.qlik.com/legacyfs/online/200299_Capture.PNG" target="_blank"&gt;&lt;IMG __jive_id="200299" alt="Capture.PNG" class="jive-image image-1" height="385" src="https://community.qlik.com/legacyfs/online/200299_Capture.PNG" style="border-width: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="1600" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" class="j-attachment-icon" href="https://community.qlik.com/servlet/JiveServlet/download/2003-298912-1474666-322990/SampleTest.qvw" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;SampleTest.qvw&lt;/A&gt;&lt;/LI&gt;&lt;/UL&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/How-to-get-the-correct-total-percentage/m-p/69806#M777840</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the correct total_percentage ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69807#M777841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;varPercentage = if ( $(#vCmhTotalIncome) &amp;gt;=0 and $(#vCmhTotalIncome)&lt;/P&gt;&lt;P&gt; &amp;lt;= 600000,4.75)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 06:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69807#M777841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-20T06:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the correct total_percentage ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69808#M777842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already tried to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( $(#vCmhTotalIncome) &amp;gt;=0 and $(#vCmhTotalIncome)&amp;lt;= 600000,CMH_TARGETS.total_percentage)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the total_percentage is dynamic , The cant state as 4.75.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But , with my expression , the variable is picking all the three values , 4.75,6.5,8.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 06:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69808#M777842</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2018-04-20T06:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the correct total_percentage ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69809#M777843</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 below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if ( $(#vCmhTotalIncome) &amp;gt;=0 and $(#vCmhTotalIncome)&lt;/P&gt;&lt;P&gt;&amp;lt;= 600000,CMH_TARGETS.total_percentage,if ( $(#vCmhTotalIncome) &amp;gt;=600001 and $(#vCmhTotalIncome)&lt;/P&gt;&lt;P&gt;&amp;lt;= 900000,CMH_TARGETS.total_percentage,if ( $(#vCmhTotalIncome) &amp;gt;=900001 and $(#vCmhTotalIncome)&lt;/P&gt;&lt;P&gt;&amp;lt;= 5000000,CMH_TARGETS.total_percentage)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69809#M777843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-20T07:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the correct total_percentage ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69810#M777844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry , It didn't worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200308_Capture.PNG" style="height: 225px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69810#M777844</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2018-04-20T07:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the correct total_percentage ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69811#M777845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;varPercentage =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; $&amp;lt;CMH_TARGETS.finance_amount_start = {"&amp;lt;= $(=$(vCmhTotalIncome))"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; CMH_TARGETS.finance_amount_end = {"&amp;gt;= $(=$(vCmhTotalIncome))"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CMH_TARGETS.total_percentage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 08:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69811#M777845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-20T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the correct total_percentage ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69812#M777846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/222555"&gt;delroekid&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi RODELL BASALO ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked partially ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total Percentage is showing 7 as the Total Income is doing the total sum of Total Income ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to Sum of Total Income = 621914 is between 600001 - 900000 thus showing 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement is , the percentage should vary of every row of Total Income.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say For eg ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Total Income 6999 the total percentage is 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Total Income 598739 the total percentage is 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Total Income 16175 the total percentage is 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If for eg , there is any Total Income - 869000 then the total percentage should be 7&lt;/P&gt;&lt;P&gt;and Total Income - 950000 then the total percentage should be 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample model attached. Please assist. Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="200333" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200333_Capture.PNG" style="height: 426px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 09:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-correct-total-percentage/m-p/69812#M777846</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2018-04-20T09:28:11Z</dc:date>
    </item>
  </channel>
</rss>

