<?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: Expression dinamic bkacground color in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804170#M283928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the expression to =sum(&lt;STRONG&gt;{&amp;lt;total={'*'}&amp;gt;}&lt;/STRONG&gt;total) to eliminate the days without total values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 15:29:56 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-01-16T15:29:56Z</dc:date>
    <item>
      <title>Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804165#M283923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i have a pivot table with some dimensions and one expression; one of the dimensions is year-month.&lt;/P&gt;&lt;P&gt;I want to put a background color in the expressions using two colors, in the expression bakground color i put this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(vColorGrillaAlternativo(ColumnNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the definition of the variable is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SET vColorGrillaAlternativo &lt;/TD&gt;&lt;TD&gt;= if(Odd($1),rgb(250,240,230),rgb(250,235,215));&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that, for a month, i have no data for the expression so it repeat the same colour for background because for qlikview exists that column but dont show because have no data... ¿Any suggestions? Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 12:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804165#M283923</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2015-01-16T12:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804166#M283924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804166#M283924</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-16T13:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804167#M283925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I upload an excell with the example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the dates (weeks),&amp;nbsp; between the weeks 20/06/2014 and 04/07/2014 is missing the 27/06/2014 (its exists in the calendar, but there is no data for it in the expression)&lt;/P&gt;&lt;P&gt;So, if put the columnn number, qlikview returns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20/06/2014 -&amp;gt; column 3&lt;/P&gt;&lt;P&gt;04/07/2014 -&amp;gt; column 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats why qlikview repeat the bakcground color... the column 4 have no data and so it's hide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804167#M283925</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2015-01-16T14:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804168#M283926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me rephrase that: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you post a &lt;STRONG&gt;&lt;EM&gt;qlikview&lt;/EM&gt;&lt;/STRONG&gt; document that demonstrates the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804168#M283926</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-16T14:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804169#M283927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I uploaded an example!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 15:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804169#M283927</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2015-01-16T15:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804170#M283928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the expression to =sum(&lt;STRONG&gt;{&amp;lt;total={'*'}&amp;gt;}&lt;/STRONG&gt;total) to eliminate the days without total values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 15:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804170#M283928</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-16T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804171#M283929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable that contains:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG( {&amp;lt; $1 = {1}, DIM_GRUPO={'$2'} &amp;gt;} CANTTOTAL );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added &lt;STRONG&gt;CANTTOTAL={'*'} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to the variable but still do the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 19:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804171#M283929</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2015-01-16T19:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804172#M283930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove empty values at dimension level for &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[day]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Aggr(Sum([total]), [day]) &amp;lt;&amp;gt; 0, [day])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jan 2015 14:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804172#M283930</guid>
      <dc:creator />
      <dc:date>2015-01-18T14:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804173#M283931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesnt work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804173#M283931</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2015-01-19T14:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804174#M283932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75654_Capture.PNG" style="height: 121px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Is this not correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 15:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804174#M283932</guid>
      <dc:creator />
      <dc:date>2015-01-19T15:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804175#M283933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I have a variable in the expression so i must write the same in the dimension and didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the variable is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(myVar(Param1,Param2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and inside do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG( {&amp;lt; $1 = {1}, Dg={'$2'} &amp;gt;} CANTTOTAL );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i put this into the dimension :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( $(myVar(Param1,Param2)) &amp;lt;&amp;gt; 0, FINSEMANA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FINSEMANA -&amp;gt; is the day that the data do a control cut.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 15:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804175#M283933</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2015-01-19T15:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804176#M283934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You forgot the "Aggr" function. Something like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if( Aggr($(myVar(Param1,Param2)), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FINSEMANA&lt;/SPAN&gt;) &amp;lt;&amp;gt; 0, FINSEMANA)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Maybe it will need add more independed keys to "aggr" parameters, if they placed in the left of this dimension.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 16:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804176#M283934</guid>
      <dc:creator />
      <dc:date>2015-01-19T16:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression dinamic bkacground color</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804177#M283935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The example you posted works with the modified expression. Your example does not contain a field CANNOT or a field DIM_GRUPO. If you need help with that you will have to post a qlikview document that accurately models your real document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 17:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dinamic-bkacground-color/m-p/804177#M283935</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-19T17:08:59Z</dc:date>
    </item>
  </channel>
</rss>

