<?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 Conditional colors question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306680#M113278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( &lt;STRONG&gt;only({1} V001)&lt;/STRONG&gt; ='Immediately,' Green(), If(&lt;STRONG&gt;only({1} V001)&lt;/STRONG&gt; ='After more than 3 tiries', Red(), If(....etcetera))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I would suggest creating a color field in your data model, so you don't need the if() clauses in each chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 16:29:27 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-01-25T16:29:27Z</dc:date>
    <item>
      <title>Conditional colors question</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306677#M113275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot of you will know the problem, when you reload, the colors of your chart might change.&lt;/P&gt;&lt;P&gt;A solution to this is writing a script for the colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O.a =If(V001='Immediately,' Green(), If(V001='After more than 3 tiries', Red(), If(....etcetera))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have made this Pie graph. The big pie shows the selection, the small pie shows the total at all times (using the {1} in the count)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10648" alt="Schermafbeelding 2012-01-25 om 16.36.45.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/10648_Schermafbeelding+2012-01-25+om+16.36.45.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The colorscript works fine for the big one. However, I do not manage to write the color script for the small one in that way the for the small graph the colors stay the same (although using the {1} function in the expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the problem? Whenever I make a selection the small graph only shows the colors of the selection.&lt;/P&gt;&lt;P&gt;The idea is that the small graph does not change at ALL. I guess I'll have to use the {1} in my color script as well.&lt;/P&gt;&lt;P&gt;However, I don't know how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10649" alt="Schermafbeelding 2012-01-25 om 16.37.20.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/10649_Schermafbeelding+2012-01-25+om+16.37.20.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tim Dries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306677#M113275</guid>
      <dc:creator />
      <dc:date>2012-01-25T16:02:41Z</dc:date>
    </item>
    <item>
      <title>Conditional colors question</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306678#M113276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 7pt;"&gt;See if this link helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 7pt;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/185566#185566"&gt;http://community.qlik.com/message/185566#185566&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306678#M113276</guid>
      <dc:creator />
      <dc:date>2012-01-25T16:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional colors question</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306679#M113277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 7pt;"&gt;See if this link helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 7pt;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/185566#185566"&gt;http://community.qlik.com/message/185566#185566&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306679#M113277</guid>
      <dc:creator />
      <dc:date>2012-01-25T16:10:15Z</dc:date>
    </item>
    <item>
      <title>Conditional colors question</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306680#M113278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( &lt;STRONG&gt;only({1} V001)&lt;/STRONG&gt; ='Immediately,' Green(), If(&lt;STRONG&gt;only({1} V001)&lt;/STRONG&gt; ='After more than 3 tiries', Red(), If(....etcetera))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I would suggest creating a color field in your data model, so you don't need the if() clauses in each chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306680#M113278</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-25T16:29:27Z</dc:date>
    </item>
    <item>
      <title>Conditional colors question</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306681#M113279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks man!&lt;/P&gt;&lt;P&gt;That was what I was looking for!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'll take your advice with me will give the color field a change!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 22:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-colors-question/m-p/306681#M113279</guid>
      <dc:creator />
      <dc:date>2012-01-25T22:22:02Z</dc:date>
    </item>
  </channel>
</rss>

