<?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: Qlikview: Color coding a single bar chart with multiple expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135269#M752232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure - i understand the request for below one&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;I want to color code only the "Average Sales Amount" bar by the &lt;STRONG&gt;Gender&lt;/STRONG&gt; Dimension.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2018 06:33:55 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-10-25T06:33:55Z</dc:date>
    <item>
      <title>Qlikview: Color coding a single bar chart with multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135268#M752231</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 have a barchart that has two expressions "Number of Sales" and "Average Sales Amount"&lt;/P&gt;&lt;P&gt;I want to color code only the "Average Sales Amount" bar by the Gender Dimension. The chart should look similar to below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Gender_Color_Coding.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216693_Gender_Color_Coding.PNG" style="height: 361px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I am attaching my sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135268#M752231</guid>
      <dc:creator>sqlpuzzle</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview: Color coding a single bar chart with multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135269#M752232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure - i understand the request for below one&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;I want to color code only the "Average Sales Amount" bar by the &lt;STRONG&gt;Gender&lt;/STRONG&gt; Dimension.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 06:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135269#M752232</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-10-25T06:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview: Color coding a single bar chart with multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135270#M752233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a Gender Dimension, I want to add it to the Chart and make only the Average Sales Amount bar get colored by the gender dimension. Similar to below. Only the bar for "Average Sales Amount" should be affected the "Number of Sales" bar should not be affected.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AVG_Sales_By_gender.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216771_AVG_Sales_By_gender.PNG" style="height: 371px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 13:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135270#M752233</guid>
      <dc:creator>sqlpuzzle</dc:creator>
      <dc:date>2018-10-25T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview: Color coding a single bar chart with multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135271#M752234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It think this is the closest you can get to what you want, or you should stack all bars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split the Average Sales Amount expression into the two gender values e.g.&lt;/P&gt;&lt;P&gt;= AVG({&amp;lt;Gender={'M'}&amp;gt;}SalesAmount)&lt;/P&gt;&lt;P&gt;and use an offset for the second gender expression&lt;/P&gt;&lt;P&gt;&lt;IMG alt="BarOffset.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216788_BarOffset.png" style="height: 362px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Also see attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 14:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135271#M752234</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2018-10-25T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview: Color coding a single bar chart with multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135272#M752235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With some playing around, I actually got it looking like you suggested&lt;/P&gt;&lt;P&gt;&lt;IMG alt="BarStackedandNot.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216789_BarStackedandNot.png" style="height: 363px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Se also attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 14:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135272#M752235</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2018-10-25T14:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview: Color coding a single bar chart with multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135273#M752236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works even though I am struggling to understand the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 20:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135273#M752236</guid>
      <dc:creator>sqlpuzzle</dc:creator>
      <dc:date>2018-10-25T20:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview: Color coding a single bar chart with multiple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135274#M752237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of a Gender dimension that would split the Number of Sales expression as well and would display Gender=M or F in the mouse over, I used a synthetic dimension ValueList with two values. I've hided the legend for this dimension, so it does not display in the x axis. It does in the mouse over, but with a rather anonymous group=1 or 2 (you could alter the label to 'Bar', so it would display Bar =1 or 2). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the expressions only result in a value for one of the two values from the synthetic dimension, 0 and Null values are not displayed in the chart. The Number of sales expression has a value for Group 1 (or Bar 1 as you will) and the two &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Average Sales Amount expressions (split by gender) have a value for Group=2.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 11:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Color-coding-a-single-bar-chart-with-multiple/m-p/135274#M752237</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2018-10-26T11:04:58Z</dc:date>
    </item>
  </channel>
</rss>

