<?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: Mini chart in straight table color in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Mini-chart-in-straight-table-color/m-p/1753655#M58091</link>
    <description>&lt;P&gt;Hi, sorry my bad. There was already a built in solution to this in the diagram, called Positive/Negative in the Type of display (bars, dots, sparkline, positive/negative) Choosing that type and the code above which types -1 and +1 made the diagram behave the way I wanted it.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 09:57:01 GMT</pubDate>
    <dc:creator>Jonathan_Alm</dc:creator>
    <dc:date>2020-10-19T09:57:01Z</dc:date>
    <item>
      <title>Mini chart in straight table color</title>
      <link>https://community.qlik.com/t5/App-Development/Mini-chart-in-straight-table-color/m-p/1751966#M57900</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a mini-chart in a straight table and I am having problems getting the colors to match the intended output.&lt;/P&gt;&lt;P&gt;The measure is as follows:&lt;/P&gt;&lt;P&gt;IF(count({&lt;BR /&gt;$&amp;lt;&lt;BR /&gt;[Category] = {'F','G'}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;[ID])&amp;gt;0,-1,&lt;BR /&gt;IF(count({&lt;BR /&gt;$&amp;lt;&lt;BR /&gt;[Category] = {'A','B','C','D','E'}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;[ID])&amp;gt;=0,1))&lt;/P&gt;&lt;P&gt;(So all categories F,G, gets -1 and all categories A-E gets 1)&lt;/P&gt;&lt;P&gt;This measure is the displayed as a mini chart with CODE as dimension.&lt;/P&gt;&lt;P&gt;The output is one green bar for every Code with category A,B,C,D,E and a red bar for every code with category with &amp;nbsp;F,G.&lt;/P&gt;&lt;P&gt;(see screenshot).&lt;/P&gt;&lt;P&gt;However, when there are only Codes with categories F,G the bar will also be green since I can only choose the following colors:&lt;/P&gt;&lt;P&gt;Max Value Color = Green&lt;/P&gt;&lt;P&gt;Min Value Color = Red&lt;/P&gt;&lt;P&gt;So when there are only "-1" Categerories all will be green until there is one category with a A,B,C,D,E.&lt;/P&gt;&lt;P&gt;Can I get around this somehow?&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Kind regards Jonathan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mini-chart-in-straight-table-color/m-p/1751966#M57900</guid>
      <dc:creator>Jonathan_Alm</dc:creator>
      <dc:date>2024-11-16T17:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mini chart in straight table color</title>
      <link>https://community.qlik.com/t5/App-Development/Mini-chart-in-straight-table-color/m-p/1753655#M58091</link>
      <description>&lt;P&gt;Hi, sorry my bad. There was already a built in solution to this in the diagram, called Positive/Negative in the Type of display (bars, dots, sparkline, positive/negative) Choosing that type and the code above which types -1 and +1 made the diagram behave the way I wanted it.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mini-chart-in-straight-table-color/m-p/1753655#M58091</guid>
      <dc:creator>Jonathan_Alm</dc:creator>
      <dc:date>2020-10-19T09:57:01Z</dc:date>
    </item>
  </channel>
</rss>

