<?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: Color Formulas wont evaluate Color String in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29070#M511024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This formula is working for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(only({$&amp;lt;ColorName={'lightred'}&amp;gt;} Color))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 06:34:22 GMT</pubDate>
    <dc:creator>jaumecf23</dc:creator>
    <dc:date>2018-04-13T06:34:22Z</dc:date>
    <item>
      <title>Color Formulas wont evaluate Color String</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29069#M511023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am experimenting with color formulas&lt;/P&gt;&lt;P&gt;I have a table with color labels and strings that can be evaluated by qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load*&lt;/P&gt;&lt;P&gt;from inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ColorName, Color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lightred, =lightred()&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to simulate an evaluation in a chart color formula field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({$&amp;lt;ColorName={'lightred'}&amp;gt;} Color)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Color returns '=lightred()'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outputting this as a string returns the proper result, one which if typed manually in&amp;nbsp; the color formula field would yield a light red color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something? Are Formulas doing something different?&lt;/P&gt;&lt;P&gt;Do I have to modify the string somehow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 05:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29069#M511023</guid>
      <dc:creator>chrweber</dc:creator>
      <dc:date>2018-04-13T05:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Color Formulas wont evaluate Color String</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29070#M511024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This formula is working for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(only({$&amp;lt;ColorName={'lightred'}&amp;gt;} Color))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 06:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29070#M511024</guid>
      <dc:creator>jaumecf23</dc:creator>
      <dc:date>2018-04-13T06:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Color Formulas wont evaluate Color String</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29071#M511025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no direct evaluate() within the UI available - an expression from a field or a variable will always be treated as a string and only if you used a $-sign expansion like here suggested from Jaume it will be evaluated. But a $-sign expansion creates logically a new (adhoc) variable which will within an object-context be always globally and not evaluated on a row-level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are now several similar questions (&lt;A href="https://community.qlik.com/message/1470383"&gt;Re: Inputbox with predifined Values using RGB, comma problem&lt;/A&gt;) to the same task and I have the feeling they are running in circles so that I suggest you provide a small example which displays how and where you want to assign the colors.&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, 13 Apr 2018 07:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29071#M511025</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-13T07:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Color Formulas wont evaluate Color String</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29072#M511026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have taken the time and tried to visualize my problem over the course of which I found the solution:&lt;/P&gt;&lt;P&gt;So thank you for your help, I have added the file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Solution is the following line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=only({$&amp;lt;CustomColor={$(vColor3)}&amp;gt;} ColorVariableConcat))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I had to put in an additional '='&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other questions were problems on their own, so I thought I put them apart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 10:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Formulas-wont-evaluate-Color-String/m-p/29072#M511026</guid>
      <dc:creator>chrweber</dc:creator>
      <dc:date>2018-04-13T10:38:37Z</dc:date>
    </item>
  </channel>
</rss>

