<?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 Stacked bar with class function and maybe aggr? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stacked-bar-with-class-function-and-maybe-aggr/m-p/1335677#M411993</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'm trying to create a stacked bar where the Dimension is using the class function and the bar shows data for all Names by default but then shows a stacked bar with the proportion of &lt;EM&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;/EM&gt; for the chosen Name (Bob) and the remainder for all other Names as the parts of the stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I have at present is: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={0}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Counter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;The calculated Dimension is:&lt;/SPAN&gt; &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Measure]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,10),'&amp;lt;= x &amp;lt;', '-') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I'm trying to achieve is this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="Example.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161573_Example.png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any help greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Craig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Apr 2017 06:07:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-28T06:07:58Z</dc:date>
    <item>
      <title>Stacked bar with class function and maybe aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-bar-with-class-function-and-maybe-aggr/m-p/1335677#M411993</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'm trying to create a stacked bar where the Dimension is using the class function and the bar shows data for all Names by default but then shows a stacked bar with the proportion of &lt;EM&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;/EM&gt; for the chosen Name (Bob) and the remainder for all other Names as the parts of the stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I have at present is: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={0}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Counter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;The calculated Dimension is:&lt;/SPAN&gt; &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Measure]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,10),'&amp;lt;= x &amp;lt;', '-') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I'm trying to achieve is this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="Example.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161573_Example.png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any help greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Craig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 06:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-bar-with-class-function-and-maybe-aggr/m-p/1335677#M411993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-28T06:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked bar with class function and maybe aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-bar-with-class-function-and-maybe-aggr/m-p/1335678#M411994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample where you have started working on this? Might be easier to test it out before we propose a solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-bar-with-class-function-and-maybe-aggr/m-p/1335678#M411994</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-28T13:58:33Z</dc:date>
    </item>
  </channel>
</rss>

