<?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 on a Data Island in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330403#M492425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Thanks for the response. I tried using this statement and few different variations of it, but none of them gave me any data.&amp;nbsp; Any other suggestions?&amp;nbsp; Thanks.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 17:06:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-03T17:06:20Z</dc:date>
    <item>
      <title>Set Analysis on a Data Island</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330401#M492422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikview and I cannot figure out how to solve this issue.&amp;nbsp; I have a data island and I want to calculate total payments from this data island.&amp;nbsp; I have a chart that has dimensions of vendor and year.&amp;nbsp;&amp;nbsp; I am trying to figure out the expression to use to pull the correct payment totals.&amp;nbsp; The data island has a Payment Year and Payment Vendor.&amp;nbsp; So basically I want the payment total on each line to be the sum of all payments were Payment Year = the current row’s dimension year and Payment Vendor = the current row’s dimension vendor.&amp;nbsp; I have tried all the following combinations but none of them seem to work.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- sum({$&amp;lt;PaymentFiscalYear=FiscalYear,PaymentVendor=Vendor&amp;gt;}&amp;nbsp; Payments)&lt;/P&gt;&lt;P&gt;- sum({$&amp;lt;PaymentFiscalYear=P({$}FiscalYear),PaymentVendor= P({$}Vendor)&amp;gt;}&amp;nbsp; Payments)&lt;/P&gt;&lt;P&gt;- sum(if(PaymentFiscalYear=FiscalYear,if(PaymentVendor=Vendor,Payments)))&lt;/P&gt;&lt;P&gt;- sum(if(PaymentFiscalYear=FiscalYear and PaymentVendor=Vendor, Payments)) &lt;/P&gt;&lt;P&gt;- sum({$&amp;lt;PaymentFiscalYear=P({$}FiscalYear),PaymentVendor=P({$}Vendor)&amp;gt;}&amp;nbsp; distinct if(PaymentFiscalYear=FiscalYear,if(PaymentVendor=Vendor,Payments)))&lt;/P&gt;&lt;P&gt;- sum({$&amp;lt;PaymentFiscalYear=P({$}FiscalYear),PaymentVendor=P({$}Vendor)&amp;gt;} if(PaymentFiscalYear=FiscalYear,if(PaymentVendor=Vendor,Payments)))&lt;/P&gt;&lt;P&gt;- sum({$&amp;lt;PaymentFiscalYear=P(FiscalYear),PaymentVendor=P(Vendor)&amp;gt;} if(PaymentFiscalYear=FiscalYear and PaymentVendor=Vendor,Payments))&lt;/P&gt;&lt;P&gt;- if(PaymentFiscalYear = only(FiscalYear) and PaymentVendor = only(Vendor),sum(Payments)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 01:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330401#M492422</guid>
      <dc:creator />
      <dc:date>2012-07-03T01:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on a Data Island</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330402#M492423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;sum(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;{$&amp;lt;PaymentFiscalYear={"=FiscalYear"},PaymentVendor={"=Vendor"}&amp;gt;} &lt;/SPAN&gt;Payments)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 16:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330402#M492423</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-07-03T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on a Data Island</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330403#M492425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Thanks for the response. I tried using this statement and few different variations of it, but none of them gave me any data.&amp;nbsp; Any other suggestions?&amp;nbsp; Thanks.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 17:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330403#M492425</guid>
      <dc:creator />
      <dc:date>2012-07-03T17:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on a Data Island</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330404#M492427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait, if you have PaymentFiscalYear and PaymentVendor as dimensions in your chart, you only have to make the sum:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Payments)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sum() operation will add all the Payments grouping by opened dimensions in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps, may be you could upload your file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 17:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330404#M492427</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-07-03T17:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on a Data Island</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330405#M492430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried not using a set expression but a simple if() statement in your sum, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum( if( PaymentFiscalYear=FiscalYear and PaymentVendor=Vendor, Payments))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As with any set expression, the set analysis won't consider the current row's dimension values, so I think that's one of biggest issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But maybe I am just not fully understanding your setting and requirements, could you maybe post a simple sample QV file? Upload is available in advanced editor.&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>Tue, 03 Jul 2012 17:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330405#M492430</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-03T17:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on a Data Island</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330406#M492431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a small sample of the qlikview application I have issues with.&amp;nbsp; In the chart there is a column for Payments Total Spend.&amp;nbsp; I am trying to sum up the payments for a particular vendor and year.&amp;nbsp; So I need an expression that will sum the payments where PaymentYear = the dimension year and PaymentVendor = the dimension vendor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 18:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-a-Data-Island/m-p/330406#M492431</guid>
      <dc:creator />
      <dc:date>2012-07-03T18:08:04Z</dc:date>
    </item>
  </channel>
</rss>

