<?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: background color in trellis container in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/background-color-in-trellis-container/m-p/2441792#M97374</link>
    <description>&lt;P&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;Column and NoOfColumn are Straight Table functions only:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/column.htm" target="_self"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/column.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 15:08:54 GMT</pubDate>
    <dc:creator>mpc</dc:creator>
    <dc:date>2024-04-16T15:08:54Z</dc:date>
    <item>
      <title>background color in trellis container</title>
      <link>https://community.qlik.com/t5/App-Development/background-color-in-trellis-container/m-p/2441445#M97350</link>
      <description>&lt;P&gt;Can a background color be set for cells in a trellis container using colormix2?&amp;nbsp; The charts are histograms and I would like to show deviation from the mean as one of two colors, with white being close to or at the mean.&lt;/P&gt;
&lt;P&gt;If it can be done, I would assume it would be in the Master Visualization under Presentation, Styling / General / Background Color / By Expression, but not sure of the correct expression.&amp;nbsp; For regular tables it's something like:&lt;/P&gt;
&lt;P&gt;=colormix2(&lt;BR /&gt;(rank(TOTAL column(1))/(NoOfColumns(TOTAL)/2))-1,&lt;BR /&gt;rgb(20,20,20),&lt;BR /&gt;rgb(100,100,100),&lt;BR /&gt;rgb(200,200,200)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;But this does not work for Trellis Containers.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregBrooks1_0-1713230409037.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164125iC691753F05762CDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GregBrooks1_0-1713230409037.png" alt="GregBrooks1_0-1713230409037.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 01:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/background-color-in-trellis-container/m-p/2441445#M97350</guid>
      <dc:creator>GregBrooks1</dc:creator>
      <dc:date>2024-04-16T01:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: background color in trellis container</title>
      <link>https://community.qlik.com/t5/App-Development/background-color-in-trellis-container/m-p/2441792#M97374</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;Column and NoOfColumn are Straight Table functions only:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/column.htm" target="_self"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/column.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 15:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/background-color-in-trellis-container/m-p/2441792#M97374</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-04-16T15:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: background color in trellis container</title>
      <link>https://community.qlik.com/t5/App-Development/background-color-in-trellis-container/m-p/2444507#M97581</link>
      <description>&lt;P&gt;I tried using Colormix1 and can get a color to show across the Trellis cells, but the color is the same for all cells based on the calculated percent of saturation overall.&amp;nbsp; I cannot get the individual cells to color according to their own individual percent of saturation.&amp;nbsp; The overall color saturation changes based on the measure I select, but again, not in the individual cells.&lt;/P&gt;
&lt;P&gt;Here is the code I am using.&amp;nbsp; I select a measure to display (vMeasureName).&amp;nbsp; I check to make sure the value is greater than 0.&amp;nbsp; I have also turned on Advanced mode for the Trellis container and use vDimSetFull.&lt;/P&gt;
&lt;P&gt;=colormix1(&lt;BR /&gt;AVG(AGGR(&lt;BR /&gt;(max(if($(vDimSetFull) [$(vMeasureName)]&amp;gt;0,($(vDimSetFull) [$(vMeasureName)])))-&lt;BR /&gt;avg(if($(vDimSetFull) [$(vMeasureName)]&amp;gt;0,($(vDimSetFull) [$(vMeasureName)]))))&lt;BR /&gt;/&lt;BR /&gt;(max({$&amp;lt;RVarName2 = {'$(vMeasureName)'}&amp;gt;} Upper_SNI)-&lt;BR /&gt;max({$&amp;lt;RVarName2 = {'$(vMeasureName)'}&amp;gt;} Nominal_SNI))&lt;BR /&gt;,[32CELL]))&lt;BR /&gt;,rgb(255,255,255),LightCyan())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help appreciated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 21:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/background-color-in-trellis-container/m-p/2444507#M97581</guid>
      <dc:creator>GregMBrooks</dc:creator>
      <dc:date>2024-04-24T21:53:43Z</dc:date>
    </item>
  </channel>
</rss>

