<?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: Setting 100% index in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214391#M389124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johan, if your issue is resolved, then please close this thread by marking Ruben's answer as correct.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative to the dollar sign expansion, you can also add all the group's field names to the TOTAL qualifier field list. Might be easier to read &amp;amp; write if your group is quite small.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2017 15:25:25 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-01-09T15:25:25Z</dc:date>
    <item>
      <title>Setting 100% index</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214388#M389121</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've been asked to create the following pivot table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pandl.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148766_pandl.jpg" style="width: 620px; height: 141px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is with 100% of the net sales line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use 'show relative', it shows relative against the grand total (Margin).&lt;/P&gt;&lt;P&gt;If I use set analyse, like {&amp;lt;account =&amp;nbsp; {net sales}&amp;gt;}, the % is only shown on the net sales line&lt;/P&gt;&lt;P&gt;If I use a variable to store 'sum({&amp;lt;account = {net sales}&amp;gt;} amount), it calculates against the total of all periods, not per month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension months is a cyclic group, can also be year or week&lt;/P&gt;&lt;P&gt;It's a pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone has an idea, what formula to use for the expression of column 2 and 4: the %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 10:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214388#M389121</guid>
      <dc:creator />
      <dc:date>2017-01-09T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting 100% index</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214389#M389122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan, I think you need to add TOTAL to your expression, like:&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;Month&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;account = {net sales}&amp;gt;} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having a group in the dimension needs to add a $-expansion to get the current field selected in group:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(TOTAL &amp;lt;[$(=GetCurrentField(&lt;EM&gt;GroupName&lt;/EM&gt;))]&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;account = {net sales}&amp;gt;} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope this helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 11:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214389#M389122</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-01-09T11:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting 100% index</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214390#M389123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben,&lt;/P&gt;&lt;P&gt;Exactly what I needed. Especially the cyclic group gave me a headache.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 11:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214390#M389123</guid>
      <dc:creator />
      <dc:date>2017-01-09T11:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setting 100% index</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214391#M389124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johan, if your issue is resolved, then please close this thread by marking Ruben's answer as correct.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative to the dollar sign expansion, you can also add all the group's field names to the TOTAL qualifier field list. Might be easier to read &amp;amp; write if your group is quite small.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 15:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-100-index/m-p/1214391#M389124</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-09T15:25:25Z</dc:date>
    </item>
  </channel>
</rss>

