<?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: Mode and Prices in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491040#M183458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I forgot a "nodistinct"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(If(Price=Aggr(nodistinct Mode(Price),Period,City), Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 12:58:58 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2013-11-26T12:58:58Z</dc:date>
    <item>
      <title>Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491033#M183451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a little table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 384px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11.0pt; color: white; font-weight: bold; font-family: Calibri; border-top: none; border-right: .5pt solid white; border-bottom: 1.5pt solid white; border-left: none; background: #5B9BD5;" width="64"&gt;Period&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: white; font-weight: bold; font-family: Calibri; border-top: none; border-right: .5pt solid white; border-bottom: 1.5pt solid white; border-left: .5pt solid white; background: #5B9BD5;" width="64"&gt;City&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: white; font-weight: bold; font-family: Calibri; border-top: none; border-right: .5pt solid white; border-bottom: 1.5pt solid white; border-left: .5pt solid white; background: #5B9BD5;" width="64"&gt;Sku&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: white; font-weight: bold; font-family: Calibri; border-top: none; border-right: .5pt solid white; border-bottom: 1.5pt solid white; border-left: .5pt solid white; background: #5B9BD5;" width="64"&gt;Brand&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: white; font-weight: bold; font-family: Calibri; border-top: none; border-right: .5pt solid white; border-bottom: 1.5pt solid white; border-left: .5pt solid white; background: #5B9BD5;" width="64"&gt;Price&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: white; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 1.5pt solid white; border-left: .5pt solid white; background: #5B9BD5;" width="64"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #BDD7EE;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;A&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Sku1&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Alpha&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;1.5&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #BDD7EE;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #DDEBF7;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;A&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Sku2&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Alpha&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;1.5&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #DDEBF7;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #BDD7EE;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;A&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Sku3&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Beta&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;1.6&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #BDD7EE;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #DDEBF7;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;B&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Sku1&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Alpha&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;1.4&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #DDEBF7;"&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #BDD7EE;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;B&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Sku2&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Alpha&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;1.4&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #BDD7EE;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #DDEBF7;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;B&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Sku3&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Beta&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;1.3&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #DDEBF7;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #BDD7EE;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;C&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Sku1&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Alpha&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;1.5&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #BDD7EE;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #DDEBF7;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;C&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Sku2&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Alpha&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;1.4&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #DDEBF7;"&gt;110&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #BDD7EE;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;C&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Sku3&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;Beta&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #BDD7EE;"&gt;1.3&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #BDD7EE;"&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: .5pt solid white; border-left: none; background: #DDEBF7;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;C&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Sku4&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;Gamma&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border: .5pt solid white; background: #DDEBF7;"&gt;1.3&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: .5pt solid white; border-left: .5pt solid white; background: #DDEBF7;"&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: none; border-left: none; background: #BDD7EE;"&gt;201301&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: none; border-left: .5pt solid white; background: #BDD7EE;"&gt;C&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: none; border-left: .5pt solid white; background: #BDD7EE;"&gt;Sku5&lt;/TD&gt;&lt;TD style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: none; border-left: .5pt solid white; background: #BDD7EE;"&gt;Gamma&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: .5pt solid white; border-bottom: none; border-left: .5pt solid white; background: #BDD7EE;"&gt;1.3&lt;/TD&gt;&lt;TD align="right" style="font-size: 11.0pt; color: black; font-weight: 400; font-family: Calibri; border-top: .5pt solid white; border-right: none; border-bottom: none; border-left: .5pt solid white; background: #BDD7EE;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to build a Pivot Table that calculates the sum of the sales by city where the price equals the modal price (also by city).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to find out how to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be really appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm attaching a qvw with the table and what I've done so far...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 06:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491033#M183451</guid>
      <dc:creator />
      <dc:date>2013-11-26T06:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491034#M183452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(If(Price=Aggr(Mode(Price),Period,City), Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 11:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491034#M183452</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-11-26T11:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491035#M183453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain more deep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491035#M183453</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-11-26T12:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491036#M183454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adjusted your example to fit your needs (see attachment). I placed the logic in the script as to gain performance towards your end-users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491036#M183454</guid>
      <dc:creator>matthias_v</dc:creator>
      <dc:date>2013-11-26T12:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491037#M183455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;Henric Cronström&lt;/A&gt; !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used your expression but, sadly, I'm still not getting the correct numbers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/49537_pastedImage_0.png" style="width: 620px; height: 236px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct numbers should be the ones on the textboxes to the right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491037#M183455</guid>
      <dc:creator />
      <dc:date>2013-11-26T12:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491038#M183456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is not the answer here, since Ruben wants to make a comparison on every row of the pivot table. Set analysis will use a common "selection" for all rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, instead I use the Aggr() function, which in this case calculates the most common value (Mode(Price)) for each combination of Period and City, and then this value is used to select the relevant transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491038#M183456</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-11-26T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491039#M183457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried you approach and it works, I get the numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can this be done in a more "dynamic" way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just used "period" and "city" as dimensions, but if I add another (let's say "brand") I would have to reconfigure the LEFT JOIN in your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491039#M183457</guid>
      <dc:creator />
      <dc:date>2013-11-26T12:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491040#M183458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I forgot a "nodistinct"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(If(Price=Aggr(nodistinct Mode(Price),Period,City), Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491040#M183458</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-11-26T12:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491041#M183459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case Henric has the answer you seek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 13:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491041#M183459</guid>
      <dc:creator>matthias_v</dc:creator>
      <dc:date>2013-11-26T13:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491042#M183460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent Henric!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 13:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491042#M183460</guid>
      <dc:creator />
      <dc:date>2013-11-26T13:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mode and Prices</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491043#M183461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right, I just used the modified expression he posted and it works like a charm &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, your answer is also correct. It depends on the scenario I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 13:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-and-Prices/m-p/491043#M183461</guid>
      <dc:creator />
      <dc:date>2013-11-26T13:21:14Z</dc:date>
    </item>
  </channel>
</rss>

