<?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: Query for comparison within the dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311122#M836791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression u provided works perfectly but I need a count of the total ECI rather than the final value.&lt;/P&gt;&lt;P&gt;I am sorry for the mistake I made while raising this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2017 12:03:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-05-22T12:03:39Z</dc:date>
    <item>
      <title>Query for comparison within the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311120#M836789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My database has 2 dimensions and the sample data is as follows:&lt;/P&gt;&lt;P&gt;ECI&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;111 11/01/2016&lt;/P&gt;&lt;P&gt;111 12/01/2016&lt;/P&gt;&lt;P&gt;113 11/01/2016&lt;/P&gt;&lt;P&gt;113 11/01/2016&lt;/P&gt;&lt;P&gt;115 12/01/2016&lt;/P&gt;&lt;P&gt;115 10/01/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to identify only those values in ECI which has appeared in the previous month too?&lt;/P&gt;&lt;P&gt;Therefore the answer for this would be 111.&lt;/P&gt;&lt;P&gt;Any suggestions on the formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rohan Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311120#M836789</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Query for comparison within the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311121#M836790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a MonthName field (would specially be required when you would have to compare inter-year values)&amp;nbsp; in the script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load *, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Month(Date) as Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #3366ff;"&gt;MonthName(Date) as MonthName&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ECI,&amp;nbsp; Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;111, 11/01/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;111, 12/01/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;113, 11/01/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;113, 11/01/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;115, 12/01/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;115, 10/01/2016]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="164257" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164257_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression used like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff; font-family: 'courier new', courier;"&gt;=Concat( DISTINCT {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #3366ff;"&gt;&amp;nbsp; &amp;lt;ECI=p({&amp;lt;MonthName={'$(=MonthName(Max(Date)))'}&amp;gt;}ECI)&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #3366ff;"&gt;&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #3366ff;"&gt;&amp;nbsp; &amp;lt;ECI=p({&amp;lt;MonthName={'$(=MonthName(Max(Date),-1))'}&amp;gt;}ECI)&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff; font-family: 'courier new', courier;"&gt;&amp;nbsp; } ECI)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 11:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311121#M836790</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-05-22T11:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Query for comparison within the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311122#M836791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression u provided works perfectly but I need a count of the total ECI rather than the final value.&lt;/P&gt;&lt;P&gt;I am sorry for the mistake I made while raising this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 12:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311122#M836791</guid>
      <dc:creator />
      <dc:date>2017-05-22T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Query for comparison within the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311123#M836792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I replaced concat with count. It works.&lt;BR /&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 12:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311123#M836792</guid>
      <dc:creator />
      <dc:date>2017-05-22T12:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query for comparison within the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311124#M836793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just another clarification&lt;/P&gt;&lt;P&gt;I have another field in the same table but it is unable to filter the data according to the field.&lt;/P&gt;&lt;P&gt;I have attached the sample&lt;/P&gt;&lt;P&gt;I understand from the data that 2964 and 4499 are present in all the Customer Data Quality dimension.&lt;/P&gt;&lt;P&gt;But only in CIP City is it occurring every month&lt;/P&gt;&lt;P&gt;I hope I am able to explain it clearly.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="q2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164369_q2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 07:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-for-comparison-within-the-dimension/m-p/1311124#M836793</guid>
      <dc:creator />
      <dc:date>2017-05-23T07:39:47Z</dc:date>
    </item>
  </channel>
</rss>

