<?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: Logic Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22077#M3716</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;Here is what the counts should be :&lt;/P&gt;&lt;P&gt;2017 Only&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;2017 and 2018&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;2018 only 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2018 14:42:32 GMT</pubDate>
    <dc:creator>tmumaw</dc:creator>
    <dc:date>2018-03-14T14:42:32Z</dc:date>
    <item>
      <title>Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22061#M3700</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;Need a little help with some logic.&amp;nbsp; I need to report on customers who had a contract in 2017, customers which had contracts in 2017 and 2018, and customers which had contracts in 2018 only.&amp;nbsp; I got the customers which had contracts in 2017 and 2018, and the ones who only had contracts in 2018.&amp;nbsp; However I am having issues getting the customers which only had contracts in 2017.&amp;nbsp; Any ideas?&amp;nbsp; Here is my script which works for part of my answer.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (Account)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ServiceLocation]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ServiceLocation]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Old ServLoc]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; 1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Old_ServLoc&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Opportunity&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ContractStart_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; '$(vCYear)';&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//New_ServLoc:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (Account)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ServiceLocation]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; 1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;New_ServLoc&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Opportunity&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ContractStart_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '$(vCYear)' &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NOT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;EXISTS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Old ServLoc]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ServiceLocation]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22061#M3700</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-13T15:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22062#M3701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why don't you concatenate and use ONE flag field instead of joining and using different Flag fields ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22062#M3701</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-13T15:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22063#M3702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because I have to join to the Account to determine if it's a new account, existing, or lapsed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 17:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22063#M3702</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-13T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22064#M3703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, that was my question.. why don't you concatenate instead of join ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example (maybe I'm missing something)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; (Account)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[ServiceLocation]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;'OLD' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;FLAG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Opportunity&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ContractStart_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &amp;lt; '$(vCYear)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; (Account)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[ServiceLocation]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;BR /&gt;'NEW' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;FLAG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Opportunity&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ContractStart_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = '$(vCYear)' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 17:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22064#M3703</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-13T17:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22065#M3704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see the first concatenate working for old customers 2017, but the second concatenate would give me anybody who had a contract in 2018.&amp;nbsp; What about the ones that had a contract in both 2017 and 2018?&amp;nbsp; I tried it and it returned null values in FLAG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 18:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22065#M3704</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-13T18:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22066#M3705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to suggest a better solution and I don't have the details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not necessary for you to join, then you can try other solutions (a concatenation for example) and see the difference by yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me just ask a question, why do you need to create flags for old and new customers? the year field is not enough ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22066#M3705</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T08:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22067#M3706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Youssef,&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&amp;nbsp; I really do appreciate it.&amp;nbsp; I have a request from the user requires me to count customers by sales office.&amp;nbsp; I need to show the number of customers which only had sales in 2017,&amp;nbsp; then the number of customers who had sales in 2017 and 2018, and the last column would be the new customers which only had sales in 2018.&amp;nbsp; The pivot table needs to look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; office&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 Only Customers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 and 2018&amp;nbsp; Customers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018 New Customers&lt;/P&gt;&lt;P&gt;123-Chicago&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 11:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22067#M3706</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-14T11:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22068#M3707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you're welcome Sir, we are all here trying to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for these informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I don't think you need to join or to concatenate, the Year field is enough to make these calculations..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to confirm I will need you to attach some rows from your table (or some sample rows which is the equivalent of your table structure) or a screen shot of your table structure, to be able to populate a dataset and make an example app for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 11:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22068#M3707</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T11:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22069#M3708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is some sample data.&amp;nbsp; Please let me know if you have any questions.&amp;nbsp; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 12:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22069#M3708</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-14T12:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22070#M3709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is this what you need ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Thom.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196338_Thom.png" style="height: 284px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 13:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22070#M3709</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T13:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22071#M3710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope.&amp;nbsp; I need to see customers who only had 2017&amp;nbsp; and nothing in 2018 in one column.&amp;nbsp; Then the next column needs to be customers who I had in both 2017 and 2018, then the next column needs to be customers who were brand new in 2018 and nothing in 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 13:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22071#M3710</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-14T13:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22072#M3711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok here you will need to use the P() and E() on the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 2017 only:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count( {$&amp;lt;ServiceLocation = &lt;SPAN style="color: #ff0000;"&gt;E&lt;/SPAN&gt;({1&amp;lt;ContractStart_Year={2018}&amp;gt;})&amp;gt;} ServiceLocation )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;this expression returns the number of Servicelocations, but only those ServiceLocations that never been present in the year 2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Thom.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196344_Thom.png" style="height: 286px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 13:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22072#M3711</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T13:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22073#M3712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;getting close.&amp;nbsp; There are too many in 2017 and 2018.&amp;nbsp; if you sort the Opportunity by servicelocation you will see how they should be group.&amp;nbsp; thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22073#M3712</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-14T14:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22074#M3713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EDITED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't find better solution for the 2nd expression (2017+2018)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(DISTINCT {$&amp;lt;ServiceLocation = P({1&amp;lt;ContractStart_Year={'2017'}+{'2018'}&amp;gt;} )&amp;gt;} ServiceLocation)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;count(distinct {$&amp;lt;ServiceLocation = E({1&amp;lt;ContractStart_Year={2018}&amp;gt;})&amp;gt;} ServiceLocation )&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;ServiceLocation = E({1&amp;lt;ContractStart_Year={2017}&amp;gt;})&amp;gt;} ServiceLocation )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm pretty sure &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ have better solution using p()..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ I'll try to explain when I tag you on something, so here he want to count the ServiceLocations which are present simultaneously in 2018 AND 2017.. which means exclude the ones that are present only in 2017 and exclude the ones that are present only in 2018.. I didn't find better solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22074#M3713</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22075#M3714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this for both the years&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({$&amp;lt;ServiceLocation = P({1&amp;lt;ContractStart_Year={'2017'}&amp;gt;})*P({1&amp;lt;ContractStart_Year={'2018'}&amp;gt;})&amp;gt;} ServiceLocation)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way to right this would be this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({$&amp;lt;ServiceLocation = {"=Count(DISTINCT {&amp;lt;ContractStart_Year={'2017', '2018'}&amp;gt;} ContractStart_Year) = 2"}&amp;gt;} ServiceLocation)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22075#M3714</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-14T14:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22076#M3715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very nice, very beautiful, very sunny &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you are Mr Thom.. just choose the solution you want and let us know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22076#M3715</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T14:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22077#M3716</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;Here is what the counts should be :&lt;/P&gt;&lt;P&gt;2017 Only&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;2017 and 2018&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;2018 only 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22077#M3716</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-14T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22078#M3717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes very nice and very...very close&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22078#M3717</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-03-14T14:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22079#M3718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the counts are already ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;choose the expression you want if you want to replace it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22079#M3718</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-14T14:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22080#M3719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just do a DISTINCT count &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;&lt;STRONG&gt;Count(DISTINCT {$&amp;lt;ServiceLocation = P({1&amp;lt;ContractStart_Year={'2017'}&amp;gt;})*P({1&amp;lt;ContractStart_Year={'2018'}&amp;gt;})&amp;gt;} ServiceLocation )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 14:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/22080#M3719</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-14T14:44:41Z</dc:date>
    </item>
  </channel>
</rss>

