<?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: Use of ONLY Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274104#M1203461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to accomplish something similar; use expression to filter the value 'On hold' away from a listbox displaying StatusName.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the above examples I tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;StatusName-={'On hold'}&amp;gt;}StatusName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;StatusName={'*'}-{'On hold'}&amp;gt;}StatusName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but they did not work. In fact, after the change the listbox displays only its caption - no values at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you think of something that is wrong in my approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 10:58:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-12T10:58:50Z</dc:date>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274095#M1203452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Somewhere i read the use of ONLY function with AGGR function.&lt;/P&gt;&lt;P&gt;"Conveniently, it is also an aggregation expression, allowing you to use set analysis in some cases where you otherwise wouldn't be able to."&lt;/P&gt;&lt;P&gt;Can anybody explain the above staement and give some useful uses of the ONLY function? I know the basics of what it returns, so no need to explain the basics.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 11:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274095#M1203452</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-08-31T11:55:39Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274096#M1203453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't a very good example, but lets say you have this data:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Data:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ID, Type, Value&lt;BR /&gt;A, X, 10&lt;BR /&gt;B, X, 20&lt;BR /&gt;C, Y, 30&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;You build a straight table with ID as the dimension, and Value as the expression.&lt;/P&gt;&lt;P&gt;But now you only want to show values for Type X. You'd like to do this with set analysis, but you can't without an aggregation function. Fortunately, only() is an aggregation function, so you can write this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;only({&amp;lt;Type={'X'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;The same thing would apply if you were using an aggr() function. For instance, instead of a table, you could write this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;concat(aggr(Value,ID),',')&lt;/P&gt;&lt;P&gt;That should return 10,20,30. But what if, again, you wanted to restrict it to only Type X?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;concat(aggr(only({&amp;lt;Type={'X'}&amp;gt;} Value),ID),',')&lt;/P&gt;&lt;P&gt;That should return 10,20.&lt;/P&gt;&lt;P&gt;I could just be explaining the basics to you, but I'm not sure what more than the basics needs to be explained.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 00:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274096#M1203453</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-01T00:08:15Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274097#M1203454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John, for your explanation.&lt;/P&gt;&lt;P&gt;I used to use MAX function with Set Analysis (in same situation). Even here, it works fine if I replace ONLY with MAX.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 06:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274097#M1203454</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-09-01T06:03:04Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274098#M1203455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;tresesco wrote:I used to use MAX function with Set Analysis (in same situation). Even here, it works fine if I replace ONLY with MAX.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Honestly, I usually use max() in a situation like this as well. Often I EXPECT only a single value, but if there's more than one value, I'd rather pick one by using max() than return NULL by using only(). So you'd only want to use only() when you want NULL when there are multiple values. I don't typically encounter those situations. Still, I'm fairly certain I've used it in a live application. I wonder where, and why? Hmmm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 18:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274098#M1203455</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-01T18:30:07Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274099#M1203456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm new to QlikView and despite searching couldn't find an answer to this problem :-&lt;/P&gt;&lt;P&gt;How do I return one field based on the value of another ie return the name of the City with the lowest population. From the tutorial I have created the following syntax :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;'The Smallest City is '&amp;amp;&lt;B&gt;only&lt;/B&gt;({$&amp;lt;&lt;B&gt;[Population(mio)]&lt;/B&gt;={&lt;B&gt;&lt;I&gt;$(=MIN({$}[Population(mio)]))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;[Capital]&lt;/B&gt;)&amp;amp;' with '&amp;amp;&lt;B&gt;Min&lt;/B&gt; ({P}&lt;B&gt;[Population(mio)]&lt;/B&gt;)&amp;amp;' inhabitants'&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is fine except where I have multiple values for the minimum. How do I code around this? I thought of maybe concat the fields and then minstring but I couldn't seem to get that to work in the above expression&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;minstring({1}num([Population(mio)],'0,000,000.0000')&amp;amp;[Capital])&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your time and help&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 15:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274099#M1203456</guid>
      <dc:creator />
      <dc:date>2010-11-05T15:58:59Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274100#M1203457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If multiple cities have the same population, wouldn't you want to display them all instead of some "random" city? So I'd think you'd want to use concat() instead of only() in your expression. And here's another way to approach the problem. Not sure which would perform better:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;concat(aggr(if(rank(-"Population(mio)",1,1)=1,"Capital"),"Capital"),', ')&lt;/P&gt;&lt;P&gt;Edit: Wait, it's much simpler than that. You should be able to do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;firstsortedvalue("Capital","Population(mio)")&lt;/P&gt;&lt;P&gt;Oh, no, because if more than one Capital has the highest population, it would return null, and you're back to your original problem. Well, never mind, but I'm posting it anyway in case it stimulates any ideas that are helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 18:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274100#M1203457</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-05T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274101#M1203458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John, Your first solution works exactly as I want it too &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;I'm still getting my head round QlikViews syntax &lt;IMG alt="Confused" src="http://community.qlik.com/emoticons/emotion-43.gif" /&gt;&lt;/P&gt;&lt;P&gt;As for performing better - Do you have any pointers as to what is 'expensive', or performs well, in Qlikview from your experience that you could share (or point me at a source)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your time and help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 09:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274101#M1203458</guid>
      <dc:creator />
      <dc:date>2010-11-08T09:15:31Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274102#M1203459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, one general rule of thumb is that set analysis will perform better than an equivalent if(). So off hand, I would expect your expression with concat() instead of only() to perform better than the other one I mentioned. But there are exceptions to that rule.&lt;/P&gt;&lt;P&gt;As far as tips, I like to think about how QlikView is likely to calculate each expression. Set analysis is kind of like using an index to read your data, while if() is like reading the entire table, and then discarding rows you don't like. So to me, understanding some of the basics of QlikView performance is very much like understanding when a database system will use indexed reads vs. table scans. So assuming you have a database background, perhaps that will help visualize what's going on, even if it's not exactly the same thing.&lt;/P&gt;&lt;P&gt;For your particular example, the set itself is looking for the minimum population. While on the surface this might require reading every row, it's also possible that it does not. I believe that QlikView stores separate lists of values for every field. These might be sorted rather than unsorted lists. If so, it could probably just pick the first possible value to get the minimum without actually reading the whole list, let alone the whole table. And if so, then it could do the set analysis part as well without reading the whole table, so it should be fast. But it's also possible that I'm wrong about how it gets the minimum, and it would have to do a "table scan", in which case it would be more difficult to predict which way of scanning the table would be faster, the set analysis approach or the rank() approach.&lt;/P&gt;&lt;P&gt;My money's on set analysis in this case, but I'm not particularly confident in that. Chances are any difference won't be noticeable to users, and would require repeated testing while measuring the milliseconds required to calculate. I only rarely go to that effort, usually only when the chart is so slow that a user might notice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 17:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274102#M1203459</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-08T17:14:44Z</dc:date>
    </item>
    <item>
      <title>Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274103#M1203460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John - Very good post. I had learnt from your explanation. Totally valid...&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 13:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274103#M1203460</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-21T13:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274104#M1203461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to accomplish something similar; use expression to filter the value 'On hold' away from a listbox displaying StatusName.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the above examples I tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;StatusName-={'On hold'}&amp;gt;}StatusName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;StatusName={'*'}-{'On hold'}&amp;gt;}StatusName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but they did not work. In fact, after the change the listbox displays only its caption - no values at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you think of something that is wrong in my approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 10:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274104#M1203461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-12T10:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274105#M1203462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juho&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want help with this issue, I suggest that you start a new thread with your question. This thread is answered and you are unlikely to get help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 12:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274105#M1203462</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-07-12T12:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274106#M1203463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan, I moved my question here: &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/86889" title="http://community.qlik.com/thread/86889"&gt;http://community.qlik.com/thread/86889&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 06:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274106#M1203463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-15T06:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274107#M1203464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find this thread really useful, i managed to get some idea from your post about below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should return 10,20,30. But what if, again, you wanted to restrict it to only Type X?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;concat(aggr(only({&amp;lt;Type={'X'}&amp;gt;} Value),ID),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;However, i use the type X as date formatted as YYYY-MM-DD. I'm tyring to display the data from last 10 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;So i have the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ActDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Suppgroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;2014-06-04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;So if today's date is 2014-05-04 and i want to display the information for date equal to 2014-06-02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;my formula is&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;SPAN style="color: #0000ff;"&gt;concat&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;only&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[actdate]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(=today()-3)"&lt;/SPAN&gt;}&amp;gt;}Value),&lt;SPAN style="color: #800000;"&gt;suppgroup&lt;/SPAN&gt;),',') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;the output Im expecting is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Suppgroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;I'm not getting the correct output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274107#M1203464</guid>
      <dc:creator />
      <dc:date>2014-06-09T15:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274108#M1203465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;This helped me as well.&lt;/P&gt;&lt;P&gt;had to work on it a bit to fit my requirements, but got it right &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;concat(aggr(if(rank(-aggr(min(Score),CQ_Agent,Parameter),1,1)=1,Parameter),CQ_Agent,Parameter),', ')&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ARN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 14:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274108#M1203465</guid>
      <dc:creator>aparnanair1405</dc:creator>
      <dc:date>2015-04-16T14:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274109#M1203466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can Anybody Explain the use of &lt;STRONG&gt;"Only function"&lt;/STRONG&gt; at the time of Loading data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Only([Entry Type]) as Entry Type,&lt;/P&gt;&lt;P&gt;[Posting Date]&lt;/P&gt;&lt;P&gt;From Value_Entry.qvd(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 10:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274109#M1203466</guid>
      <dc:creator />
      <dc:date>2015-11-18T10:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use of ONLY Function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274110#M1203467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would load a [Entry Type] value only if it has a single value. Otherwise, the field would load nothing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 10:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-ONLY-Function/m-p/274110#M1203467</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-11-18T10:54:01Z</dc:date>
    </item>
  </channel>
</rss>

