<?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: issue with Straight table when setting up background color in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/issue-with-Straight-table-when-setting-up-background-color/m-p/425358#M1158975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;Hello sivadandu,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the Pivot-table you cummulate the values according to the dimension Year.&lt;/P&gt;&lt;P&gt;So You have to use Aggr-function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Unbenannt.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/26689_Unbenannt.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;if (Sum ({$&amp;lt;Jahr={$(=(Jahr))}&amp;gt;}Complaints ) &amp;lt; ( 90/100 * Sum ( {$&amp;lt;Jahr={$(=Jahr-1)}&amp;gt;} Complaints)),RGB(69,234,21),&lt;/P&gt;&lt;P&gt;if (Sum ({$&amp;lt;Jahr={$(=(Jahr))}&amp;gt;} Complaints) &amp;lt;= Sum ({$&amp;lt;Jahr={$(=Jahr-1)}&amp;gt;} Complaints), RGB(255,128,0), RGB(255,0,0) ))&lt;/P&gt;&lt;P&gt;,Monat)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 14:30:45 GMT</pubDate>
    <dc:creator>bi4usupport</dc:creator>
    <dc:date>2012-12-11T14:30:45Z</dc:date>
    <item>
      <title>issue with Straight table when setting up background color</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-Straight-table-when-setting-up-background-color/m-p/425357#M1158974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing some issue with Straight table when setting up background color. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using the same expression which is used for bar chart for setting the background color. Its working fine with Bar chart( I think its because of the Dimension is &lt;/P&gt;&lt;P&gt;"Month" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use this expression for Straight table, it is displaying the same background color for all the field values. I am not sure, what exactly the problem is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=if (Sum ({$&amp;lt;Year={$(#=Only(Year))}&amp;gt;} [P1 - Complaints]) &amp;lt; (Only(If(Ref='P1',RAGGreen)/100) * Sum ({$&amp;lt;Year={$(#=Only(Year)-1)}&amp;gt;} [P1 - Complaints])),RGB(69,234,21),if (Sum ({$&amp;lt;Year={$(#=Only(Year))}&amp;gt;} [P1 - Complaints]) &amp;lt;= Sum ({$&amp;lt;Year={$(#=Only(Year)-1)}&amp;gt;} [P1 - Complaints]), RGB(255,128,0), RGB(255,0,0)) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where 'Ref' and 'RAGGreen' are columns from RAG table.&lt;/P&gt;&lt;P&gt;For P1- Complaints, Ref='P1' and RAGGreen=90.&lt;/P&gt;&lt;P&gt;iam comparing the current year compaints with 90% of Previous years complaints in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26685" class="jive-image" alt="p1_barchart.bmp" src="https://community.qlik.com/legacyfs/online/26685_p1_barchart.bmp" /&gt;&lt;IMG __jive_id="26686" class="jive-image-thumbnail jive-image" onclick="" alt="p1_straighttable.bmp" src="https://community.qlik.com/legacyfs/online/26686_p1_straighttable.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The columns in the Straight Table are displayed horizontally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Siva &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 12:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-Straight-table-when-setting-up-background-color/m-p/425357#M1158974</guid>
      <dc:creator />
      <dc:date>2012-12-11T12:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Straight table when setting up background color</title>
      <link>https://community.qlik.com/t5/QlikView/issue-with-Straight-table-when-setting-up-background-color/m-p/425358#M1158975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;Hello sivadandu,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the Pivot-table you cummulate the values according to the dimension Year.&lt;/P&gt;&lt;P&gt;So You have to use Aggr-function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Unbenannt.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/26689_Unbenannt.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;if (Sum ({$&amp;lt;Jahr={$(=(Jahr))}&amp;gt;}Complaints ) &amp;lt; ( 90/100 * Sum ( {$&amp;lt;Jahr={$(=Jahr-1)}&amp;gt;} Complaints)),RGB(69,234,21),&lt;/P&gt;&lt;P&gt;if (Sum ({$&amp;lt;Jahr={$(=(Jahr))}&amp;gt;} Complaints) &amp;lt;= Sum ({$&amp;lt;Jahr={$(=Jahr-1)}&amp;gt;} Complaints), RGB(255,128,0), RGB(255,0,0) ))&lt;/P&gt;&lt;P&gt;,Monat)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 14:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-with-Straight-table-when-setting-up-background-color/m-p/425358#M1158975</guid>
      <dc:creator>bi4usupport</dc:creator>
      <dc:date>2012-12-11T14:30:45Z</dc:date>
    </item>
  </channel>
</rss>

