<?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: Qlik Sense, Set  Text color expression by comparing columns using Above() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605533#M44832</link>
    <description>&lt;P&gt;Thank you for the fast reaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new in Qlik Sense.&lt;/P&gt;&lt;P&gt;What do you mean exactly with '&lt;SPAN&gt;Use only one dimension and add all other as Expression'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;athinadev&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 09:09:06 GMT</pubDate>
    <dc:creator>athinadev</dc:creator>
    <dc:date>2019-07-24T09:09:06Z</dc:date>
    <item>
      <title>Qlik Sense, Set  Text color expression by comparing columns using Above()</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605470#M44826</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have this table, and I want to show the data in a table and&amp;nbsp;based on the Type, I want to set a Text color expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD * INLINE [Id, Type,ModelName, ActivationTime, Value
1, 0, 'Alpha', 2019-01-01 12:35:22.400, 0
2, 0, 'Alpha', 2019-01-01 12:35:22.600, 0
3, 0, 'Beta',  2019-01-01 12:35:22.600, 0
4, 0, 'Beta',  2019-01-01 12:35:22.600, 1

5, 1, 'Alpha', 2019-01-01 12:35:22.400, 0
6, 2, 'Beta',  2019-01-01 12:35:22.400, 0

7, 1, 'Alpha', 2019-01-01 12:35:22.500, 0
8, 2, 'Alpha', 2019-01-01 12:35:22.600, 0

9, 1, 'Alpha', 2019-01-01 12:35:22.700, 0
10, 2, 'Alpha', 2019-01-01 12:35:22.700, 1
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Type=2, I want to compare the column value with the previous row and if there are not equal then I want to set a different color.&amp;nbsp;I am using this condition for the columns&amp;nbsp;ModelName,&amp;nbsp;ActivationTime,&amp;nbsp;Value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=IF(Type=1, RGB(0,0,255), IF(Type=2, IF(ModelName&amp;lt;&amp;gt;Above(ModelName,1), RGB(255,0,0))))

=IF(Type=1, RGB(0,0,255), IF(Type=2, IF(ActivationTime&amp;lt;&amp;gt;Above(ActivationTime,1), RGB(255,0,0))))

=IF(Type=1, RGB(0,0,255), IF(Type=2, IF(Value&amp;lt;&amp;gt;Above(Value,1), RGB(255,0,0))))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is, that even if the values are equal, I get the red color for each column,row with Type 2&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Colors.PNG" style="width: 858px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15942i03496F6DDAD84AB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Colors.PNG" alt="Colors.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605470#M44826</guid>
      <dc:creator>athinadev</dc:creator>
      <dc:date>2024-11-16T05:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense, Set  Text color expression by comparing columns using Above()</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605513#M44828</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use only one dimension and add all other as Expression and it will work.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 08:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605513#M44828</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2019-07-24T08:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense, Set  Text color expression by comparing columns using Above()</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605533#M44832</link>
      <description>&lt;P&gt;Thank you for the fast reaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new in Qlik Sense.&lt;/P&gt;&lt;P&gt;What do you mean exactly with '&lt;SPAN&gt;Use only one dimension and add all other as Expression'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;athinadev&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 09:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605533#M44832</guid>
      <dc:creator>athinadev</dc:creator>
      <dc:date>2019-07-24T09:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense, Set  Text color expression by comparing columns using Above()</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605538#M44833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What I mean by that is when you add table, just add one dimension (i.e ID in your case).&lt;/P&gt;&lt;P&gt;Rest all should be added as expression.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 09:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605538#M44833</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2019-07-24T09:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense, Set  Text color expression by comparing columns using Above()</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605551#M44834</link>
      <description>&lt;P&gt;Unfortunately it didn't work.&lt;/P&gt;&lt;P&gt;The solution is to use the verb total&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(xxx&amp;lt;&amp;gt;Above(Total(xxx),1)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 09:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Set-Text-color-expression-by-comparing-columns-using/m-p/1605551#M44834</guid>
      <dc:creator>athinadev</dc:creator>
      <dc:date>2019-11-11T09:38:31Z</dc:date>
    </item>
  </channel>
</rss>

