<?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 Background Expression not applied to column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Background-Expression-not-applied-to-column/m-p/2508932#M104618</link>
    <description>&lt;P&gt;Dear All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my set Expression where i am applying background color as Red and Green based on Rank.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using a table with &lt;U&gt;&lt;EM&gt;ID, Name and Value&lt;/EM&gt;&lt;/U&gt;. this condition is applied in Background expression for Column Value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(CatId='22',&lt;BR /&gt;if(Rank(Num(avg(aggr(Sum({$&amp;lt;Year=, Month=, Day=,EmpName=, CustomCatLabel={'22'},&lt;BR /&gt;Date={"&amp;gt;=$(=date(monthstart(max(Date))))&amp;lt;=$(=date(max(Date)))"}&amp;gt;}&lt;BR /&gt;Value), EmpCode,CatId,EmpName)),'#,##0%'))&amp;lt;=10,'Green',&lt;BR /&gt;if(Rank(Num(-avg(aggr(Sum({$&amp;lt;Year=, Month=, Day=, EmpName=,CustomCatLabel={'22'},&lt;BR /&gt;Date={"&amp;gt;=$(=date(monthstart(max(Date))))&amp;lt;=$(=date(max(Date)))"}&amp;gt;}&lt;BR /&gt;Value), EmpCode,CatId,EmpName)),'#,##0%'))&amp;lt;=10,'Red',&lt;BR /&gt;Num(avg(aggr(Sum({$&amp;lt;Year=, Month=, Day=, EmpName=,CustomCatLabel={'22'},&lt;BR /&gt;Date={"&amp;gt;=$(=date(monthstart(max(Date))))&amp;lt;=$(=date(max(Date)))"}&amp;gt;}&lt;BR /&gt;Value), EmpCode,CatId,EmpName)),'#,##0%'))),&lt;BR /&gt;if(CatId='23','White',&lt;BR /&gt;if(CatId='24','White',&lt;BR /&gt;if(CatId='25','White',&lt;BR /&gt;if(CatId='26','White','White'))))&lt;/P&gt;
&lt;P&gt;Here column name has Arabic text. When applied with Id and Name column, Value is showing all Green,&lt;/P&gt;
&lt;P&gt;with just Id, this condition works well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions on what I am missing ?&lt;/P&gt;
&lt;P&gt;thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 08:00:43 GMT</pubDate>
    <dc:creator>Kaushik2020</dc:creator>
    <dc:date>2025-03-10T08:00:43Z</dc:date>
    <item>
      <title>Background Expression not applied to column</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Expression-not-applied-to-column/m-p/2508932#M104618</link>
      <description>&lt;P&gt;Dear All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my set Expression where i am applying background color as Red and Green based on Rank.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using a table with &lt;U&gt;&lt;EM&gt;ID, Name and Value&lt;/EM&gt;&lt;/U&gt;. this condition is applied in Background expression for Column Value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(CatId='22',&lt;BR /&gt;if(Rank(Num(avg(aggr(Sum({$&amp;lt;Year=, Month=, Day=,EmpName=, CustomCatLabel={'22'},&lt;BR /&gt;Date={"&amp;gt;=$(=date(monthstart(max(Date))))&amp;lt;=$(=date(max(Date)))"}&amp;gt;}&lt;BR /&gt;Value), EmpCode,CatId,EmpName)),'#,##0%'))&amp;lt;=10,'Green',&lt;BR /&gt;if(Rank(Num(-avg(aggr(Sum({$&amp;lt;Year=, Month=, Day=, EmpName=,CustomCatLabel={'22'},&lt;BR /&gt;Date={"&amp;gt;=$(=date(monthstart(max(Date))))&amp;lt;=$(=date(max(Date)))"}&amp;gt;}&lt;BR /&gt;Value), EmpCode,CatId,EmpName)),'#,##0%'))&amp;lt;=10,'Red',&lt;BR /&gt;Num(avg(aggr(Sum({$&amp;lt;Year=, Month=, Day=, EmpName=,CustomCatLabel={'22'},&lt;BR /&gt;Date={"&amp;gt;=$(=date(monthstart(max(Date))))&amp;lt;=$(=date(max(Date)))"}&amp;gt;}&lt;BR /&gt;Value), EmpCode,CatId,EmpName)),'#,##0%'))),&lt;BR /&gt;if(CatId='23','White',&lt;BR /&gt;if(CatId='24','White',&lt;BR /&gt;if(CatId='25','White',&lt;BR /&gt;if(CatId='26','White','White'))))&lt;/P&gt;
&lt;P&gt;Here column name has Arabic text. When applied with Id and Name column, Value is showing all Green,&lt;/P&gt;
&lt;P&gt;with just Id, this condition works well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions on what I am missing ?&lt;/P&gt;
&lt;P&gt;thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 08:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Expression-not-applied-to-column/m-p/2508932#M104618</guid>
      <dc:creator>Kaushik2020</dc:creator>
      <dc:date>2025-03-10T08:00:43Z</dc:date>
    </item>
  </channel>
</rss>

