<?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: How to change histogram bar color dynamically with expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1517006#M36835</link>
    <description>&lt;P&gt;I tried your solution and it worked well, but the only thing I noticed was it doesn't account for months with null values.&amp;nbsp; I understand that it looks at the rows above and below and if there is no input for that month then it doesn't show up in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to account for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 427px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1664i7D514C0C7B1624A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2018 19:31:03 GMT</pubDate>
    <dc:creator>resajdak</dc:creator>
    <dc:date>2018-12-05T19:31:03Z</dc:date>
    <item>
      <title>How to change histogram bar color dynamically with expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1516409#M36776</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been trying to write an expression that changes the histogram bar to the color red whenever there is 3 months of consistent growth.&amp;nbsp; I'm new at Qlik Sense so please have patience with me.&lt;/P&gt;&lt;P&gt;Is it possible that this can happen dynamically when the histogram changes when the data filters are changed?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below in the capture of what I'm trying to achieve.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rich&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1592iDCAB2F5C15A82600/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1516409#M36776</guid>
      <dc:creator>resajdak</dc:creator>
      <dc:date>2024-11-16T07:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to change histogram bar color dynamically with expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1516417#M36777</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Rich, maybe using a straighforward query using Above and Below based on expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In attachement check color expression to see an example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Well it doesn't allow me to upload qvf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Script was:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD * Inline [&lt;BR /&gt;dim, value&lt;BR /&gt;1,5&lt;BR /&gt;2,7&lt;BR /&gt;3,1&lt;BR /&gt;4,3&lt;BR /&gt;5,5&lt;BR /&gt;6,7&lt;BR /&gt;7,5&lt;BR /&gt;8,1&lt;BR /&gt;9,5&lt;BR /&gt;10,7&lt;BR /&gt;11,3&lt;BR /&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum(value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression Label: Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And color expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(([Value]&amp;gt;Above([Value]) and [Value]&amp;gt;Above([Value], 2))&lt;BR /&gt;or ([Value]&amp;gt;Above([Value]) and [Value]&amp;lt;Below([Value]))&lt;BR /&gt;or ([Value]&amp;lt;Below([Value]) and [Value]&amp;lt;Below([Value], 2))&lt;BR /&gt;, LightRed(), blue())&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 17:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1516417#M36777</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-12-04T17:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to change histogram bar color dynamically with expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1517006#M36835</link>
      <description>&lt;P&gt;I tried your solution and it worked well, but the only thing I noticed was it doesn't account for months with null values.&amp;nbsp; I understand that it looks at the rows above and below and if there is no input for that month then it doesn't show up in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to account for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 427px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1664i7D514C0C7B1624A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 19:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1517006#M36835</guid>
      <dc:creator>resajdak</dc:creator>
      <dc:date>2018-12-05T19:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change histogram bar color dynamically with expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1517021#M36839</link>
      <description>&lt;P&gt;Hello, creating a master calendar can help on having all months in x axis, this way null value can turn into 0 if expression is a sum().&lt;/P&gt;&lt;P&gt;Also the expression neded some adjustments:&lt;BR /&gt;If(([Value]&amp;gt;Above(&lt;SPAN&gt;[Value]&lt;/SPAN&gt;) and [Value]&amp;gt;Above(&lt;SPAN&gt;[Value]&lt;/SPAN&gt;, 2) &lt;STRONG&gt;and Above(&lt;SPAN&gt;[Value]&lt;/SPAN&gt;)&amp;gt;Above(&lt;SPAN&gt;[Value]&lt;/SPAN&gt;, 2)&lt;/STRONG&gt;)&lt;BR /&gt;or ([Value]&amp;gt;Above([Value]) and [Value]&amp;lt;Below([Value]))&lt;BR /&gt;or ([Value]&amp;lt;Below([Value]) and [Value]&amp;lt;Below([Value], 2) &lt;STRONG&gt;and Below([Value])&amp;lt;Below([Value], 2)&lt;/STRONG&gt;)&lt;BR /&gt;, LightRed(), blue())&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 20:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-change-histogram-bar-color-dynamically-with-expression/m-p/1517021#M36839</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-12-05T20:15:36Z</dc:date>
    </item>
  </channel>
</rss>

