<?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 Expression dependant on fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-dependant-on-fields/m-p/311403#M1198036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Hi&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;I would like to input an expression that tells Qlikview to use the actual expression up to the last complete week and beyond that to use our own the forecast values.&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;I currently have the following fields/variables:&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;LCW - Last Complete Week eg Wk44 Field only&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;CURRETNYEAR - Current Year eg F2011 Field &amp;amp; Variable&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;We have a forecast uploaded into Qlikview and the coding is as follows:&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;SUM({$ &amp;lt;Forecast.ForecastType = {"KG"}, Forecast.ForecastVersion = {"Current"}&amp;gt;}Forecast.Value)&lt;/P&gt;&lt;P class="MsoNoSpacing" style="font-weight: bold; margin: 0cm 0cm 0pt"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;The Actual data is as follows:&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;B&gt;Sum&lt;/B&gt; ( {$&amp;lt;&lt;B&gt;STTR_STATUS&lt;/B&gt; = {50, 99} &amp;gt;} &lt;B&gt;SoldKG&lt;/B&gt;)&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;I would like to input an expression that tells Qlikview to use the actual expression up to the LCW (CURRENTYEAR &amp;amp; LCW = F2011WK43) and beyond that to use the forecast values.&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Is there any way of doing this?&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;In a chart would it be possible to make the line change colour after the last complete week.&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Thanks&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 14:19:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-08T14:19:52Z</dc:date>
    <item>
      <title>Expression dependant on fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-dependant-on-fields/m-p/311403#M1198036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Hi&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;I would like to input an expression that tells Qlikview to use the actual expression up to the last complete week and beyond that to use our own the forecast values.&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;I currently have the following fields/variables:&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;LCW - Last Complete Week eg Wk44 Field only&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;CURRETNYEAR - Current Year eg F2011 Field &amp;amp; Variable&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;We have a forecast uploaded into Qlikview and the coding is as follows:&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;SUM({$ &amp;lt;Forecast.ForecastType = {"KG"}, Forecast.ForecastVersion = {"Current"}&amp;gt;}Forecast.Value)&lt;/P&gt;&lt;P class="MsoNoSpacing" style="font-weight: bold; margin: 0cm 0cm 0pt"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;The Actual data is as follows:&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;B&gt;Sum&lt;/B&gt; ( {$&amp;lt;&lt;B&gt;STTR_STATUS&lt;/B&gt; = {50, 99} &amp;gt;} &lt;B&gt;SoldKG&lt;/B&gt;)&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;I would like to input an expression that tells Qlikview to use the actual expression up to the LCW (CURRENTYEAR &amp;amp; LCW = F2011WK43) and beyond that to use the forecast values.&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Is there any way of doing this?&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;In a chart would it be possible to make the line change colour after the last complete week.&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Thanks&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0cm 0cm 0pt;"&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 14:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-dependant-on-fields/m-p/311403#M1198036</guid>
      <dc:creator />
      <dc:date>2011-03-08T14:19:52Z</dc:date>
    </item>
  </channel>
</rss>

