<?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: Percent Calculation in Straight tbl in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percent-Calculation-in-Straight-tbl/m-p/585491#M1097325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider below script...&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;&amp;nbsp; Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; A, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; B, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; C, 300&lt;/P&gt;&lt;P&gt;&amp;nbsp; D, 500&lt;/P&gt;&lt;P&gt;&amp;nbsp; E, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table&lt;/P&gt;&lt;P&gt;Dimension = Customer&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;1) SUM(Sales)&lt;/P&gt;&lt;P&gt;2) SUM(Sales)/SUM(Total Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number Tab Fixed to 2 Decimals and Show in %&lt;/P&gt;&lt;P&gt;3) SUM(Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Relative Ticked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 2nd and 3rd will give you same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2014 14:40:03 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-05-01T14:40:03Z</dc:date>
    <item>
      <title>Percent Calculation in Straight tbl</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-Calculation-in-Straight-tbl/m-p/585490#M1097324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am here addressing the Expression and Number tabs in Straight table to show value in percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know the difference between Relative checkbox in Expression tab and in Number tab the 'fixed to' with enabling 'show in percent'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below expression in straight table to calculate the Year to Date Variance-&lt;/P&gt;&lt;P&gt;(Column(1) - Column(2)) / Column(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select relative checkbox in expression tab, i get 100% as value in my straight table column.&lt;/P&gt;&lt;P&gt;when i select 'fixed to' 2 Decimals and enable show in percent, i get the right percentage value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the usage of Relative checkbox and 'fixed to with show in percentage'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 14:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-Calculation-in-Straight-tbl/m-p/585490#M1097324</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-01T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Percent Calculation in Straight tbl</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-Calculation-in-Straight-tbl/m-p/585491#M1097325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider below script...&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;&amp;nbsp; Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; A, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; B, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; C, 300&lt;/P&gt;&lt;P&gt;&amp;nbsp; D, 500&lt;/P&gt;&lt;P&gt;&amp;nbsp; E, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table&lt;/P&gt;&lt;P&gt;Dimension = Customer&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;1) SUM(Sales)&lt;/P&gt;&lt;P&gt;2) SUM(Sales)/SUM(Total Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number Tab Fixed to 2 Decimals and Show in %&lt;/P&gt;&lt;P&gt;3) SUM(Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Relative Ticked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 2nd and 3rd will give you same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 14:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-Calculation-in-Straight-tbl/m-p/585491#M1097325</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-01T14:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Percent Calculation in Straight tbl</title>
      <link>https://community.qlik.com/t5/QlikView/Percent-Calculation-in-Straight-tbl/m-p/585492#M1097326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(sales)&lt;/P&gt;&lt;P&gt;second expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; relative checked&lt;/P&gt;&lt;P&gt;third expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; relative checked&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; formatted in number tab show in %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/58266_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use number tab for formatting&lt;/P&gt;&lt;P&gt;use relative if you want Qlikview calculates the %&lt;/P&gt;&lt;P&gt;in your case you calculates the %, so don't check relative, just format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 14:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percent-Calculation-in-Straight-tbl/m-p/585492#M1097326</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-01T14:51:38Z</dc:date>
    </item>
  </channel>
</rss>

