<?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: paint text red if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204664#M625365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those formules give correct values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1) &amp;lt; 0.083, RGB(255, 128, 128))&lt;/P&gt;&lt;P&gt;this value gives error in this section:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;) &amp;lt; 0.083, RGB(255, 128, 128))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;It gives me error in the expression in the place as in my previous formule.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How can this be resolved?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In the attachment you can find a printscreen and the doc.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Merci &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Oct 2016 08:00:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-23T08:00:08Z</dc:date>
    <item>
      <title>paint text red if</title>
      <link>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204662#M625363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to paint a table red and bold if they reach 1/12 percent difference.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1) &amp;lt; 8.3, RGB(255, 128, 128))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It says me that the last part of my script is not right. What could it be there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 06:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204662#M625363</guid>
      <dc:creator />
      <dc:date>2016-10-19T06:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: paint text red if</title>
      <link>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204663#M625364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are these two expressions working and giving correct values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1) &amp;lt; &lt;SPAN style="color: #ff0000;"&gt;0.083&lt;/SPAN&gt;, RGB(255, 128, 128))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 17:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204663#M625364</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-19T17:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: paint text red if</title>
      <link>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204664#M625365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those formules give correct values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1) &amp;lt; 0.083, RGB(255, 128, 128))&lt;/P&gt;&lt;P&gt;this value gives error in this section:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;) &amp;lt; 0.083, RGB(255, 128, 128))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;It gives me error in the expression in the place as in my previous formule.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How can this be resolved?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In the attachment you can find a printscreen and the doc.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Merci &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 08:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204664#M625365</guid>
      <dc:creator />
      <dc:date>2016-10-23T08:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: paint text red if</title>
      <link>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204665#M625366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have these extra parenthesis here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1&lt;SPAN style="color: #ff0000; font-size: 14pt; text-decoration: line-through;"&gt;)&lt;/SPAN&gt; &amp;lt; 0.083, RGB(255, 128, 128))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you remove this, you should be fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1 &amp;lt; 0.083, RGB(255, 128, 128))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Sum({1&amp;lt;OrderYearMonth = {$(selectedYearMonth)}&amp;gt;}LineTotal)/Sum({1&amp;lt;OrderYearMonth = {$(YearSelected)}, OrderYearMonth&amp;gt;}LineTotal) - 1 &amp;lt; 0.083, RGB(255, 128, 128))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 05:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/paint-text-red-if/m-p/1204665#M625366</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-24T05:41:59Z</dc:date>
    </item>
  </channel>
</rss>

