<?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 Current Value of ValueLoop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Value-of-ValueLoop/m-p/1422346#M428897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I want the current value of the valueloop function when a condition doesnt match. Here is my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to colour the graph(in line chart) based on current month value. If the months are greater than current month, i want to show a in grey. Further, I have some missing months in my data. Here is an example of my data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Acnt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jul&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to plot missing months with sales values value as 0. I have already achieved this by using Value loop function -&lt;/P&gt;&lt;P&gt;sum(if(ValueLoop(1,12)=[Month No], Sales, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, While I am trying to colour the graph(Expression&amp;gt;Background Colour), I am having issue. I think If I can get the current value of the value loop function which dont match with the Month Number, I can colour the graph per my need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Samy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 14:35:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-24T14:35:19Z</dc:date>
    <item>
      <title>Current Value of ValueLoop</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Value-of-ValueLoop/m-p/1422346#M428897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I want the current value of the valueloop function when a condition doesnt match. Here is my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to colour the graph(in line chart) based on current month value. If the months are greater than current month, i want to show a in grey. Further, I have some missing months in my data. Here is an example of my data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Acnt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jul&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to plot missing months with sales values value as 0. I have already achieved this by using Value loop function -&lt;/P&gt;&lt;P&gt;sum(if(ValueLoop(1,12)=[Month No], Sales, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, While I am trying to colour the graph(Expression&amp;gt;Background Colour), I am having issue. I think If I can get the current value of the value loop function which dont match with the Month Number, I can colour the graph per my need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Samy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Value-of-ValueLoop/m-p/1422346#M428897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T14:35:19Z</dc:date>
    </item>
  </channel>
</rss>

