<?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: Dimension Background Color not showing correctly unless being selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74141#M771539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression in correct just you have to include additional brackets for the division before comparing it with a value, but its always advisable to use the expression label reference for these kind of scenario's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the background color expression, you can say like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If([WOC] &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;gt;=8, RGB(0,255,0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp; If([WOC] &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;gt;=4,Yellow(), &lt;/SPAN&gt;RGB(255,0,0)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Shan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 16:43:01 GMT</pubDate>
    <dc:creator>shansundar</dc:creator>
    <dc:date>2018-05-22T16:43:01Z</dc:date>
    <item>
      <title>Dimension Background Color not showing correctly unless being selected</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74137#M771535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am new to Qlikview so even though I scrolled through all the existing questions and tried all different expressions, the background color is still not showing correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since WOC is already ranked from smallest to largest, I want to show color red on the top, then yellow, then green based on the number. Logic is WOC = Inventory/Demand&lt;/P&gt;&lt;P&gt;Inventory =Aggr(sum(On_Hand+In_Transit),SKU)&lt;/P&gt;&lt;P&gt;Demand=Aggr(sum(num(Demand,'#,##0')),SKU)&lt;/P&gt;&lt;P&gt;WOC=NUM(Aggr(sum(&lt;SPAN style="font-size: 13.3333px;"&gt;On_Hand+In_Transit&lt;/SPAN&gt;),SKU)/Aggr(sum(Demand),SKU),'#,##0')&lt;/P&gt;&lt;P&gt;and background color expression for WOC = &lt;/P&gt;&lt;P&gt;=If(NUM(&lt;SPAN style="font-size: 13.3333px;"&gt;Aggr(sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;On_Hand+In_Transit&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;),SKU)/Aggr(sum(Demand),SKU)&lt;/SPAN&gt;,'#,##0')&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;=8,RGB(0,255,0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If(NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Aggr(sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;On_Hand+In_Transit&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;),SKU)/Aggr(sum(Demand),SKU)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,'#,##0')&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;=4,Yellow(),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RGB(255,0,0)))&lt;/P&gt;&lt;P&gt;The background color is showing like below, however if I select one of the SKU the color adjusts ( Red 8 will become yellow for example)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203099_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your help! Any suggestions or comments are greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74137#M771535</guid>
      <dc:creator>sielareviv7</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Background Color not showing correctly unless being selected</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74138#M771536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the color is based on number then you can do this in visual cues tab. What chart you are using?&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>Tue, 22 May 2018 16:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74138#M771536</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-05-22T16:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Background Color not showing correctly unless being selected</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74139#M771537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 16:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74139#M771537</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-05-22T16:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Background Color not showing correctly unless being selected</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74140#M771538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing a pivot table, and since all three fields are dimensions I am not sure if there's anyway to add dimension to visual cues tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 16:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74140#M771538</guid>
      <dc:creator>sielareviv7</dc:creator>
      <dc:date>2018-05-22T16:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Background Color not showing correctly unless being selected</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74141#M771539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression in correct just you have to include additional brackets for the division before comparing it with a value, but its always advisable to use the expression label reference for these kind of scenario's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the background color expression, you can say like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If([WOC] &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;gt;=8, RGB(0,255,0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp; If([WOC] &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;gt;=4,Yellow(), &lt;/SPAN&gt;RGB(255,0,0)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Shan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 16:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Background-Color-not-showing-correctly-unless-being/m-p/74141#M771539</guid>
      <dc:creator>shansundar</dc:creator>
      <dc:date>2018-05-22T16:43:01Z</dc:date>
    </item>
  </channel>
</rss>

