<?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 in stack chart by cycle group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939950#M648441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be try with variable like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vFieldName = &lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: blue;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: maroon;"&gt;[GroupName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;]) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13px; background: white; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vFieldName)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Other way is use all the Dimensions in the group in side Total like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13px; background: white; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Dim1,Dim2,Dim3&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2015 16:15:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-21T16:15:08Z</dc:date>
    <item>
      <title>percentage in stack chart by cycle group</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939949#M648440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;I have a problem that was in a part solved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;I'm facing an issue with the Stack bar chart where I want to show the % for each stack that is relative to the entire bar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this which works quite well with DIM1&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;DIM1&amp;gt; Sales)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;But I have a cycle group and when I use this :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon;"&gt;[GroupName&lt;/SPAN&gt;])&lt;SPAN lang="EN-US" style="background: white;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&amp;nbsp; it doesn’t work.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: #3d3d3d; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;However the function &lt;/SPAN&gt;GetCurrentField([GroupName])&amp;nbsp;&amp;nbsp; is correct and return the current field used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Am’&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939949#M648440</guid>
      <dc:creator />
      <dc:date>2015-10-21T15:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: percentage in stack chart by cycle group</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939950#M648441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be try with variable like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vFieldName = &lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: blue;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: maroon;"&gt;[GroupName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;]) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13px; background: white; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vFieldName)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Other way is use all the Dimensions in the group in side Total like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13px; background: white; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Dim1,Dim2,Dim3&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 16:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939950#M648441</guid>
      <dc:creator />
      <dc:date>2015-10-21T16:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: percentage in stack chart by cycle group</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939951#M648442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some experiment &amp;amp; I believe TOTAL qualifier did not allow the expressions or may be bug. So just pass the variable or add the expression in $() or add list of fields in the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Approach 1:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;$(=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: blue;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: maroon;"&gt;[GroupName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;]))&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Approach 2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vFieldName = &lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; color: blue;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; color: maroon;"&gt;[GroupName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;]) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; background-position: initial;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #0000ff; background-position: initial;"&gt;$(vFieldName)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; background-position: initial;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Approach 3:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;Sum(Sales) / Sum(TOTAL &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff; background: white;"&gt;Dim1,Dim2,Dim3&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background: white;"&gt;&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 16:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939951#M648442</guid>
      <dc:creator />
      <dc:date>2015-10-21T16:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: percentage in stack chart by cycle group</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939952#M648443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 16:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-in-stack-chart-by-cycle-group/m-p/939952#M648443</guid>
      <dc:creator />
      <dc:date>2015-10-22T16:16:29Z</dc:date>
    </item>
  </channel>
</rss>

