<?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 - Count the Active Dealers in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077174#M88351</link>
    <description>&lt;P&gt;A quick try; for search string try a valid &lt;STRONG&gt;&lt;EM&gt;quote other than single quote&lt;/EM&gt;&lt;/STRONG&gt;. Also sometimes date format could lead to the issue. Try like below and see if helps, if not we have to dive deep.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count({&amp;lt;[Dealer ID] = {"=sum({&amp;lt;[ Date] = {&lt;FONT face="arial black,avant garde" size="4" color="#FF0000"&gt;`&lt;/FONT&gt;&amp;gt;=&lt;FONT color="#3366FF"&gt;MakeDate&lt;/FONT&gt;(2022)&lt;FONT face="arial black,avant garde" size="4" color="#FF0000"&gt;`&lt;/FONT&gt;}&amp;gt;}[Contract ID]) &amp;gt;0"} &amp;gt;} distinct [Dealer ID] )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note : in red I am using &lt;STRONG&gt;backquote&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 08:10:36 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2023-05-29T08:10:36Z</dc:date>
    <item>
      <title>Set Analysis - Count the Active Dealers</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077114#M88346</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am trying to get the count of active dealers in my report&amp;nbsp; and need help with the Set Analysis expression. Need to get the Count of Dealers having at least 1 contract produced since 2022.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This way&amp;nbsp; I can eliminate the Inactive dealers who haven't produced a contract since last year.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Fields = Contract ID (Fact Table), Dealer ID (Dim Table, associated with fact based on DEALER_ID), and Date(Fact Table).&lt;/P&gt;
&lt;P&gt;I tried the below expression, but it didn't help me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;count({&amp;lt;[Dealer ID] = {"=sum({&amp;lt;[ Date] = {'&amp;gt;=01/01/2022'}&amp;gt;}[Contract ID]) &amp;gt;0"} &amp;gt;} distinct [Dealer ID] )&lt;BR /&gt;&lt;BR /&gt;Please let me know if you need further information.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;can the experts please help with the question. Thanks&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Business" id="qlikSenseBusiness"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 05:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077114#M88346</guid>
      <dc:creator>AjjuSid</dc:creator>
      <dc:date>2023-05-29T05:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Count the Active Dealers</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077174#M88351</link>
      <description>&lt;P&gt;A quick try; for search string try a valid &lt;STRONG&gt;&lt;EM&gt;quote other than single quote&lt;/EM&gt;&lt;/STRONG&gt;. Also sometimes date format could lead to the issue. Try like below and see if helps, if not we have to dive deep.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count({&amp;lt;[Dealer ID] = {"=sum({&amp;lt;[ Date] = {&lt;FONT face="arial black,avant garde" size="4" color="#FF0000"&gt;`&lt;/FONT&gt;&amp;gt;=&lt;FONT color="#3366FF"&gt;MakeDate&lt;/FONT&gt;(2022)&lt;FONT face="arial black,avant garde" size="4" color="#FF0000"&gt;`&lt;/FONT&gt;}&amp;gt;}[Contract ID]) &amp;gt;0"} &amp;gt;} distinct [Dealer ID] )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note : in red I am using &lt;STRONG&gt;backquote&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 08:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077174#M88351</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-05-29T08:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Count the Active Dealers</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077204#M88354</link>
      <description>&lt;P&gt;By using double quotes, it will be interpreted as a search value.&lt;/P&gt;
&lt;P&gt;count({&amp;lt;[Dealer ID] = {"=sum({&amp;lt;[ Date] = {&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;&amp;gt;=01/01/2022&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;}&amp;gt;}[Contract ID]) &amp;gt;0"} &amp;gt;} distinct [Dealer ID] )&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 08:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077204#M88354</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-05-29T08:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Count the Active Dealers</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077268#M88363</link>
      <description>&lt;P&gt;Backquote did really help, but the issue was mainly because of the date format- I had to use 01/01/2022 instead of Makedate(2022).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for your prompt reply, this really helped.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 09:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Count-the-Active-Dealers/m-p/2077268#M88363</guid>
      <dc:creator>AjjuSid</dc:creator>
      <dc:date>2023-05-29T09:47:22Z</dc:date>
    </item>
  </channel>
</rss>

