<?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: Inline table and expression help? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661229#M241027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this so far. Quarter is 1, 2, 3, 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((Status='Not Started' or Status='InProgress' and Quarter&amp;gt; Ceil(Month(today()) /3)) or Quarter &amp;gt; Ceil(Month(today()) /3), , if(Status = 'InProgress', RGB(0,255,0), RGB(255,0,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for example, if the start is 1 and end is 1, it should show red.&lt;/P&gt;&lt;P&gt;The above expression only shows the Green. I am trying to show the red and green background in one column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something that I am doing wrong?&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, 06 Oct 2014 15:27:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-06T15:27:40Z</dc:date>
    <item>
      <title>Inline table and expression help?</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661224#M241022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to accomplish the following in a chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Status = In Progress and End Quarter has not passed , GREEN&lt;/P&gt;&lt;P&gt;2. Status = Not Started and Start Quarter has passed , RED&lt;/P&gt;&lt;P&gt;3. Status = In Progress and End Quarter has passed , RED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My start and end quarters are 1,2,3,4 in the database. How do I compare to current quarter? Is there a current quarter function in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an inline table that has Year+Quarter, Quarter, Start Quarter, End Quarter columns.&lt;/P&gt;&lt;P&gt;The data looks like 14-1, 1, 01/01/2014, 03/31/2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I compare the start quarter that has integers to this inline table and create the above 3 conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this working so far&lt;/P&gt;&lt;P&gt;=if(Status='Not Started' and START_QUARTER&amp;gt;1,RGB(255,153,153), IF(Status = 'In-Progress',RGB(0,255,0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest a way?&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, 06 Oct 2014 00:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661224#M241022</guid>
      <dc:creator />
      <dc:date>2014-10-06T00:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Inline table and expression help?</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661225#M241023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you're looking for the InQuarter function. From the help file:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;InQuarter (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Italic" style="font-size: 10pt; line-height: 1.5em;"&gt;date, basedate , shift [, first_month_of_year = 1]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="Bold" style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;returns true if &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt; lies inside the quarter containing &lt;SPAN class="Italic"&gt;basedate&lt;/SPAN&gt;. The quarter can be offset by &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt;. &lt;SPAN class="Italic"&gt;Shift&lt;/SPAN&gt; is an integer, where the value 0 indicates the quarter which contains &lt;SPAN class="Italic"&gt;basedate&lt;/SPAN&gt;. Negative values in &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt; indicate preceding quarters and positive values indicate succeeding quarters. If you want to work with (fiscal) years not starting in January, indicate a value between 2 and 12 in &lt;SPAN class="Italic"&gt;first_month_of_year&lt;/SPAN&gt;.&lt;/P&gt;&lt;P class="example" style="padding-left: 30px;"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;Examples:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;inquarter ( '2006-01-25', '2006-01-01', 0 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;inquarter ( '2006-01-25', '2006-04-01', 0 )&lt;/SPAN&gt; returns false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;inquarter ( '2006-01-25', '2006-01-01', -1 )&lt;/SPAN&gt; returns false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;inquarter ( '2005-12-25', '2006-01-01', -1 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;inquarter ( '2006-01-25', '2006-03-01', 0, 3 )&lt;/SPAN&gt; returns false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;inquarter ( '2006-03-25', '2006-03-01', 0, 3 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 09:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661225#M241023</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-06T09:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Inline table and expression help?</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661226#M241024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. I still haven't got it working. How do I compare Quarter that is an integer to the current quarter? I need to work this out in an expression. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 13:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661226#M241024</guid>
      <dc:creator />
      <dc:date>2014-10-06T13:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Inline table and expression help?</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661227#M241025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will return the Quarter Number of today()&amp;nbsp; i.e. the integer for current quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Month(today()) /3) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;your start and end quarters are 1,2,3,4 in the database, so you should be able to do your comparison.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661227#M241025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-06T14:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Inline table and expression help?</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661228#M241026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would convert the integer to an arbitrary date using MakeDate(2000,[QtrInt]*3,1)... or if you want to be a bit neater then make it the end of the quarter using Date(Floor(MonthEnd(MakeDate(etc...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661228#M241026</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2014-10-06T14:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Inline table and expression help?</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661229#M241027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this so far. Quarter is 1, 2, 3, 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((Status='Not Started' or Status='InProgress' and Quarter&amp;gt; Ceil(Month(today()) /3)) or Quarter &amp;gt; Ceil(Month(today()) /3), , if(Status = 'InProgress', RGB(0,255,0), RGB(255,0,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for example, if the start is 1 and end is 1, it should show red.&lt;/P&gt;&lt;P&gt;The above expression only shows the Green. I am trying to show the red and green background in one column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something that I am doing wrong?&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, 06 Oct 2014 15:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661229#M241027</guid>
      <dc:creator />
      <dc:date>2014-10-06T15:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Inline table and expression help?</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661230#M241028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I have so far in my expression but I do not see the colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Status='NotStarted' and startQuarter &amp;lt; Ceil(Month(today()) /3), RGB(255,0,0), &lt;/P&gt;&lt;P&gt;If(Status = 'InProgress' or Status = 'MultiYear' or Status = 'OnGoing' and endQuarter &amp;lt; Ceil(Month(today()) /3),RGB(255,0,0),&lt;/P&gt;&lt;P&gt;If(Status='InProgress' and endQuarter &amp;gt; Ceil(Month(today()) /3), RGB(0,255,0),RGB(255,255,255))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? Could it be because the Status = InProgress is used twice in the same expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 00:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-table-and-expression-help/m-p/661230#M241028</guid>
      <dc:creator />
      <dc:date>2014-10-15T00:35:21Z</dc:date>
    </item>
  </channel>
</rss>

