<?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: DISTINCT application_no in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807473#M1022156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, I am glad we were able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest closing the thread by marking it correct for whichever solution worked for you the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 12:48:45 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-03-16T12:48:45Z</dc:date>
    <item>
      <title>DISTINCT application_no</title>
      <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807469#M1022152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count(DISTINCT application_no If(new_dates=settled_dates,'Y'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the best way to do this calculation in an expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807469#M1022152</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: DISTINCT application_no</title>
      <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807470#M1022153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this is an expression in your UI you could use Set Analysis to perform this, such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT {$&amp;lt;new_dates=settled_dates&amp;gt;} application_no)&lt;/P&gt;&lt;P&gt;This will work when you have values selected in your new_dates field, but wont work if your new_dates field doesn't have spaces.&lt;/P&gt;&lt;P&gt;(also the above expression might show with an error by the syntax checker in the expression editor, best to confirm the number in a simple text box whilst developing it)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807470#M1022153</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2015-03-16T12:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: DISTINCT application_no</title>
      <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807471#M1022154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT If(new_dates = settled_dates, application_no))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807471#M1022154</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-16T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: DISTINCT application_no</title>
      <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807472#M1022155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you guys rock, the code work for what i want to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807472#M1022155</guid>
      <dc:creator />
      <dc:date>2015-03-16T12:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: DISTINCT application_no</title>
      <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807473#M1022156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, I am glad we were able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest closing the thread by marking it correct for whichever solution worked for you the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807473#M1022156</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-16T12:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: DISTINCT application_no</title>
      <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807474#M1022157</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;Check With the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(DISTINCT {$&amp;lt;new_dates=settled_dates&amp;gt;} application_no)----Wrong Expression&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count(DISTINCT If(new_dates = settled_dates, application_no)) --- Correct Expression&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It Will work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807474#M1022157</guid>
      <dc:creator />
      <dc:date>2015-03-16T12:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: DISTINCT application_no</title>
      <link>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807475#M1022158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both expressions actually work, but it depends where you're using them, such as text boxes or a chart.&lt;/P&gt;&lt;P&gt;For example the expressions without SetAnalysis will give a result in a text box where no selections are made (like a total version), but the SetAnalysis expression will only produce a value when you make a selection on the first field new_dates.&lt;/P&gt;&lt;P&gt;Both good examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 13:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DISTINCT-application-no/m-p/807475#M1022158</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2015-03-16T13:25:48Z</dc:date>
    </item>
  </channel>
</rss>

