<?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 Help Create expression for Background Color in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-Create-expression-for-Background-Color-in-Pivot-Table/m-p/62858#M10495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a data frame as in the attached excel file and a pivot table in the attached qvw file. I need help creating an expression for the background color of the cell in the pivot table. Here are the conditions for coloring the cell(named Total):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 308px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="160" width="64"&gt;Green&lt;/TD&gt;&lt;TD class="xl63" width="244"&gt;If at least one type of each Machine except Machine 2 is owned in at least one of the listed Shops. Machine 2 can be any of Owned/Leased/Outsourced,but at least one in Quantity. Proof should be submitted for relevant Machines. (Shop 1/2/3 Proof Submitted?)='YES'&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="308"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="180" width="64"&gt;Yellow&lt;/TD&gt;&lt;TD class="xl65" width="244"&gt;If at least one type of each Machine except Machine 2 is Leased/Outsourced in at least one of the listed Shops. Machine 2 can be any of Owned/Leased/Outsourced,but at least one in Quantity. Proof should be submitted for relevant Machines. (Shop 1/2/3 Proof Submitted?='YES' )&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 308px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="100" width="64"&gt;Red&lt;/TD&gt;&lt;TD class="xl65" width="244"&gt;If any one type of machine is missing(not owned/outsourced/leased) from among the 8 machines in all the listed shops, or No proof submitted for machines,Red&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for this particular supplier file, there are 5 shops listed(AAA Shop,BS Engineering,GST Shop,GST2 Shop,OSD Machining).&lt;/P&gt;&lt;P&gt;Now there is at least one owned unit of each of the 8 machines in at least 1 of the listed shops.(AAA Shop). But he has not submitted the proof for these machines. So, the color of the total cell in the table will be red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much much appreciated! Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 14:18:13 GMT</pubDate>
    <dc:creator>mrthomasshelby</dc:creator>
    <dc:date>2018-04-05T14:18:13Z</dc:date>
    <item>
      <title>Help Create expression for Background Color in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Create-expression-for-Background-Color-in-Pivot-Table/m-p/62858#M10495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a data frame as in the attached excel file and a pivot table in the attached qvw file. I need help creating an expression for the background color of the cell in the pivot table. Here are the conditions for coloring the cell(named Total):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 308px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="160" width="64"&gt;Green&lt;/TD&gt;&lt;TD class="xl63" width="244"&gt;If at least one type of each Machine except Machine 2 is owned in at least one of the listed Shops. Machine 2 can be any of Owned/Leased/Outsourced,but at least one in Quantity. Proof should be submitted for relevant Machines. (Shop 1/2/3 Proof Submitted?)='YES'&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="308"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="180" width="64"&gt;Yellow&lt;/TD&gt;&lt;TD class="xl65" width="244"&gt;If at least one type of each Machine except Machine 2 is Leased/Outsourced in at least one of the listed Shops. Machine 2 can be any of Owned/Leased/Outsourced,but at least one in Quantity. Proof should be submitted for relevant Machines. (Shop 1/2/3 Proof Submitted?='YES' )&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 308px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="100" width="64"&gt;Red&lt;/TD&gt;&lt;TD class="xl65" width="244"&gt;If any one type of machine is missing(not owned/outsourced/leased) from among the 8 machines in all the listed shops, or No proof submitted for machines,Red&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for this particular supplier file, there are 5 shops listed(AAA Shop,BS Engineering,GST Shop,GST2 Shop,OSD Machining).&lt;/P&gt;&lt;P&gt;Now there is at least one owned unit of each of the 8 machines in at least 1 of the listed shops.(AAA Shop). But he has not submitted the proof for these machines. So, the color of the total cell in the table will be red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much much appreciated! Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Create-expression-for-Background-Color-in-Pivot-Table/m-p/62858#M10495</guid>
      <dc:creator>mrthomasshelby</dc:creator>
      <dc:date>2018-04-05T14:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help Create expression for Background Color in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Create-expression-for-Background-Color-in-Pivot-Table/m-p/62859#M10496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌. Can you please kindly help me out here? Thanks! I have tried writing some long long if and statements in the script as well as some set analysis in the expression but none of them seem to work as per the conditions. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 06:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Create-expression-for-Background-Color-in-Pivot-Table/m-p/62859#M10496</guid>
      <dc:creator>mrthomasshelby</dc:creator>
      <dc:date>2018-04-06T06:37:13Z</dc:date>
    </item>
  </channel>
</rss>

