<?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: Error in Background color using set analysis with data out of selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-Background-color-using-set-analysis-with-data-out-of/m-p/564457#M210662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Massimo,&lt;/P&gt;&lt;P&gt;thank you for your reply. It works but since I have a report with a lot of rows (each Orden number is a row) I created 2 tables (BackgroundColor and TextColor) linked with the Report Table in wich I include for each row the 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No my statement in the background and text script is as follows&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=&lt;/SPAN&gt;RGB&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ColorFondo_R&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ColorFondo_G&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ColorFondo_B&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In each row of the report table I include the color that matches with the RGB color. It works fine in the first chart, but have the same problem un Chart 2 when I select the field Empresa2 and the chart have a set analysis that gets information out of current selection. In the expresion I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 8pt;"&gt;({1 &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Empresa&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Empresa1', 'Empresa2'}&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Importe&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to fix this issue so I don´t have to put and RGB format for each row since I design them in the report??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2014 23:52:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-26T23:52:25Z</dc:date>
    <item>
      <title>Error in Background color using set analysis with data out of selection</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Background-color-using-set-analysis-with-data-out-of/m-p/564455#M210660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I´m trying to format with color (Background ant text) dimensions and expresions in a chart table.&lt;/P&gt;&lt;P&gt;Everything is OK but when in I use an expresion with set analysis to get information that is not in the current selection, I loose this format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send you an example of an app. Does anyone know how to keep the Background and Text Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 18:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Background-color-using-set-analysis-with-data-out-of/m-p/564455#M210660</guid>
      <dc:creator />
      <dc:date>2014-03-26T18:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Background color using set analysis with data out of selection</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Background-color-using-set-analysis-with-data-out-of/m-p/564456#M210661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with (1 Orden for row)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(only({1}Orden)=1,RGB(255,102,0),&lt;/P&gt;&lt;P&gt;if(only({1}Orden)=2,RGB(192,192,192),&lt;/P&gt;&lt;P&gt;if(only({1}Orden)=3,RGB(0,0,0),&lt;/P&gt;&lt;P&gt;if(only({1}Orden)=4,RGB(255,102,0),&lt;/P&gt;&lt;P&gt;if(only({1}Orden)=5,RGB(192,192,192),&lt;/P&gt;&lt;P&gt;)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in expression and on first dimension only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 22:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Background-color-using-set-analysis-with-data-out-of/m-p/564456#M210661</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-26T22:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Background color using set analysis with data out of selection</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Background-color-using-set-analysis-with-data-out-of/m-p/564457#M210662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Massimo,&lt;/P&gt;&lt;P&gt;thank you for your reply. It works but since I have a report with a lot of rows (each Orden number is a row) I created 2 tables (BackgroundColor and TextColor) linked with the Report Table in wich I include for each row the 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No my statement in the background and text script is as follows&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=&lt;/SPAN&gt;RGB&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ColorFondo_R&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ColorFondo_G&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ColorFondo_B&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In each row of the report table I include the color that matches with the RGB color. It works fine in the first chart, but have the same problem un Chart 2 when I select the field Empresa2 and the chart have a set analysis that gets information out of current selection. In the expresion I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 8pt;"&gt;({1 &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Empresa&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Empresa1', 'Empresa2'}&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Importe&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to fix this issue so I don´t have to put and RGB format for each row since I design them in the report??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 23:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Background-color-using-set-analysis-with-data-out-of/m-p/564457#M210662</guid>
      <dc:creator />
      <dc:date>2014-03-26T23:52:25Z</dc:date>
    </item>
  </channel>
</rss>

