<?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 Having Difficulty Excluding Dimensions in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Having-Difficulty-Excluding-Dimensions-in-Set-Analysis/m-p/424144#M1168179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have looked through Numerous examples but I cannot get this to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I current have the following Dimesions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carrier&lt;/P&gt;&lt;P&gt;Family Id&lt;/P&gt;&lt;P&gt;Mem Id&lt;/P&gt;&lt;P&gt;Service Date&lt;/P&gt;&lt;P&gt;Mem Paid&lt;/P&gt;&lt;P&gt;Plan Paid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then have to calculate Plan Paid for&amp;nbsp; Service Dates that are greater than an eligibility date and am trying to use a set analysis to sum it to a Member Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;sum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;BR /&gt; {$&amp;lt;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;[Service Date]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;$(=max(total &amp;lt;[Carrier],[Mem Id]&amp;gt; [Eligibility Date]))"&lt;/SPAN&gt;}, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;[Service Date]&lt;/SPAN&gt; = , &lt;SPAN style="color: #800000;"&gt;[Plan Paid]&lt;/SPAN&gt; = , &lt;SPAN style="color: #800000;"&gt;[Mem Paid]&lt;/SPAN&gt;&amp;gt;}&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;[Plan Paid]&lt;/SPAN&gt; )&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not sum at the Mem Id level, it is suming each individual line.&amp;nbsp; I have tried adding aggrs and totals but cannot seem to get this to work.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2012 21:03:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-19T21:03:37Z</dc:date>
    <item>
      <title>Having Difficulty Excluding Dimensions in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Difficulty-Excluding-Dimensions-in-Set-Analysis/m-p/424144#M1168179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have looked through Numerous examples but I cannot get this to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I current have the following Dimesions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carrier&lt;/P&gt;&lt;P&gt;Family Id&lt;/P&gt;&lt;P&gt;Mem Id&lt;/P&gt;&lt;P&gt;Service Date&lt;/P&gt;&lt;P&gt;Mem Paid&lt;/P&gt;&lt;P&gt;Plan Paid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then have to calculate Plan Paid for&amp;nbsp; Service Dates that are greater than an eligibility date and am trying to use a set analysis to sum it to a Member Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;sum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;BR /&gt; {$&amp;lt;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;[Service Date]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;$(=max(total &amp;lt;[Carrier],[Mem Id]&amp;gt; [Eligibility Date]))"&lt;/SPAN&gt;}, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;[Service Date]&lt;/SPAN&gt; = , &lt;SPAN style="color: #800000;"&gt;[Plan Paid]&lt;/SPAN&gt; = , &lt;SPAN style="color: #800000;"&gt;[Mem Paid]&lt;/SPAN&gt;&amp;gt;}&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;[Plan Paid]&lt;/SPAN&gt; )&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not sum at the Mem Id level, it is suming each individual line.&amp;nbsp; I have tried adding aggrs and totals but cannot seem to get this to work.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 21:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Difficulty-Excluding-Dimensions-in-Set-Analysis/m-p/424144#M1168179</guid>
      <dc:creator />
      <dc:date>2012-09-19T21:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Having Difficulty Excluding Dimensions in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Difficulty-Excluding-Dimensions-in-Set-Analysis/m-p/424145#M1168180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I think you shouldn't use [Service Date] twice in your set modifier list (what do you want to achieve herewith?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to aggregate up to a certain level of your dimensions (i.e. dimensionality() ), you could use a total with a field list (similar to what you used in the advanced search for Service Date set modifier).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum( total&amp;lt;Carrier, [Family Id], [Mem Id]&amp;gt; {$&amp;lt;[Service Date]={"&amp;gt;$(=max([Eligibility Date]))"}&amp;gt;} [Plan Paid])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see, I am also not sure about the advanced search in the [Service Date] set modifier. The dollar sign expansion and the set expression is evaluated once per chart, not per dimension value. Do you need to calculate the max Eligibility Date per current Carrier and Mem Id dimension value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe some sample lines of data together with your expected outcome help to understand your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 22:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Difficulty-Excluding-Dimensions-in-Set-Analysis/m-p/424145#M1168180</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-19T22:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Having Difficulty Excluding Dimensions in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Having-Difficulty-Excluding-Dimensions-in-Set-Analysis/m-p/424146#M1168182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply swuehl.&amp;nbsp; I did not realize that the $ expansion is evaluated once per chart so that is a BIG help.&amp;nbsp; I am needing to calculate the eligilibty by the member.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might lead me in the right direction knowing that.&amp;nbsp; If not I will try to mock up some data to post.&amp;nbsp; I appreciate the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 14:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-Difficulty-Excluding-Dimensions-in-Set-Analysis/m-p/424146#M1168182</guid>
      <dc:creator />
      <dc:date>2012-09-20T14:07:50Z</dc:date>
    </item>
  </channel>
</rss>

