<?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 Color Expression for 2 Measures in Bar Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-2-Measures-in-Bar-Chart/m-p/1053541#M16650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a bar chart that compares 4 categories' current and previous scores. I would like the current score for each category to be a different color and all previous scores to be grey. However, I am having trouble using an IF statement since the score calculations require a set analysis. The formulas for current and previous scores are the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Current Score&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date))"}&amp;gt;}[Points_Earned])&lt;/P&gt;&lt;P&gt;/sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date))"}&amp;gt;}[Points_Possible]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Previous Score &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date,2))"}&amp;gt;}[Points_Earned])&lt;/P&gt;&lt;P&gt;/sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date,2))"}&amp;gt;}[Points_Possible]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;DJE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2016 18:22:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-18T18:22:45Z</dc:date>
    <item>
      <title>Color Expression for 2 Measures in Bar Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-2-Measures-in-Bar-Chart/m-p/1053541#M16650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a bar chart that compares 4 categories' current and previous scores. I would like the current score for each category to be a different color and all previous scores to be grey. However, I am having trouble using an IF statement since the score calculations require a set analysis. The formulas for current and previous scores are the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Current Score&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date))"}&amp;gt;}[Points_Earned])&lt;/P&gt;&lt;P&gt;/sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date))"}&amp;gt;}[Points_Possible]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Previous Score &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date,2))"}&amp;gt;}[Points_Earned])&lt;/P&gt;&lt;P&gt;/sum({$&amp;lt;Evaluation_Start_Date={"$(=max(Evaluation_Start_Date,2))"}&amp;gt;}[Points_Possible]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;DJE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 18:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-Expression-for-2-Measures-in-Bar-Chart/m-p/1053541#M16650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-18T18:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Color Expression for 2 Measures in Bar Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-2-Measures-in-Bar-Chart/m-p/1053542#M16651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Please share your model, I cant propose a solution without it &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 05:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-Expression-for-2-Measures-in-Bar-Chart/m-p/1053542#M16651</guid>
      <dc:creator />
      <dc:date>2016-04-19T05:03:26Z</dc:date>
    </item>
  </channel>
</rss>

