<?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 change background color on expression using a static row in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858755#M70889</link>
    <description>&lt;P&gt;Thank you Stevejoyse this worked!!&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 13:56:41 GMT</pubDate>
    <dc:creator>MikeC-12</dc:creator>
    <dc:date>2021-11-12T13:56:41Z</dc:date>
    <item>
      <title>Qlik Sense change background color on expression using a static row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858729#M70885</link>
      <description>&lt;P&gt;I have a Qlik Sense dashboard (version Feb 2020) that&amp;nbsp; I am building.&amp;nbsp; One of the requirements is to have values less then 0 have a red background.&amp;nbsp; The issues with this is I am using a static inline column to put the values in.&amp;nbsp; The calculations I am using are very long and complicated and would prefer not to have to copy them into the background expression to make the color change.&amp;nbsp; Here is a simplified version of what I am trying to accomplish.&lt;BR /&gt;The Data expression is like this:&lt;/P&gt;
&lt;P&gt;if (MyRow='Row cars sold', Some calculation 1,&lt;/P&gt;
&lt;P&gt;if (MyRow='Row Cars Traded In', Some calculation 2,&lt;/P&gt;
&lt;P&gt;if (MyRow='Row Cars Salvaged', Some calculation 3,&lt;/P&gt;
&lt;P&gt;If (MyRow='Row Cars Kept', Some calculation 4,&lt;/P&gt;
&lt;P&gt;))))&lt;BR /&gt;&lt;BR /&gt;I have tried the following to change the background color but none of them work.&amp;nbsp; Is there something else I could try?&lt;/P&gt;
&lt;P&gt;if ('MyRow' &amp;lt; 0 , Red(), Green())&lt;/P&gt;
&lt;P&gt;if (Column(2) &amp;lt; 0, Red(), Green())&lt;/P&gt;
&lt;P&gt;if ('[Cars Sold]' &amp;lt; 0 , Red(), Green())&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 13:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858729#M70885</guid>
      <dc:creator>MikeC-12</dc:creator>
      <dc:date>2021-11-12T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense change background color on expression using a static row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858744#M70886</link>
      <description>&lt;P&gt;I apologize, I forgot to mention this is in a simple table.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 13:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858744#M70886</guid>
      <dc:creator>MikeC-12</dc:creator>
      <dc:date>2021-11-12T13:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense change background color on expression using a static row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858748#M70887</link>
      <description>&lt;P&gt;you can reference the expression's label.&lt;/P&gt;
&lt;P&gt;is that what Cars Sold is?&amp;nbsp; if so, it wouldn't be in single quotes&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if ([Cars Sold] &amp;lt; 0 , Red(), Green())&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 13:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858748#M70887</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-12T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense change background color on expression using a static row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858752#M70888</link>
      <description>&lt;P&gt;Also column(&amp;lt;measure index&amp;gt;) would work also.&amp;nbsp; but maybe it wasnt #2.&amp;nbsp; you put in the measure number, don't count the dimensions.&amp;nbsp; maybe column(1) would have worked.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 13:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858752#M70888</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-12T13:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense change background color on expression using a static row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858755#M70889</link>
      <description>&lt;P&gt;Thank you Stevejoyse this worked!!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 13:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-change-background-color-on-expression-using-a-static/m-p/1858755#M70889</guid>
      <dc:creator>MikeC-12</dc:creator>
      <dc:date>2021-11-12T13:56:41Z</dc:date>
    </item>
  </channel>
</rss>

