<?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: Expression Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/546267#M1132777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's all in one table, is it?&lt;/P&gt;&lt;P&gt;Well, I would consider splitting it into two tables (by filtering on COST_CD and EXTENDED_AMT) and then joining on those fields - or sorting the table by those two fields.&lt;/P&gt;&lt;P&gt;=&amp;gt; With the first approach (joining) and a variance, join on only COST_CD and put EXTENDED_AMT (with the 10%) in a WHERE_clause.&lt;/P&gt;&lt;P&gt;=&amp;gt; When you stick with one table and sort it, you can use the PREVIOUS() function to calculate the variance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 16:03:51 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2013-11-19T16:03:51Z</dc:date>
    <item>
      <title>Expression Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/546266#M1132776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to match costs/revenues based on the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match 'Cost (Payable)' with 'Revenue (Receivable)' (field COST_REVENUE_IND) on the same COST_CD and EXTENDED_AMT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is it possible to match on EXTENDED_AMT (with a 10% variance)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly I would also like to be able to restrict the straight table to only show records where the % Variance from Mean is a certain % say 100%&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Any pointers as to how to approach the above will be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma; font-size: 10pt;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/546266#M1132776</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2013-11-19T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/546267#M1132777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's all in one table, is it?&lt;/P&gt;&lt;P&gt;Well, I would consider splitting it into two tables (by filtering on COST_CD and EXTENDED_AMT) and then joining on those fields - or sorting the table by those two fields.&lt;/P&gt;&lt;P&gt;=&amp;gt; With the first approach (joining) and a variance, join on only COST_CD and put EXTENDED_AMT (with the 10%) in a WHERE_clause.&lt;/P&gt;&lt;P&gt;=&amp;gt; When you stick with one table and sort it, you can use the PREVIOUS() function to calculate the variance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 16:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/546267#M1132777</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-11-19T16:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/546268#M1132778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to post an example of what you mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I want to show pairs of data where the EXTENDED_AMT and COST_CD are the same, but the COST_REVENUE_IND are different.&amp;nbsp; Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 18:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/546268#M1132778</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2013-11-19T18:17:15Z</dc:date>
    </item>
  </channel>
</rss>

