<?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 Vs DISTINCT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417465#M155240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is no difference between DISTINCT and distinct.&amp;nbsp; Your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(count(distinct [Carrier Name]) = 1, [Carrier Name], 'others')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are multiple (&amp;gt;1) Carrier Names by the dimension in your chart then Others is displayed, otherwise corresponding Carrier Name is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 May 2013 16:37:14 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-05-01T16:37:14Z</dc:date>
    <item>
      <title>distinct Vs DISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417464#M155239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(count(distinct [Carrier Name]) = 1, [Carrier Name], 'others')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Now, when I type "Di" of "DISTINCT" keyword in the expression window, Qlikview automatically gives me suggestion- DISTINCT, so I just select it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;However, the keyword DISTINCT does not give me expected output.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I had to manually make it lowercase to get the desired results.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&amp;nbsp; So, if upper case is not working, why does Qlikeview gives such a wrong suggestion?&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/angry.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 16:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417464#M155239</guid>
      <dc:creator />
      <dc:date>2013-05-01T16:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Vs DISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417465#M155240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is no difference between DISTINCT and distinct.&amp;nbsp; Your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(count(distinct [Carrier Name]) = 1, [Carrier Name], 'others')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are multiple (&amp;gt;1) Carrier Names by the dimension in your chart then Others is displayed, otherwise corresponding Carrier Name is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 16:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417465#M155240</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-05-01T16:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Vs DISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417466#M155241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, why does the output come only after writing distinct ? and not with DISTINCT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 06:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417466#M155241</guid>
      <dc:creator />
      <dc:date>2013-05-03T06:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Vs DISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417467#M155242</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;STRONG style="background-color: #ffffff; color: #ff0000; font-family: Arial;"&gt;count(distinct if([Carrier Name]) = 1, [Carrier Name], 'others'))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 07:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417467#M155242</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-05-03T07:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Vs DISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417468#M155243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Which version you are using ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you provide the sample data which you are using .&lt;/P&gt;&lt;P&gt;Also provide the Dimension and Expressions used in the chart .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//yusuf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 07:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417468#M155243</guid>
      <dc:creator />
      <dc:date>2013-05-03T07:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Vs DISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417469#M155244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yusuf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using version &lt;STRONG&gt;11.20.11718.0 SR1&amp;nbsp; (Desktop Free Version)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to upload the file for sharing with you but it's size is 54 MB&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The expression used is :&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; if(count(distinct [Carrier Name]) = 1, [Carrier Name], 'others')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension is only Carrier Name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 15:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417469#M155244</guid>
      <dc:creator />
      <dc:date>2013-05-06T15:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Vs DISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417470#M155245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Mohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issues is different. I got the expression and correct output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 15:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-Vs-DISTINCT/m-p/417470#M155245</guid>
      <dc:creator />
      <dc:date>2013-05-06T15:40:50Z</dc:date>
    </item>
  </channel>
</rss>

