<?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: how to take common customers between two years. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431316#M96608</link>
    <description>&lt;P&gt;Try using Set analysis intersection similar to below post.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Set-analysis-intersection/td-p/391681" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Set-analysis-intersection/td-p/391681&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 12:51:53 GMT</pubDate>
    <dc:creator>Dataintellinalytics</dc:creator>
    <dc:date>2024-03-15T12:51:53Z</dc:date>
    <item>
      <title>how to take common customers between two years.</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2412503#M94743</link>
      <description>&lt;P&gt;i have tktdate, soldtodesc, delvqty field's, i need to calculate common customers falling in current ytd(01-01-2024 to 29-01-2024) and previous ytd (01-01-2023 to 29-01-2023) and volume&amp;gt;0.&lt;/P&gt;
&lt;P&gt;How to write expression for these. i tried below but getting error&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Period={'Month-Year'}, tkt_date={"$(PYTD)"},tkt_date={"$(PYTD)"},delv_qty={"&amp;gt;0"}&amp;gt;} DISTINCT sold_to_desc)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Swathi_0-1706614935864.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158626i5BE99E532E7096EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Swathi_0-1706614935864.png" alt="Swathi_0-1706614935864.png" /&gt;&lt;/span&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;</description>
      <pubDate>Fri, 15 Nov 2024 21:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2412503#M94743</guid>
      <dc:creator>Swathi</dc:creator>
      <dc:date>2024-11-15T21:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to take common customers between two years.</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431096#M96595</link>
      <description>&lt;P&gt;Please share mocked data set.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 05:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431096#M96595</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2024-03-15T05:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to take common customers between two years.</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431305#M96605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/248526"&gt;@Swathi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;this is my take on such a scenario (please replace with your field, variable and preferred Measure names):&lt;/P&gt;
&lt;P&gt;Count(distinct {&amp;lt;[Customer] = {"=SalesPrior &amp;lt;&amp;gt; 0 and SalesActual &amp;lt;&amp;gt; 0"}&amp;gt;} [Customer])&lt;/P&gt;
&lt;P&gt;where I've created SalesPrior and SalesActual as master measures, to keep things cleaner.&lt;/P&gt;
&lt;P&gt;SalesActual is Sum({&amp;lt;[DateField] = {"$(CurrentYTD)"}&amp;gt;} SalesField)&lt;/P&gt;
&lt;P&gt;SalesPrior is Sum({&amp;lt;[DateField] = {"$(PriorYTD)"}&amp;gt;} SalesField)&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 12:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431305#M96605</guid>
      <dc:creator>LorantPataki</dc:creator>
      <dc:date>2024-03-15T12:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to take common customers between two years.</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431316#M96608</link>
      <description>&lt;P&gt;Try using Set analysis intersection similar to below post.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Set-analysis-intersection/td-p/391681" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Set-analysis-intersection/td-p/391681&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 12:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431316#M96608</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2024-03-15T12:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to take common customers between two years.</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431360#M96615</link>
      <description>&lt;P&gt;may be this&lt;/P&gt;
&lt;P&gt;count (distinct {&amp;lt; &lt;SPAN&gt;sold_to_desc&lt;/SPAN&gt;= P ({&amp;lt;&lt;SPAN&gt;tkt_date={"$(YTD)"},delv_qty={"&amp;gt;0"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN&gt;sold_to_desc&lt;/SPAN&gt;) &amp;gt;*&amp;lt; &lt;SPAN&gt;sold_to_desc&lt;/SPAN&gt;= P ({&amp;lt;&lt;SPAN&gt;tkt_date={"$(PYTD)"},delv_qty={"&amp;gt;0"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN&gt;sold_to_desc&lt;/SPAN&gt;) &amp;gt; } &lt;SPAN&gt;sold_to_desc&lt;/SPAN&gt;))&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-take-common-customers-between-two-years/m-p/2431360#M96615</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2024-03-15T14:02:49Z</dc:date>
    </item>
  </channel>
</rss>

