<?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 How to conditional formatting with multiple conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-conditional-formatting-with-multiple-conditions/m-p/1668612#M449315</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a table with a variance column which is just the Actual - Budget columns.&amp;nbsp; I have done a conditional formatting statement which works for the text colour&lt;/P&gt;&lt;P&gt;=IF(([Total actual YTD]-[Budget YTD]) /[Budget YTD] &amp;lt; 0, vGreen, vRed)&lt;/P&gt;&lt;P&gt;But if the income lines are the the other way round the expense lines if a negative income line should be red.&amp;nbsp; The dimensions are part of a value list so i tried the below but I get errors.&amp;nbsp; Can you please help&lt;/P&gt;&lt;P&gt;=If(ValueList($(vValueList_FMProfit)) = 'Third-party Fee Income',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt;([Total actual YTD]-[Budget YTD])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/[Budget YTD] &amp;lt; 0, vGreen, vRed)&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IF(&lt;BR /&gt;([Total actual YTD]-[Budget YTD])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/[Budget YTD] &amp;gt; 0, vGreen, vRed)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:26:07 GMT</pubDate>
    <dc:creator>paul_ripley</dc:creator>
    <dc:date>2024-11-16T01:26:07Z</dc:date>
    <item>
      <title>How to conditional formatting with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-conditional-formatting-with-multiple-conditions/m-p/1668612#M449315</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a table with a variance column which is just the Actual - Budget columns.&amp;nbsp; I have done a conditional formatting statement which works for the text colour&lt;/P&gt;&lt;P&gt;=IF(([Total actual YTD]-[Budget YTD]) /[Budget YTD] &amp;lt; 0, vGreen, vRed)&lt;/P&gt;&lt;P&gt;But if the income lines are the the other way round the expense lines if a negative income line should be red.&amp;nbsp; The dimensions are part of a value list so i tried the below but I get errors.&amp;nbsp; Can you please help&lt;/P&gt;&lt;P&gt;=If(ValueList($(vValueList_FMProfit)) = 'Third-party Fee Income',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt;([Total actual YTD]-[Budget YTD])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/[Budget YTD] &amp;lt; 0, vGreen, vRed)&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IF(&lt;BR /&gt;([Total actual YTD]-[Budget YTD])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/[Budget YTD] &amp;gt; 0, vGreen, vRed)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-conditional-formatting-with-multiple-conditions/m-p/1668612#M449315</guid>
      <dc:creator>paul_ripley</dc:creator>
      <dc:date>2024-11-16T01:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to conditional formatting with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-conditional-formatting-with-multiple-conditions/m-p/1677280#M449828</link>
      <description>&lt;P&gt;Paul, quick question for you, does that variable by chance have a variable in it?&amp;nbsp; If so, that could be the issue, as nesting variables is not a good idea, as there is no way to know the sequence of what is going to calculate when, so you may get unexpected results from things.&amp;nbsp; Sorry I am not more help, this will kick things back up, so someone else smarter than I am may see things and have some other suggestions for you.&amp;nbsp; Might be better if you can attach sample app too, as that generally does help in these situations as folks can play with things directly that way.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 21:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-conditional-formatting-with-multiple-conditions/m-p/1677280#M449828</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-19T21:15:45Z</dc:date>
    </item>
  </channel>
</rss>

