<?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: Need % calculation based on field total wise in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344115#M494502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this code :&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sum({SET_ANALYSIS} VALUE) / &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Aggr(NODISTINCT S&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;um({SET_ANALYSIS} &lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;VALUE&lt;/STRONG&gt;), {YOUR_DIMENTION})&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I use this code when i want to get % calculation in expression on Pivot or Straight table.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 09:39:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-10T09:39:29Z</dc:date>
    <item>
      <title>Need % calculation based on field total wise</title>
      <link>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344113#M494500</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;I&amp;nbsp; taken 3 dimensions and 6 expressions in pivot table.My requirement is to show the %calculation based on the field total wise it is in 1st dimension.&lt;/P&gt;&lt;P&gt;I taken expression is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;YEAR = {$(=max(YEAR))}, MONTH = {"&amp;lt;=$(=max({&amp;lt;YEAR={$(=max(YEAR))}&amp;gt;} MONTH))&amp;gt;$(=max({&amp;lt;YEAR={$(=max(YEAR))}&amp;gt;} MONTH)-1)"},ClosingStock={'&amp;gt;0'}&amp;gt;}&amp;nbsp; IF(AHC_CallDate = MAXDATE_CHECK, ClosingStockInCase))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is showing correct value,but i want to show this value in %,based on the total of one field&lt;/P&gt;&lt;P&gt;ex:-&amp;nbsp; value=186.12, i want to divide this value with field total i.e.,35007.32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;requirement= (186.12/35007.32)*100&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp; = 0.53%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am having 4fiels in 1 dimension,i want to show this calculations for different values.&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;ba &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344113#M494500</guid>
      <dc:creator />
      <dc:date>2012-04-10T09:03:37Z</dc:date>
    </item>
    <item>
      <title>Need % calculation based on field total wise</title>
      <link>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344114#M494501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I first thought it should be enough to just use the TOTAL qualifier with field list to calculate the total, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=100*&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({YOURSETANALYSIS} Value) / sum({YOURSETANALYSIS} TOTAL&amp;lt;FIRSTDIMENSIONFIELD&amp;gt; Value)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I noticed that you are using an if() clause to restrict your Value:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF(AHC_CallDate = MAXDATE_CHECK, ClosingStockInCase)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your data model and dimensions used, this might complicate things a little, but to tell more, you would need to tell us a little more about your setting (or post a small sample app).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344114#M494501</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-10T09:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need % calculation based on field total wise</title>
      <link>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344115#M494502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this code :&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sum({SET_ANALYSIS} VALUE) / &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Aggr(NODISTINCT S&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;um({SET_ANALYSIS} &lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;VALUE&lt;/STRONG&gt;), {YOUR_DIMENTION})&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I use this code when i want to get % calculation in expression on Pivot or Straight table.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344115#M494502</guid>
      <dc:creator />
      <dc:date>2012-04-10T09:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need % calculation based on field total wise</title>
      <link>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344116#M494503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Danny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply,tell me what information you want.i will give you.i am trying past from 4 days but solution is not coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-calculation-based-on-field-total-wise/m-p/344116#M494503</guid>
      <dc:creator />
      <dc:date>2012-04-10T09:58:50Z</dc:date>
    </item>
  </channel>
</rss>

