<?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: Set analysis for three condition matched in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947422#M78069</link>
    <description>&lt;P&gt;You're right, just had to use correct field and it gave me the good result. Thanks a lot &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 13:55:14 GMT</pubDate>
    <dc:creator>Cap</dc:creator>
    <dc:date>2022-06-23T13:55:14Z</dc:date>
    <item>
      <title>Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946482#M77982</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;This is my very first question on this forum and i might need some help with a set analysis syntax.&lt;BR /&gt;&lt;BR /&gt;I try to filter two table (Invoice and Customer, linked with a CustomedID) and I want to know the sum of customer that have made an invoice during two specific year (for example 2019 &lt;STRONG&gt;AND&lt;/STRONG&gt; 2020).&lt;/P&gt;
&lt;P&gt;The Invoice table contains a Invoice_Year for that purpose.&lt;/P&gt;
&lt;P&gt;For the information, I try to calculate a famous client KPI know as Client Retention&lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 23:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946482#M77982</guid>
      <dc:creator>Cap</dc:creator>
      <dc:date>2022-06-21T23:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946509#M77985</link>
      <description>&lt;P&gt;Please try below and see if that helps.&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Invoice_Year={'2019','2020'}&amp;gt;}distinct CustomerID)&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 04:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946509#M77985</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-22T04:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946537#M77988</link>
      <description>&lt;P&gt;as below&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Sum({&amp;lt;Customer_ID = p({&amp;lt;Invoice_Year={'2019'}&amp;gt;}Customer_ID)*p({&amp;lt;Invoice_Year={'2020'}&amp;gt;}Customer_ID)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;}&amp;nbsp;Sales)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or if you have Customer_ID as a dimension in the chart&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Sum({&amp;lt;Invoice_Year={'2019'}&amp;gt;*&amp;lt;Invoice_Year={'2020'}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;}&amp;nbsp;Sales)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 05:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946537#M77988</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-06-22T05:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946730#M78003</link>
      <description>&lt;P&gt;Thanks for replying but your syntax gave me "sum of customer that made an invoice in 2019 OR/AND 2020)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is a table i made, with a IF expression I can have the good result (Total = 574). I would like the same result with a set analysis syntax.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran (4).png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82379i5DC3B7D0E155E915/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran (4).png" alt="Capture d’écran (4).png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 10:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946730#M78003</guid>
      <dc:creator>Cap</dc:creator>
      <dc:date>2022-06-22T10:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946732#M78004</link>
      <description>&lt;P&gt;Not of them seem to work unfortunately (maybe the field didn't match up even if I try to adapt them).&lt;BR /&gt;&lt;BR /&gt;I just posted a picture of a table with the result I try to obtain. Thanks a lot trying to help me ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 10:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1946732#M78004</guid>
      <dc:creator>Cap</dc:creator>
      <dc:date>2022-06-22T10:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947148#M78042</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/185661"&gt;@Cap&lt;/a&gt;&amp;nbsp; Please try the below Expression.&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;CompanyName=P({&amp;lt;Year={1997}&amp;gt;}CompanyName)&amp;gt;*&amp;lt;CompanyName=P({&amp;lt;Year={1998}&amp;gt;}CompanyName)&amp;gt;}distinct CompanyName)&lt;/P&gt;
&lt;P&gt;But replace the dimensions as per your requirement. Let me know if it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 03:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947148#M78042</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-23T03:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947165#M78045</link>
      <description>&lt;P&gt;just replace the field names&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=Count({&amp;lt;
Invoice = p({&amp;lt;Billing_Year={'2019'}&amp;gt;}Invoice)*p({&amp;lt;Billing_Year={'2020'}&amp;gt;}Invoice)
&amp;gt;} Invoice )

&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 23 Jun 2022 05:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947165#M78045</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-06-23T05:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947420#M78068</link>
      <description>&lt;P&gt;Working just fine &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 13:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947420#M78068</guid>
      <dc:creator>Cap</dc:creator>
      <dc:date>2022-06-23T13:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for three condition matched</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947422#M78069</link>
      <description>&lt;P&gt;You're right, just had to use correct field and it gave me the good result. Thanks a lot &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 13:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-three-condition-matched/m-p/1947422#M78069</guid>
      <dc:creator>Cap</dc:creator>
      <dc:date>2022-06-23T13:55:14Z</dc:date>
    </item>
  </channel>
</rss>

