<?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: Count where present in a quarter and not in another one in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593553#M4060</link>
    <description>&lt;P&gt;I where not counting correctly, I needed to use distinct as there where more than one transaction per month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to look at the updated new example app and my screenshots below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2-Q3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 964px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13984i6032B92B5771B538/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2 - Q4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13983iDE05CF4346DCCABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3 - Q4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 958px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13985i44A606DAD6CAFE05/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 11:52:47 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-06-19T11:52:47Z</dc:date>
    <item>
      <title>Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1585720#M3985</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having a lot of difficulties with a chart I would like to create. I have 4 quarters and I need to count the number of new enterprises between different quarters as well as the closed enterprises. To do so, if the enterprise is in the first quarter and not in the second, it means that it has closed. On the contrary, if it is not present in the 1st quarter and it appears in the second one, it means it is a new one.&lt;/P&gt;&lt;P&gt;I wanted to be able to choose any 2 quarters and get the result of new/closed enterprises.&lt;/P&gt;&lt;P&gt;If you have any ideas, I will be more than graterful.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 15:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1585720#M3985</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-05-28T15:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586200#M3987</link>
      <description>Please share some sample data fr us to understand what you are working with. Also share a expected result examples</description>
      <pubDate>Wed, 29 May 2019 13:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586200#M3987</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-05-29T13:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586221#M3988</link>
      <description>Maybe you could do something like this in a object with two selected quarter as dimension.&lt;BR /&gt;&lt;BR /&gt;Closed enterprises:&lt;BR /&gt;=Count({&amp;lt; EnterpriseID=E({&amp;lt;QuarterID ={"$(MAX(QuarterID)"}&amp;gt;}) &amp;gt;}&lt;BR /&gt;EnterpriseID)&lt;BR /&gt;&lt;BR /&gt;Started enterprise:&lt;BR /&gt;=Count({&amp;lt; EnterpriseID=E({&amp;lt;QuarterID ={"$(MIN(QuarterID)"}&amp;gt;}) &amp;gt;}&lt;BR /&gt;EnterpriseID)</description>
      <pubDate>Wed, 29 May 2019 13:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586221#M3988</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-05-29T13:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586292#M3989</link>
      <description>&lt;P&gt;Here is the excel file with all the registration number of the enterprise and its quarter (there are 4 different quarters here).&lt;/P&gt;&lt;P&gt;I extracted from the excell file 4 tables in postgresql for eacher quarter. Then I created views that select the enterprise present in one table and not in the other one. For instance, this one select the enterprises closed from the 1st quarter to the 2nd qurter.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enterprise_closed_1q_2q.png" style="width: 752px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12885iD45ECE40D2D2EE50/image-size/large?v=v2&amp;amp;px=999" role="button" title="enterprise_closed_1q_2q.png" alt="enterprise_closed_1q_2q.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to do this in QlikSense and put the result in a Sheet and then count the number of those close/new enterprises..&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586292#M3989</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-05-29T15:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586566#M3991</link>
      <description>But in QlikSense you cannot choose date..&lt;BR /&gt;&lt;BR /&gt;What is the 'E' referred in your request?</description>
      <pubDate>Thu, 30 May 2019 09:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1586566#M3991</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-05-30T09:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1587507#M4001</link>
      <description>&lt;P&gt;E() is refering to excluded&amp;nbsp; values in SET Analysis. See this help article:&amp;nbsp; &lt;A href="https://help.qlik.com/en-US/sense/April2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm" target="_self"&gt;Set modifiers with implicit field value definitions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did an example app from your excelfile. See attached qvf file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 838px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13063i258B551B04D5B4C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 09:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1587507#M4001</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-03T09:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593508#M4059</link>
      <description>&lt;P&gt;Thank you for your example but I don't really understand what it actually does and I don't think it is what I am looking for. Your example with the max string, it calculates the closed enterprises but between which quarter? Because I wanted to calculate the closed enterprises between the 1st and 2nd quarter, than between the 1st and the 3rd, than the 1st and the 4th, then the 2nd and the 3rd, etc...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 11:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593508#M4059</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-06-19T11:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593553#M4060</link>
      <description>&lt;P&gt;I where not counting correctly, I needed to use distinct as there where more than one transaction per month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to look at the updated new example app and my screenshots below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2-Q3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 964px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13984i6032B92B5771B538/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2 - Q4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13983iDE05CF4346DCCABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3 - Q4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 958px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13985i44A606DAD6CAFE05/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 11:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593553#M4060</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-19T11:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593976#M4067</link>
      <description>&lt;P&gt;I am afraid as you can see below,&amp;nbsp;the results are not really correct, the 2 sheets below are the results imported from PostgreSQL so I guess they are the correct results. You have for some (especially the closed one) some major differences.. I don't know why...&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="new.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14068iE6D5839597FB1029/image-size/large?v=v2&amp;amp;px=999" role="button" title="new.png" alt="new.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="close.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14071i3C9D3694BF3E4ABC/image-size/large?v=v2&amp;amp;px=999" role="button" title="close.png" alt="close.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 08:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593976#M4067</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-06-20T08:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593982#M4068</link>
      <description>&lt;P&gt;Oh my.. I think it is actually working, not for every quarter though but for most of them thank you SO much!!!!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 08:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593982#M4068</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-06-20T08:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593987#M4069</link>
      <description>&lt;P&gt;Just a quick last question isn't it the contrary: when you put MAXString it is for the closed enterprise? Like if is they are present in the 1st and not the&amp;nbsp;2nd it means it is closed.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 08:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1593987#M4069</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-06-20T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1594133#M4072</link>
      <description>&lt;P&gt;Yes, that was the idea.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 12:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1594133#M4072</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-20T12:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1596038#M4091</link>
      <description>&lt;P&gt;Just a quick other question, I want to put a condition "if" in the request . I want to make a fusion of the two lines below, which mean counting the new enterprises only if the municipality name is ΧΕΡΣΟΝΗΣΟΥ&lt;/P&gt;&lt;P&gt;Count(distinct&amp;nbsp;{&amp;lt; [mitroo-03072017.Registration_Number] *=E({&amp;lt;[mitroo-03072017.Date] ={"$(=MINstring({&amp;lt;[mitroo-03072017.Registration_Number]&amp;gt;}[mitroo-03072017.Date]))"}&amp;gt;}) &amp;gt;} [mitroo-03072017.Registration_Number])&lt;/P&gt;&lt;P&gt;if ([Municipality_Unit-municipality_name]= 'ΧΕΡΣΟΝΗΣΟΥ')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried :&lt;/P&gt;&lt;P&gt;Count(distinct if ([Municipality_Unit-municipality_name]= 'ΧΕΡΣΟΝΗΣΟΥ', {&amp;lt; [mitroo-03072017.Registration_Number] *=E({&amp;lt;[mitroo-03072017.Date] ={"$(=MINstring({&amp;lt;[mitroo-03072017.Registration_Number]&amp;gt;}[mitroo-03072017.Date]))"}&amp;gt;}) &amp;gt;}) [mitroo-03072017.Registration_Number])&lt;/P&gt;&lt;P&gt;without success&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 07:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1596038#M4091</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-06-26T07:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1596122#M4092</link>
      <description>&lt;P&gt;You could probably expand your set modifier like this for handling the '&lt;SPAN&gt;ΧΕΡΣΟΝΗΣΟΥ'&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(distinct {&amp;lt; 
   [Municipality_Unit-municipality_name]= {'ΧΕΡΣΟΝΗΣΟΥ'},
   [mitroo-03072017.Registration_Number] *= E({&amp;lt;[mitroo-03072017.Date] ={"$(=MINstring({&amp;lt;[mitroo-03072017.Registration_Number]&amp;gt;}[mitroo-03072017.Date]))"}&amp;gt;}) 
   &amp;gt;} [mitroo-03072017.Registration_Number])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Vegar&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 09:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1596122#M4092</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-26T09:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count where present in a quarter and not in another one</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1596145#M4093</link>
      <description>&lt;P&gt;thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 09:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Count-where-present-in-a-quarter-and-not-in-another-one/m-p/1596145#M4093</guid>
      <dc:creator>gianniko</dc:creator>
      <dc:date>2019-06-26T09:48:44Z</dc:date>
    </item>
  </channel>
</rss>

