<?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: Dimensions not matching Selections in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dimensions-not-matching-Selections/m-p/140172#M9832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that this is something you won't be able to perform using set analysis because set analysis is performed once per chart and not per dimension. May be use Aggr() to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;PERIODO = {'201709'}&amp;gt;} Aggr(If(Count(DISTINCT {&amp;lt;PERIODO = {'201809'}&amp;gt;} [Customer Number]) = 0, [Customer Number]), [Customer Number], Type))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 11:47:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-10-26T11:47:46Z</dc:date>
    <item>
      <title>Dimensions not matching Selections</title>
      <link>https://community.qlik.com/t5/App-Development/Dimensions-not-matching-Selections/m-p/140171#M9831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue with an app we are currently working on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea of the measure is to give the unique volume of customers who are new to our business in the past year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you look at the measure with no selections then the intended result is a new customer for the entire company regardless of Type.&lt;/LI&gt;&lt;LI&gt;If you filter by Type we expect to see the new customers or that Type ignoring if they were already a customer of a different Type.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The results I am seeing is that if you select one of the types it gives the correct result - but if the measure is a chart of any type it functions similar to my first bullet, but limiting the it to new customers in type 1, compared to customer of any type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Customer Number] = E({&amp;lt;PERIODO = {'201809'}&amp;gt;} [Customer Number])&amp;gt;*&amp;lt;PERIODO = {'201709'}&amp;gt;}&amp;nbsp; Distinct [Customer Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The E() seems to react to Selections but the Dimensions in the bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample app attached - the correct result is the numbers provided when a selection is made. NOT what is in the chart to begin with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any help to see if I'm going wrong or if it not behaving as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 09:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimensions-not-matching-Selections/m-p/140171#M9831</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2018-10-26T09:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions not matching Selections</title>
      <link>https://community.qlik.com/t5/App-Development/Dimensions-not-matching-Selections/m-p/140172#M9832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that this is something you won't be able to perform using set analysis because set analysis is performed once per chart and not per dimension. May be use Aggr() to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;PERIODO = {'201709'}&amp;gt;} Aggr(If(Count(DISTINCT {&amp;lt;PERIODO = {'201809'}&amp;gt;} [Customer Number]) = 0, [Customer Number]), [Customer Number], Type))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 11:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimensions-not-matching-Selections/m-p/140172#M9832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-26T11:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions not matching Selections</title>
      <link>https://community.qlik.com/t5/App-Development/Dimensions-not-matching-Selections/m-p/140173#M9833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That makes complete sense and feel a fool for missing it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 14:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimensions-not-matching-Selections/m-p/140173#M9833</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2018-10-26T14:33:55Z</dc:date>
    </item>
  </channel>
</rss>

