<?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: Using Qlikview with imported data to change bar graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Qlikview-with-imported-data-to-change-bar-graph/m-p/1131250#M463634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This helped a lot, thank you. I am still having some problems with this, however. If I have a bar that goes up to 22 and I would like the first 2 sections to be red, sections 2-15 to be green, and 15-22 to be black, what would be the best way to accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 15:44:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-16T15:44:25Z</dc:date>
    <item>
      <title>Using Qlikview with imported data to change bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Qlikview-with-imported-data-to-change-bar-graph/m-p/1131248#M463632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use Qlikview to display data imported from SQL as a bar graph. I want to make it so that if the bar graph value is below 2, the bar will turn red in color. Also, if the bar value is above 15, it will be black in color. Anything in between I would like to be green.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In C# code, something along the lines of this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (QuantityOnHand &amp;lt; 2)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Turn color red&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Else If (QuantityOnHand &amp;gt; 15)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Turn color black&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Turn color green&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please direct me on the best way to accomplish this in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 13:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Qlikview-with-imported-data-to-change-bar-graph/m-p/1131248#M463632</guid>
      <dc:creator />
      <dc:date>2016-06-16T13:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlikview with imported data to change bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Qlikview-with-imported-data-to-change-bar-graph/m-p/1131249#M463633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The image below shows where to put the code.&lt;/P&gt;&lt;P&gt;The code is:&lt;/P&gt;&lt;P&gt;if(sum(QuantityOnHand) &amp;lt; 2,red(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(sum(QuantityOnHand) &amp;gt; 15,black(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; green()&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;For more precise colors, replace the color functions with rgb(###,###,###)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="128162" alt="example.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128162_example.png" style="height: 212px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 14:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Qlikview-with-imported-data-to-change-bar-graph/m-p/1131249#M463633</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2016-06-16T14:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qlikview with imported data to change bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Qlikview-with-imported-data-to-change-bar-graph/m-p/1131250#M463634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This helped a lot, thank you. I am still having some problems with this, however. If I have a bar that goes up to 22 and I would like the first 2 sections to be red, sections 2-15 to be green, and 15-22 to be black, what would be the best way to accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Qlikview-with-imported-data-to-change-bar-graph/m-p/1131250#M463634</guid>
      <dc:creator />
      <dc:date>2016-06-16T15:44:25Z</dc:date>
    </item>
  </channel>
</rss>

