<?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: Set Analysis Expression Aggregation Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602452#M479451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but it's not articulated enough for me. It's impossible to tell from your post what's happening in your document. Try posting a sample document that demonstrates the problem. Read this document to find out how you can create a small non-confidential document: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 18:42:53 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-02-03T18:42:53Z</dc:date>
    <item>
      <title>Set Analysis Expression Aggregation Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602451#M479450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, thank for the taking the time to view and assist. I may be overlooking something here but this is giving me a headache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objective: I'm looking to to reflect the various departmental collections within the selection (Month(s)) time frame. e.g. Bankrutpcy/Recovery by Time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem: It's aggregating the departments collections throughout the entire data set (over all the Months), regardless of the {$} indication. Despite the user selecting a specific month, it reflects the the SUM throughout all of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example formulas&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Department]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Recovery'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[PRINPMT_28_1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Department]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Recovery'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[PRINNSF_28_2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To calculate the total collected, We add the PRINPMT_28_1 + PRINNSF_28_2 to reconcile the payments that bounced, or transactions that were removed from books.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The same formual exists in a different expression that shows how much of a particular amount was collected for a various client by the Bankruptcy department. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This makes a very easy and convenient way for the user to see how much of the "SUM" came from which department. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I hope I articulated this enough for everyone. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 18:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602451#M479450</guid>
      <dc:creator />
      <dc:date>2014-02-03T18:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Aggregation Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602452#M479451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but it's not articulated enough for me. It's impossible to tell from your post what's happening in your document. Try posting a sample document that demonstrates the problem. Read this document to find out how you can create a small non-confidential document: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 18:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602452#M479451</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-03T18:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Aggregation Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602453#M479452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;It is hard to tell, but let me guess...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;If you want the expression result to be independent from selections ("regardless of the {$} indication"), you have to use set identifier 1 rater than $.&amp;nbsp; Maybe this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;({&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #800000;"&gt;[Department]&lt;/SPAN&gt; = {'Recovery'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;[PRINPMT_28_1]&lt;/SPAN&gt;) + &lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;({&lt;STRONG style="color: #ff0000;"&gt;1&lt;/STRONG&gt;&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Department]&lt;/SPAN&gt; = {'Recovery'}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;[PRINNSF_28_2]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;But, as &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;Gysbert Wassenaar&lt;/A&gt; said, can't tell for sure without an example&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 19:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602453#M479452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-03T19:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Aggregation Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602454#M479453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be an issue related to the alternate states within the document. When I apply the alternate state, it disregards the current selection (which is NOT desired) opposed to me specifying the inhereted state it DOES consider the current selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 20:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602454#M479453</guid>
      <dc:creator />
      <dc:date>2014-02-03T20:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Aggregation Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602455#M479454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Noob Mistake &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;I didn't reference the alt. state appropriately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Gross Dollar Comparison]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Department]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Recovery'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[PRINPMT_28_1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Gross Dollar Comparison]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Department]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Recovery'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[PRINNSF_28_2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks for your time, I do appreciate it. Apologies for the lack of clarity. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 20:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Aggregation-Issue/m-p/602455#M479454</guid>
      <dc:creator />
      <dc:date>2014-02-03T20:51:33Z</dc:date>
    </item>
  </channel>
</rss>

