<?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: Inter record functions in chart to work on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661528#M538682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do an if()&amp;nbsp; expression to 'check' if the above or below field is null and alter the formula accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to show the values from the previous selection state&amp;nbsp; , you can try to use SET ANALYSIS . Use a&amp;nbsp; {$1} as a SET IDENTIFIER to grab the previous selection state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the help:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$1} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;returns sales for the previous selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&amp;nbsp; isnull(above(Sum(Sales)) = -1&amp;nbsp; ,&amp;nbsp; above( &lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$1} Sales &lt;SPAN class="Bold"&gt;) ) ,&amp;nbsp; sum(Sales) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: i haven't tried it ! Just guessing at this point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2014 12:39:34 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-09-22T12:39:34Z</dc:date>
    <item>
      <title>Inter record functions in chart to work on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661526#M538680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot chart, where I have used inter-record function "Above"&amp;nbsp; and "Before" to compare and get new values. But, I ran into a problem here. Whenever, I select a specific value on a chart, values in expressions derived using these inter-record functions are becoming nulls. I know its because they no longer have values before or above them. But, is there any way I can get these values to show upon selecting a specific value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario is (Just an example). My chart is little complicated and has totally different expressions than these.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Years as dimension horizon and Sum(Sales), Before(Sum(Sales)-Before(Sum(Profits))+Sum(Expenses)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 12:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661526#M538680</guid>
      <dc:creator />
      <dc:date>2014-09-22T12:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inter record functions in chart to work on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661527#M538681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 12:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661527#M538681</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-22T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Inter record functions in chart to work on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661528#M538682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do an if()&amp;nbsp; expression to 'check' if the above or below field is null and alter the formula accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to show the values from the previous selection state&amp;nbsp; , you can try to use SET ANALYSIS . Use a&amp;nbsp; {$1} as a SET IDENTIFIER to grab the previous selection state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the help:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$1} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;returns sales for the previous selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&amp;nbsp; isnull(above(Sum(Sales)) = -1&amp;nbsp; ,&amp;nbsp; above( &lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$1} Sales &lt;SPAN class="Bold"&gt;) ) ,&amp;nbsp; sum(Sales) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: i haven't tried it ! Just guessing at this point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 12:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661528#M538682</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-22T12:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Inter record functions in chart to work on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661529#M538683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this might work. I kind of drifted away from this requirement now and using this whole thing in script. I'd try it after completing the current one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, by the approach. I feel this might work. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 12:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inter-record-functions-in-chart-to-work-on-selection/m-p/661529#M538683</guid>
      <dc:creator />
      <dc:date>2014-09-25T12:08:22Z</dc:date>
    </item>
  </channel>
</rss>

