<?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: Bar Chart background color definition for each expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767763#M59386</link>
    <description>&lt;P&gt;Hi Pradosh,&lt;/P&gt;&lt;P&gt;Could you please share with me an example?, when you say "there" is where exactly?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2020 23:42:21 GMT</pubDate>
    <dc:creator>FleetingImage</dc:creator>
    <dc:date>2020-12-10T23:42:21Z</dc:date>
    <item>
      <title>Bar Chart background color definition for each expression</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767571#M59373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to replicate a bar chart from QlikView into QlikSense.&amp;nbsp; This is what I have in QlikView:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FleetingImage_0-1607590261064.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45502i77B90B9EDE3FB1B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FleetingImage_0-1607590261064.png" alt="FleetingImage_0-1607590261064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The chart uses 1 dimension: months of the year, and 2 expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SalesCYear (blue bars): sales from this year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SalesPyear (yellow bars): sales from the prior year&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For each of these I defined the color, setting the background color attribute:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FleetingImage_1-1607590589096.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45503i90FAC66A13D07975/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FleetingImage_1-1607590589096.png" alt="FleetingImage_1-1607590589096.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The formula is:&lt;/P&gt;&lt;P&gt;if(Only({&amp;lt;Month=&amp;gt;}MONTH_NUM)=$(vYtdMaxdMonth),RGB(0,128,192),ARGB(100,0,128,192))&lt;/P&gt;&lt;P&gt;And in this case, vYtdMaxMonth = 10&lt;/P&gt;&lt;P&gt;The idea is that for the current month of the year (in the example is October) the color of the bar is RGB() and for the rest of the months the color is lighter (ARGB()), so the current month looks highlighted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't been able to figure out how to do this in QlikSense, any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767571#M59373</guid>
      <dc:creator>FleetingImage</dc:creator>
      <dc:date>2024-11-16T00:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart background color definition for each expression</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767578#M59374</link>
      <description>&lt;P&gt;Use the exression as a master measure. Use the desired RGB expression there for color.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767578#M59374</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2020-12-10T09:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart background color definition for each expression</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767763#M59386</link>
      <description>&lt;P&gt;Hi Pradosh,&lt;/P&gt;&lt;P&gt;Could you please share with me an example?, when you say "there" is where exactly?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 23:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767763#M59386</guid>
      <dc:creator>FleetingImage</dc:creator>
      <dc:date>2020-12-10T23:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart background color definition for each expression</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767800#M59388</link>
      <description>&lt;P&gt;I was able to (kind of) solve the problem using the solution posted here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents/Qlik-Sense-How-to-set-custom-colors-by-measure-in-a-bar-chart/ta-p/1480871" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Documents/Qlik-Sense-How-to-set-custom-colors-by-measure-in-a-bar-chart/ta-p/1480871&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FleetingImage_0-1607668234416.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45549i51D844D97473CD74/image-size/large?v=v2&amp;amp;px=999" role="button" title="FleetingImage_0-1607668234416.png" alt="FleetingImage_0-1607668234416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The only thing I would like to change is that I only want to show the number of the month and not that second label.&amp;nbsp; Any idea on how to remove it?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 06:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-background-color-definition-for-each-expression/m-p/1767800#M59388</guid>
      <dc:creator>FleetingImage</dc:creator>
      <dc:date>2020-12-11T06:40:27Z</dc:date>
    </item>
  </channel>
</rss>

