<?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: Dynamic variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-variables/m-p/589767#M547815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a small set of categories (less than 20) you can use something like color(fieldindex('Category',Category)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more categories then assigning colors in the script is a far better option. But there's a good chance some categories will have very similar colors and it will be hard to distinguish them. Using colors in that case is of limited value. It may just create a display that's colorful, but cluttered and hard to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 17:09:13 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-01-30T17:09:13Z</dc:date>
    <item>
      <title>Dynamic variables</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-variables/m-p/589765#M547813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to display our contact database through QlikView on a google map. So far, this works fine.&lt;/P&gt;&lt;P&gt;All contacts have&amp;nbsp; a business segement associated e.g .Mr. Smith, Automotive, Ms. Miller, Aerospace, etc.&lt;/P&gt;&lt;P&gt;How can I autmatically apply different colors to each business segement. So far I did an IF clause like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Automotive',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(200,0,0),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0,200,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;How can I have Qlikview do this automatically?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-variables/m-p/589765#M547813</guid>
      <dc:creator />
      <dc:date>2014-01-30T16:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic variables</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-variables/m-p/589766#M547814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can associate a color with each business segment already in the Load script, and then use this in charts. See &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/12/04/colors-in-charts" title="http://community.qlik.com/blogs/qlikviewdesignblog/2012/12/04/colors-in-charts"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/12/04/colors-in-charts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-variables/m-p/589766#M547814</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-01-30T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic variables</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-variables/m-p/589767#M547815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a small set of categories (less than 20) you can use something like color(fieldindex('Category',Category)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more categories then assigning colors in the script is a far better option. But there's a good chance some categories will have very similar colors and it will be hard to distinguish them. Using colors in that case is of limited value. It may just create a display that's colorful, but cluttered and hard to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 17:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-variables/m-p/589767#M547815</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-30T17:09:13Z</dc:date>
    </item>
  </channel>
</rss>

