<?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: Assign load script applymap values to variable for chart colors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38032#M769892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution from Stefan Wuhl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/163252"&gt;Tricky Variable - Use Field Value as Variable Name and return the Variable Value in Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=pick( match( VariableName, 'VK1_ntf','VK1_ntf_int','VK2_ntf','VK2_ntf_int'),&lt;/P&gt;&lt;P&gt;$(VK1_ntf),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;$(VK1_ntf_int),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;$(VK2_ntf),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;$(VK2_ntf_int)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2018 12:46:55 GMT</pubDate>
    <dc:creator>lbunnell</dc:creator>
    <dc:date>2018-06-01T12:46:55Z</dc:date>
    <item>
      <title>Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38025#M769885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use the instructions provided here with a slight variation in that I'd like to use a variable for the chart background color based on the value like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Applymap&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('ChartColors', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Account Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; , &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;lightgray&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccountTypeColor &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I set the Background color in the chart expression to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(AccountTypeColor) the colors of the chart do not change. Is there a way to accomplish this using a field value from table as a variable in the design layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2831" target="_blank"&gt;Colors in charts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load the color definitions into a mapping table:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ProductColors:&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp; Mapping Load [&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Account Type]&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;Rgb&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Red&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Green&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Blue&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;AccountTypeColor&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;From &lt;/SPAN&gt;ChartColors&lt;/LI&gt;&lt;LI&gt;Use this mapping table when loading the products table, creating a new field for the product color:&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp; Applymap&lt;/SPAN&gt;('ChartColors', &lt;SPAN style="color: #800000;"&gt;[Account Type] &lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;lightgray&lt;/SPAN&gt;()) &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;AccountTypeColor&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created custom colors include file like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vLightOrange&amp;nbsp;&amp;nbsp; = RGB(252,213,180);&lt;/P&gt;&lt;P&gt;SET vLighterOrange = RGB(253,233,217);&lt;/P&gt;&lt;P&gt;SET vDarkerOrange&amp;nbsp; = RGB(247,150,70);&lt;/P&gt;&lt;P&gt;SET vPurple&amp;nbsp;&amp;nbsp;&amp;nbsp; = RGB(105,84,150);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;along with the following in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ChartColors:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mapping&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Account Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;H&gt;&lt;/H&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sheet1); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which looks like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 311px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;" width="184"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Account Type&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="127"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Color&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Savings&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;vSTDarkBlue&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Checking&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;vSTDarkOrange&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Investment&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;vSTMediumBlue&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Money Market&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;vSTLightBlue&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;...&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38025#M769885</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38026#M769886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this helps&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/maintaining-color-of-the-dimensions-in-qlikview/" title="http://www.learnallbi.com/maintaining-color-of-the-dimensions-in-qlikview/"&gt;Maintaining Color of the Dimensions in QlikView – Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 15:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38026#M769886</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-31T15:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38027#M769887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's close, but I was looking to set the colors to a variable and have the Account/Color table contain the variable $(vDarkBlue) name with the CustomColors include file holding the RGB values. Maybe that's not possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 23:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38027#M769887</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2018-05-31T23:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38028#M769888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to see what exactly are you looking to get?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 00:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38028#M769888</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-01T00:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38029#M769889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not complete clear for me how do you tried to apply the colors with the mapping and how the variables are later called. But I assume that you don't assigned the variable-value per mapping to the dimension (if it would be logically quite the same like the suggestion from HIC in the above mentioned link) else the variable-name as string. This of course will lead to the problem that it is just a string until you used a $-sign expansion - but this results in a new adhoc-variable and is not working on a dimension-level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside this I don't see any added value to implement a color-logic on a variable-basis compared to a table- and field-value approach. If you ever get it to work it will be more expensive and complex as the suggestion from HIC - why not just copying / adapting this approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 09:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38029#M769889</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-06-01T09:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38030#M769890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I could use the other approach, but I already had the custom color include file with numerous RGB values created and I want to know, for other future use cases, whether it was possible to convert a field value like this one in Henric's example from an ApplyMap created value to a create an ad hoc variable which I am attempting to use as the Chart Expression background color per the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried setting a variable in Variable Overview like vAccountTypeColor = FieldValue('AccountTypeColor') then applying $(vAccountTypeColor) to the Background of the Chart Expression.&lt;/P&gt;&lt;P&gt;Also tried simply setting the Chart Expression directly to =$('AccountTypeColor'), however neither of these approaches seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I'd like to know if there is a way to use the values from a field in the load script to create a dynamic variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 10:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38030#M769890</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2018-06-01T10:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38031#M769891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to say that's not possible to implement a variable-solution but I doubt that it would make much sense to go this (probably terrible) way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What speaks against the approach to use the variable-file to create a table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 10:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38031#M769891</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-06-01T10:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Assign load script applymap values to variable for chart colors</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38032#M769892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution from Stefan Wuhl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/163252"&gt;Tricky Variable - Use Field Value as Variable Name and return the Variable Value in Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=pick( match( VariableName, 'VK1_ntf','VK1_ntf_int','VK2_ntf','VK2_ntf_int'),&lt;/P&gt;&lt;P&gt;$(VK1_ntf),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;$(VK1_ntf_int),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;$(VK2_ntf),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;$(VK2_ntf_int)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 12:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-load-script-applymap-values-to-variable-for-chart-colors/m-p/38032#M769892</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2018-06-01T12:46:55Z</dc:date>
    </item>
  </channel>
</rss>

