<?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 background color expression - Conditional Formatting using multiple expressions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651830#M48623</link>
    <description>&lt;P&gt;Hi Charan_j,&lt;/P&gt;&lt;P&gt;Try this Hope so you will get perfect result&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;vLightRed: rgb(219, 77, 86)&lt;BR /&gt;vDarkRed: rgb(232, 19, 33)&lt;BR /&gt;vLightYellow: rgb(230, 237, 100)&lt;BR /&gt;vDarkYellow: rgb(219, 230, 14)&lt;BR /&gt;vLightGreen: rgb(93, 245, 111)&lt;BR /&gt;vDarkGreen: rgb(9, 150, 26)&lt;/P&gt;&lt;P&gt;Then used below function in background color expression:&lt;/P&gt;&lt;P&gt;For East:&lt;/P&gt;&lt;P&gt;if(sum(East)&amp;gt;0 and sum(East)&amp;lt;=400,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightRed),$(vDarkRed)),&lt;BR /&gt;if(sum(East)&amp;gt;400 and sum(East)&amp;lt;=800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightYellow),$(vDarkYellow)),&lt;BR /&gt;if(sum(East)&amp;gt;800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightGreen),$(vDarkGreen))&lt;BR /&gt;)))&lt;/P&gt;&lt;P&gt;For West:&lt;/P&gt;&lt;P&gt;if(sum(West)&amp;gt;0 and sum(West)&amp;lt;=400,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightRed),$(vDarkRed)),&lt;BR /&gt;if(sum(West)&amp;gt;400 and sum(West)&amp;lt;=800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightYellow),$(vDarkYellow)),&lt;BR /&gt;if(sum(West)&amp;gt;800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightGreen),$(vDarkGreen))&lt;BR /&gt;)))&lt;/P&gt;&lt;P&gt;For North:&lt;/P&gt;&lt;P&gt;if(sum(North)&amp;gt;0 and sum(North)&amp;lt;=400,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightRed),$(vDarkRed)),&lt;BR /&gt;if(sum(North)&amp;gt;400 and sum(North)&amp;lt;=800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightYellow),$(vDarkYellow)),&lt;BR /&gt;if(sum(North)&amp;gt;800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightGreen),$(vDarkGreen))&lt;BR /&gt;)))&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2019 11:02:19 GMT</pubDate>
    <dc:creator>vishalarote</dc:creator>
    <dc:date>2019-11-27T11:02:19Z</dc:date>
    <item>
      <title>Qlik Sense background color expression - Conditional Formatting using multiple expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651709#M48603</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on color-coding the background cells by considering all the available expressions in the table.&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example.JPG" style="width: 370px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24506iC025B83AAAEB708F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Example.JPG" alt="Example.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here the North region has high sales and the West region has medium sales and the East region has low values.&lt;/P&gt;&lt;P&gt;So single color-coding expression should be applied across all three expressions.&lt;/P&gt;&lt;P&gt;Can we achieve the same theme in Qlik Sense table?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651709#M48603</guid>
      <dc:creator>charan_j</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense background color expression - Conditional Formatting using multiple expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651786#M48611</link>
      <description>&lt;P&gt;Hi Charan_j,&lt;/P&gt;&lt;P&gt;Create 3 colors variables&lt;BR /&gt;vColorDark: rgb(10, 163, 12)&lt;BR /&gt;VColorLight: rgb(214, 17, 17)&lt;BR /&gt;vColorMiddle: rgb(215, 222, 22)&lt;/P&gt;&lt;P&gt;Then used below function in background color expression:&lt;/P&gt;&lt;P&gt;ColorMix2((rank(total COlumn(1))/(noofrows(TOTAL)/2))-1,$(vColorDark), $(VColorLight),$(vColorMiddle))&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 09:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651786#M48611</guid>
      <dc:creator>vishalarote</dc:creator>
      <dc:date>2019-11-27T09:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense background color expression - Conditional Formatting using multiple expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651805#M48613</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/37801"&gt;@vishalarote&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the reply !!&lt;/P&gt;&lt;P&gt;The way you suggest gives me the below output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example 1.JPG" style="width: 325px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24523iA53B9D37D1380403/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Example 1.JPG" alt="Example 1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the output needed is different as shown below which combines all the values from all 3 expression columns and then applies the unique color formatting.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example 2.JPG" style="width: 323px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24524i754D80299E97FFDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Example 2.JPG" alt="Example 2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 10:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651805#M48613</guid>
      <dc:creator>charan_j</dc:creator>
      <dc:date>2019-11-27T10:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense background color expression - Conditional Formatting using multiple expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651830#M48623</link>
      <description>&lt;P&gt;Hi Charan_j,&lt;/P&gt;&lt;P&gt;Try this Hope so you will get perfect result&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;vLightRed: rgb(219, 77, 86)&lt;BR /&gt;vDarkRed: rgb(232, 19, 33)&lt;BR /&gt;vLightYellow: rgb(230, 237, 100)&lt;BR /&gt;vDarkYellow: rgb(219, 230, 14)&lt;BR /&gt;vLightGreen: rgb(93, 245, 111)&lt;BR /&gt;vDarkGreen: rgb(9, 150, 26)&lt;/P&gt;&lt;P&gt;Then used below function in background color expression:&lt;/P&gt;&lt;P&gt;For East:&lt;/P&gt;&lt;P&gt;if(sum(East)&amp;gt;0 and sum(East)&amp;lt;=400,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightRed),$(vDarkRed)),&lt;BR /&gt;if(sum(East)&amp;gt;400 and sum(East)&amp;lt;=800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightYellow),$(vDarkYellow)),&lt;BR /&gt;if(sum(East)&amp;gt;800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightGreen),$(vDarkGreen))&lt;BR /&gt;)))&lt;/P&gt;&lt;P&gt;For West:&lt;/P&gt;&lt;P&gt;if(sum(West)&amp;gt;0 and sum(West)&amp;lt;=400,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightRed),$(vDarkRed)),&lt;BR /&gt;if(sum(West)&amp;gt;400 and sum(West)&amp;lt;=800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightYellow),$(vDarkYellow)),&lt;BR /&gt;if(sum(West)&amp;gt;800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightGreen),$(vDarkGreen))&lt;BR /&gt;)))&lt;/P&gt;&lt;P&gt;For North:&lt;/P&gt;&lt;P&gt;if(sum(North)&amp;gt;0 and sum(North)&amp;lt;=400,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightRed),$(vDarkRed)),&lt;BR /&gt;if(sum(North)&amp;gt;400 and sum(North)&amp;lt;=800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightYellow),$(vDarkYellow)),&lt;BR /&gt;if(sum(North)&amp;gt;800,&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightGreen),$(vDarkGreen))&lt;BR /&gt;)))&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 11:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651830#M48623</guid>
      <dc:creator>vishalarote</dc:creator>
      <dc:date>2019-11-27T11:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense background color expression - Conditional Formatting using multiple expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651853#M48625</link>
      <description>&lt;P&gt;Hi Vishalarote,&lt;/P&gt;&lt;P&gt;But the problem in real-time data is values are changing dynamically. I am unable to set a range of values to color it.&lt;/P&gt;&lt;P&gt;For example, the range may vary like 0-1000, 1000-2000, &amp;gt;2000 in random order. So the gradient should be changed respectively.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 12:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651853#M48625</guid>
      <dc:creator>charan_j</dc:creator>
      <dc:date>2019-11-27T12:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense background color expression - Conditional Formatting using multiple expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651860#M48627</link>
      <description>&lt;P&gt;Then Do one thing divide total value by 3 (i.e. Three color division) and make variable as below so you get mid values between v1 to v2 and your condition also vary dynamically.&lt;/P&gt;&lt;P&gt;v1=sum(East)/3&lt;BR /&gt;v2=(sum(East)/3)+(sum(East)/3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(sum(East)&amp;gt;0 and sum(East)&amp;lt;=$(v1),&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightRed),$(vDarkRed)),&lt;BR /&gt;if(sum(East)&amp;gt;$(v1) and sum(East)&amp;lt;=$(v2),&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightYellow),$(vDarkYellow)),&lt;BR /&gt;if(sum(East)&amp;gt;$(v2),&lt;BR /&gt;colormix1(rank(total Column(1))/NoOfRows(total),$(vLightGreen),$(vDarkGreen))&lt;BR /&gt;)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 12:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-background-color-expression-Conditional-Formatting/m-p/1651860#M48627</guid>
      <dc:creator>vishalarote</dc:creator>
      <dc:date>2019-11-27T12:22:41Z</dc:date>
    </item>
  </channel>
</rss>

