<?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 Generating background colours for codes on a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generating-background-colours-for-codes-on-a-straight-table/m-p/65016#M773635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I generate a Background colour for rows on a straight table that were used as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(LeaveCode='AA',Green(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='DA',Red(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='PA',Yellow(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='AS',Green(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='DS',Red(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='PS',Yellow(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='PH',Blue()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Generating background colours for codes on a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-background-colours-for-codes-on-a-straight-table/m-p/65016#M773635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I generate a Background colour for rows on a straight table that were used as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(LeaveCode='AA',Green(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='DA',Red(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='PA',Yellow(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='AS',Green(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='DS',Red(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='PS',Yellow(),&lt;/P&gt;&lt;P&gt;if(LeaveCode='PH',Blue()&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/Generating-background-colours-for-codes-on-a-straight-table/m-p/65016#M773635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generating background colours for codes on a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-background-colours-for-codes-on-a-straight-table/m-p/65017#M773636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='AA',Green(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='DA',Red(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='PA',Yellow(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='AS',Green(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='DS',Red(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='PS',Yellow(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='PH',Blue())))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 11:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-background-colours-for-codes-on-a-straight-table/m-p/65017#M773636</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-05-21T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generating background colours for codes on a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-background-colours-for-codes-on-a-straight-table/m-p/65018#M773637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the dimension, expand that to find the Background color expression and paste the following:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='AA',Green(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='DA',Red(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='PA',Yellow(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='AS',Green(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='DS',Red(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='PS',Yellow(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(LeaveCode='PH',Blue())))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 11:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-background-colours-for-codes-on-a-straight-table/m-p/65018#M773637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-21T11:56:08Z</dc:date>
    </item>
  </channel>
</rss>

