<?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: Custom Color Code for Stacked Bar Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Custom-Color-Code-for-Stacked-Bar-Chart/m-p/1316157#M28260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phalgun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find any solution for this? we are also have similar requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tauceef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 13:07:21 GMT</pubDate>
    <dc:creator>tauceef9</dc:creator>
    <dc:date>2017-10-05T13:07:21Z</dc:date>
    <item>
      <title>Custom Color Code for Stacked Bar Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Color-Code-for-Stacked-Bar-Chart/m-p/1316156#M28259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a stacked bar chart with one dimension and two measures which are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: ValueList('Type')&lt;/P&gt;&lt;P&gt;Measure1:&lt;/P&gt;&lt;P&gt;Pick(Match(ValueList('C'), 'C'),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Vendor], [Type] = {'C'},&lt;/P&gt;&lt;P&gt;[Code] = {"=Count(DISTINCT {&amp;lt;[Vendor] = {""=Sum({&amp;lt;[Vendor]&amp;gt;}Aggr(Rangesum(Above(Sum({&amp;lt;[Vendor]&amp;gt;} [Sales])/Sum({&amp;lt;[Vendor]&amp;gt;} TOTAL [Sales]), 0, RowNo())), ([Vendor],(=Sum({&amp;lt;[Vendor]&amp;gt;} [Tsa.NetValueinUSD]),Desc)))) &amp;gt;= 0.8""}, [Type] = {'NC'}, [Type1] = {'M'}&amp;gt;}[Code]) &amp;gt;= 1"},[Type1]&amp;gt;} [Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure 2:&lt;/P&gt;&lt;P&gt;Pick(Match(ValueList('Top 80 N'), 'Top 80 N'),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Vendor],&lt;/P&gt;&lt;P&gt;[Code] = {"=Count(DISTINCT {&amp;lt;[Vendor] = {""=Sum({&amp;lt;[Vendor]&amp;gt;}Aggr(Rangesum(Above(Sum({&amp;lt;[Vendor]&amp;gt;} [Sales])/Sum({&amp;lt;[Vendor]&amp;gt;} TOTAL [Sales]), 0, RowNo())), ([Vendor],(=Sum({&amp;lt;[Vendor]&amp;gt;} [Sales]),Desc)))) &amp;gt; 0.8""}, [Type] = {'NC'}, [Type1] = {'M'}&amp;gt;}[Code]) &amp;gt;= 1"},&lt;/P&gt;&lt;P&gt;[Vendor] = {"=Sum({&amp;lt;[Vendor]&amp;gt;}Aggr(Rangesum(Above(Sum({&amp;lt;[Vendor]&amp;gt;} [Sales])/Sum({&amp;lt;[Vendor]&amp;gt;} TOTAL [Sales]), 0, RowNo())), ([Vendor],(=Sum({&amp;lt;[Vendor]&amp;gt;} [Sales]),Desc)))) &amp;lt;= 0.8"},&lt;/P&gt;&lt;P&gt;[Type] = {'NC'},[Type1]&amp;gt;} [Sales]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I'd like to create an expression for the color code. The first measure part of the bar chart should be colored rgb(255,236,21) and the Top 80 N part should be colored rgb(255,213,0). Please help me build this expression. TIA!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Color-Code-for-Stacked-Bar-Chart/m-p/1316156#M28259</guid>
      <dc:creator>mrthomasshelby</dc:creator>
      <dc:date>2024-11-16T09:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Color Code for Stacked Bar Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Color-Code-for-Stacked-Bar-Chart/m-p/1316157#M28260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phalgun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find any solution for this? we are also have similar requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tauceef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Color-Code-for-Stacked-Bar-Chart/m-p/1316157#M28260</guid>
      <dc:creator>tauceef9</dc:creator>
      <dc:date>2017-10-05T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Color Code for Stacked Bar Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Color-Code-for-Stacked-Bar-Chart/m-p/1316158#M28261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tauceef. Sadly I couldn't find any solution to this and had to scrap the chart. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 06:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Color-Code-for-Stacked-Bar-Chart/m-p/1316158#M28261</guid>
      <dc:creator>mrthomasshelby</dc:creator>
      <dc:date>2017-10-06T06:50:01Z</dc:date>
    </item>
  </channel>
</rss>

