<?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: Aggregate with different set expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-with-different-set-expressions/m-p/1798482#M1211463</link>
    <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Sum({set expression} Alt(&lt;SPAN&gt;[estimated price by appraiser],&amp;nbsp;[purchase price]))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 23:47:30 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-04-09T23:47:30Z</dc:date>
    <item>
      <title>Aggregate with different set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-with-different-set-expressions/m-p/1798463#M1211460</link>
      <description>&lt;P&gt;there are 2000 properties in 10 different countries. Each property has a purchase price.&lt;BR /&gt;there are 5 appraisers. Each of them reassess some of the 20 properties.&lt;BR /&gt;This leads us to two tables.&lt;/P&gt;&lt;P&gt;1: property, country, purchase price, date of sale announcement, status of sale&lt;BR /&gt;2: appraiser, property, estimated price&lt;/P&gt;&lt;P&gt;Table one shows property, country, purchase price overruled by estimated price of selected appraiser if exists (called "current price")&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ISNULL(ONLY([estimated price by appraiser]))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;,ONLY($(setexpression) [purchase price])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;,ONLY([estimated price by appraiser])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;where $(setexpression) restricts to specific timeframe when sales have been announced first as well as to specific status of sale&lt;/P&gt;&lt;P&gt;wanted: table two should show the sum of current prices per country (formula above aggregated by country) restricted to properties that fit to $(setexpression) in general&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 19:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-with-different-set-expressions/m-p/1798463#M1211460</guid>
      <dc:creator>Franz_Lackner</dc:creator>
      <dc:date>2021-04-09T19:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate with different set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-with-different-set-expressions/m-p/1798482#M1211463</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Sum({set expression} Alt(&lt;SPAN&gt;[estimated price by appraiser],&amp;nbsp;[purchase price]))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 23:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-with-different-set-expressions/m-p/1798482#M1211463</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-04-09T23:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate with different set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-with-different-set-expressions/m-p/1798552#M1211469</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much. To my shame, I didn't know about the ALT function until now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 22:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-with-different-set-expressions/m-p/1798552#M1211469</guid>
      <dc:creator>Franz_Lackner</dc:creator>
      <dc:date>2021-04-10T22:40:00Z</dc:date>
    </item>
  </channel>
</rss>

