<?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: Only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only/m-p/400115#M148867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... more or less ... I use "Only" when i WANT only a value to be retrieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2013 17:24:26 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2013-02-04T17:24:26Z</dc:date>
    <item>
      <title>Only</title>
      <link>https://community.qlik.com/t5/QlikView/Only/m-p/400109#M148861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a query regarding only() function. Can we use it in script level or UI level.I have used it in Script level but not getting exact syntax . I have searched in many places but I have not got clarity.&lt;/P&gt;&lt;P&gt;Can you make it out in attached file where I mocked some data in excel and attached. The mocked data might not correct.&amp;nbsp; Can you make it out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 14:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only/m-p/400109#M148861</guid>
      <dc:creator />
      <dc:date>2013-02-04T14:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Only</title>
      <link>https://community.qlik.com/t5/QlikView/Only/m-p/400110#M148862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works but probably it is not what you want ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function Only returns Null if there are more values for the field grouped (month in your case) so it return null because you have more than une distinct value for each month, otherwise only returns the single value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 14:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only/m-p/400110#M148862</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-04T14:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Only</title>
      <link>https://community.qlik.com/t5/QlikView/Only/m-p/400111#M148863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am not sure what is your requirement. The &lt;STRONG&gt;Only&lt;/STRONG&gt; is used in below senerio in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If &lt;SPAN class="italic;"&gt;expression&lt;/SPAN&gt; over a number of records, as defined by a &lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; clause, contains only one numeric value, that value is returned. Else, NULL is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your data in Excel, you get the null values in the Sales Per Month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 14:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only/m-p/400111#M148863</guid>
      <dc:creator />
      <dc:date>2013-02-04T14:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Only</title>
      <link>https://community.qlik.com/t5/QlikView/Only/m-p/400112#M148864</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;Can you update the excel sheet so that it will give any value from that function. Please send me the updated excel sheet . I just want to understand the usage of only() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 15:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only/m-p/400112#M148864</guid>
      <dc:creator />
      <dc:date>2013-02-04T15:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Only</title>
      <link>https://community.qlik.com/t5/QlikView/Only/m-p/400113#M148865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 16:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only/m-p/400113#M148865</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-04T16:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Only</title>
      <link>https://community.qlik.com/t5/QlikView/Only/m-p/400114#M148866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use sum(distinct sales) for this requirement also which also give same results. You mean to say only function will be used to get the distinct numeric records from group of records&lt;/P&gt;&lt;P&gt;Which is similar with sum(distinct sales) . Do let me know plz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 16:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only/m-p/400114#M148866</guid>
      <dc:creator />
      <dc:date>2013-02-04T16:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Only</title>
      <link>https://community.qlik.com/t5/QlikView/Only/m-p/400115#M148867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... more or less ... I use "Only" when i WANT only a value to be retrieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 17:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only/m-p/400115#M148867</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-04T17:24:26Z</dc:date>
    </item>
  </channel>
</rss>

