<?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: Expression based on a 2nd IF Color condition data problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428625#M558708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw. If that's not what you want please read &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2380"&gt;this document&lt;/A&gt; (again) because then I have no idea what you want. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 11:39:03 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-05-31T11:39:03Z</dc:date>
    <item>
      <title>Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428622#M558705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one block of data with various format styles (e.g 0, 0.0, 0.0%) so I have used IF to build the expression in a pivot table. I also want to add&amp;nbsp; an IF colour condition to Background Color but it is based on a second block of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get it to work if the expression is a simple Sum(Data) expression but not when I apply IF to apply formatting. Are there any ideas how to solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428622#M558705</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2013-05-31T09:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428623#M558706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2380"&gt;here&lt;/A&gt; and &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428623#M558706</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-31T09:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428624#M558707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry here is a qvw example of my problem. I hope someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428624#M558707</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2013-05-31T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428625#M558708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw. If that's not what you want please read &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2380"&gt;this document&lt;/A&gt; (again) because then I have no idea what you want. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428625#M558708</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-31T11:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428626#M558709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find a way to apply the IF color expression found in the second table's (CS Points expression and Background Color) against the expression in the first table (If Expression and If Color). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in table 2, the CS Field 'AA' for Oct-11 returns a zero and so the IF condition returns red using [CS Points] data set I.E&amp;nbsp; = IF ([CS Points]=0, RGB (255,0,0), RGB (128,255,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In table 1 the [CS Data] data set for 'AA' in Oct-11 returns 10. But If want the color to reflect the above IF Color condition and return red. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again sorry for any confusion. Thanks for taking time with this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428626#M558709</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2013-05-31T12:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428627#M558710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not going to work. There are no records where [CS Points] has a value if CS Group is '% and Numbers'. So the color expression will always evaluate as false. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one thing you could try and that is putting two pivot tables on top of each other. See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 13:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428627#M558710</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-31T13:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428628#M558711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that is very good suggestion. I will have a look at it. I have number of these pivots which I filtering on using a hide/show variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jun 2013 12:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428628#M558711</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2013-06-01T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428629#M558712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert I have been playing with this and have some questions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With table that holds the color statements and sits below the [CS Data] table how did you get [Custom] as a selection in the Current Style (style tab) as it hides the Dimension field name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment this is a test for a single pivot table. There will be a number of pivot tables and each may have different IF Color statements and they may change in the future. I thought of using variables but I can not get it work in Background Color and Text Color. Is it QV no no or is it a user error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I created the variable&amp;nbsp; vCSColor, tried to replace =if ([CS Points]= 0 , RGB (255,0,0), RGB (128, 255.0)) with $(vCSColor). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 09:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428629#M558712</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2013-06-03T09:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428630#M558713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'Custom' style is because I used the Custom Format Cell option to hide the dimension headers in the color pivot table. You can enable that option by checking Always Show Design Menu Items on the Design tab of the User Preferences window. After enabling it you can right click a cell and choose the Custom Format Cell option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable probably doesn't work because it starts with an = sign. In that case it is evaluated immediately whenever something in the document changes, for example a selection. If you want the variable to be evaluated only in the context in which it is used then it shouldn't include the = sign at the start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 09:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428630#M558713</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-03T09:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428631#M558714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks bunches. Both problems are solved now. I read about both a while ago but my memory sucks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 09:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428631#M558714</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2013-06-03T09:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428632#M558715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if I can press my luck and ask for your help again. Another issue has come up when applying this solution to multiple pivot tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a variable and buttons to help the user selection process. When the saved qvw is reopened and you make a selecion the IF Color statement table which was on the bottom now appears on the top. Very odd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached example qvw has three selections; Agency Relation, LCO and Customer Service. When saved on the Customer Service and reopened the other selections work. If you then save on the LCO selection and reopen the problem appears. Select Customer Service, resave and reopen presto all is good. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 09:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428632#M558715</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2013-06-05T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based on a 2nd IF Color condition data problem</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428633#M558716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the Layout tab of the pivot tables that should stay in the background set the layer option to Bottom. As long as the pivot tables with the values are placed in a higher layer they should be displayed on top of the background pivots.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 09:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-a-2nd-IF-Color-condition-data-problem/m-p/428633#M558716</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-05T09:12:29Z</dc:date>
    </item>
  </channel>
</rss>

