<?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 Setting variables with info from table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-variables-with-info-from-table/m-p/207047#M62952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If I got you right, create a text object, and in General tab go to Background color, click on "Calculated" and set, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Percent &amp;gt; 100, RGB(0, 128, 0), RGB(128, 0, 0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Since you are using a field, it will show always red until you select any object with Percent &amp;gt; 100.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Feb 2011 09:01:03 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-02-09T09:01:03Z</dc:date>
    <item>
      <title>Setting variables with info from table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-variables-with-info-from-table/m-p/207046#M62951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've got a table with following columns;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;date, object, value, limit&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I'm loading it with the following code;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;LOAD date,&lt;BR /&gt;object,&lt;BR /&gt;value,&lt;BR /&gt;limit,&lt;BR /&gt;(value / limit) *100 as Percent&lt;BR /&gt;FROM myfile.xls ...&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;In one page I'd like to have a background-picture and textfield/button with the objektnumber on. What I'm struggling with is that I want the background color to change depending on if the objects value is above 100 procent at a given date (selected with a normal listbox)&lt;/P&gt;&lt;P&gt;Not sure howto accomplish this the best way...&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 08:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-variables-with-info-from-table/m-p/207046#M62951</guid>
      <dc:creator>t_hylander</dc:creator>
      <dc:date>2011-02-09T08:45:14Z</dc:date>
    </item>
    <item>
      <title>Setting variables with info from table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-variables-with-info-from-table/m-p/207047#M62952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If I got you right, create a text object, and in General tab go to Background color, click on "Calculated" and set, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Percent &amp;gt; 100, RGB(0, 128, 0), RGB(128, 0, 0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Since you are using a field, it will show always red until you select any object with Percent &amp;gt; 100.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 09:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-variables-with-info-from-table/m-p/207047#M62952</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-09T09:01:03Z</dc:date>
    </item>
    <item>
      <title>Setting variables with info from table</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-variables-with-info-from-table/m-p/207048#M62953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, yes and no &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Its more complex than that I think (might be wrong here tho).&lt;BR /&gt;I have to somehow "tie" a object to exactly that text-object.&lt;BR /&gt;&lt;BR /&gt;On the picture there is like 50-ish individual objects that I want to monitor, and the only thing I wish to select is the date (default current date, but thats sorted).&lt;/P&gt;&lt;P&gt;edit: To make it more interesting, each object has several values and non of them should be higher than the limit.&lt;/P&gt;&lt;P&gt;Hope I made it more clear and not the other way around &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 09:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-variables-with-info-from-table/m-p/207048#M62953</guid>
      <dc:creator>t_hylander</dc:creator>
      <dc:date>2011-02-09T09:13:01Z</dc:date>
    </item>
  </channel>
</rss>

