<?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 Problem in straight table using set analysis. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077763#M941938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;I'm using the following example expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;Status = {'Paid'},&amp;nbsp; Strike_Date -= {"&amp;lt;$(=vBank_Date)"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's hard to fully explain what this expression does,&lt;STRONG&gt; but it works.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a ContractID as a dimension. My variable /expression only works correctly when I select an individual contract number, it does not work in the chart. In the chart it just counts all the payments made per contract, instead of what I'm specifying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I force this expression over each contractID instead of having to select a contract?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 06:54:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-27T06:54:38Z</dc:date>
    <item>
      <title>Problem in straight table using set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077763#M941938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;I'm using the following example expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;Status = {'Paid'},&amp;nbsp; Strike_Date -= {"&amp;lt;$(=vBank_Date)"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's hard to fully explain what this expression does,&lt;STRONG&gt; but it works.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a ContractID as a dimension. My variable /expression only works correctly when I select an individual contract number, it does not work in the chart. In the chart it just counts all the payments made per contract, instead of what I'm specifying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I force this expression over each contractID instead of having to select a contract?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 06:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077763#M941938</guid>
      <dc:creator />
      <dc:date>2016-01-27T06:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in straight table using set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077764#M941939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use AGGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(AGGR(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({$&amp;lt;Status = {'Paid'},&amp;nbsp; Strike_Date -= {"&amp;lt;$(=vBank_Date)"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , contractID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also take a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3857"&gt;QlikView Technical Brief - AGGR.docx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also keep in mind that Set Analysis is performed before the chart calculation.&lt;/P&gt;&lt;P&gt;The used variable vBank_Date will be calculated as a overall date, not a date per contractID .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 08:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077764#M941939</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2016-01-27T08:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in straight table using set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077765#M941940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your variable &lt;EM&gt;vBank_Date &lt;/EM&gt;defined? Could you post a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 08:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077765#M941940</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-01-27T08:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in straight table using set analysis.</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077766#M941941</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 think the issue is with the variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vBank_Date &lt;/SPAN&gt;you used &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;in the expression, check whether it returns single or multiple or it is returning a valid date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 09:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-straight-table-using-set-analysis/m-p/1077766#M941941</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-01-27T09:01:18Z</dc:date>
    </item>
  </channel>
</rss>

