<?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: If Colour Statement (Set Expression within a Pivot Table) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829942#M1012186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if Dim1 = {'Test123'} &amp;lt;=1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't understand this at all. I'm afraid things are getting less clear instead of more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 16:58:07 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-04-27T16:58:07Z</dc:date>
    <item>
      <title>If Colour Statement (Set Expression within a Pivot Table)</title>
      <link>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829937#M1012177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot seem to get my if colour statement working quite the way I want it to so would appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum({$&amp;lt;Week_Commencing = {"&amp;lt;=$(vMaxDate), &amp;gt;=$(=vPriorWeek)"}, Dim1 = {'Test123'}&amp;gt;} [Amount]) &amp;lt;=1, lightred(),)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to flag the Amount if it less than 2 for a particular 'Dim1', but not the others as this calculation is not relevant for them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 10:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829937#M1012177</guid>
      <dc:creator />
      <dc:date>2015-04-27T10:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: If Colour Statement (Set Expression within a Pivot Table)</title>
      <link>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829938#M1012178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Week_Commencing = {"&amp;lt;=$(vMaxDate), &amp;gt;=$(=vPriorWeek)"}&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is an OR filter. It will create a set of values that are (&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;smaller or equal to vMaxDate) OR (larger or equal to vPriorWeek).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want an AND filter then remove the comma:&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Week_Commencing = {"&amp;gt;=$(=vPriorWeek)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;=$(vMaxDate)&lt;/SPAN&gt;"}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 10:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829938#M1012178</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-27T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: If Colour Statement (Set Expression within a Pivot Table)</title>
      <link>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829939#M1012180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not make my self clear enough the sum works as I require it to. It is the if &amp;lt;=1 colour statement that does not work in the way that I require it to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want the background of the cell to change for the 'Dim1 = {'Test123'} ' part of the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829939#M1012180</guid>
      <dc:creator />
      <dc:date>2015-04-27T13:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: If Colour Statement (Set Expression within a Pivot Table)</title>
      <link>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829940#M1012182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand yet. What are the conditions for when the background color should change? If only &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Dim1='Test123' is the condition then the expression would be if(Dim1='Test123', lightred()).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829940#M1012182</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-27T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: If Colour Statement (Set Expression within a Pivot Table)</title>
      <link>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829941#M1012184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the expression I am currently using which is working is:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Week_Commencing = {"&amp;lt;=$(vMaxDate), &amp;gt;=$(=vPriorWeek)"}&amp;gt;} [Amount]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this to change colour if Dim1 = {'Test123'} &amp;lt;=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 15:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829941#M1012184</guid>
      <dc:creator />
      <dc:date>2015-04-27T15:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: If Colour Statement (Set Expression within a Pivot Table)</title>
      <link>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829942#M1012186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if Dim1 = {'Test123'} &amp;lt;=1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't understand this at all. I'm afraid things are getting less clear instead of more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 16:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Colour-Statement-Set-Expression-within-a-Pivot-Table/m-p/829942#M1012186</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-27T16:58:07Z</dc:date>
    </item>
  </channel>
</rss>

