<?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 function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432565#M430736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;aggr(only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2),)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Syntax error - Aggr(0 needs a dimension value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;Only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Only() returns a value if there is only one possible value for the expression and null if there is more than one. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Its not clear what you are trying to do. Perhaps you could claridy that and get more useful assistance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 04:45:41 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2017-12-06T04:45:41Z</dc:date>
    <item>
      <title>only function</title>
      <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432559#M430730</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;Im display a table data where i need to restrict column data based on only condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont need any group hence left group field empty.&lt;/P&gt;&lt;P&gt;aggr(only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2),)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}ID),)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I alos tried this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}ID)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;both are giving blank(-) values even though data is there...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Plz help &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 18:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/only-function/m-p/1432559#M430730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-05T18:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: only function</title>
      <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432560#M430731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain bit more clear or with any sample data to explain the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;only( &lt;STRONG&gt;{1}&lt;/STRONG&gt; {&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;only(&lt;STRONG&gt;{1}&lt;/STRONG&gt; {&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 18:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/only-function/m-p/1432560#M430731</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-12-05T18:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: only function</title>
      <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432561#M430732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;owner, ID&lt;/P&gt;&lt;P&gt;a,1&lt;/P&gt;&lt;P&gt;b,2&lt;/P&gt;&lt;P&gt;c,4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;Id,Activy&lt;/P&gt;&lt;P&gt;1,0&lt;/P&gt;&lt;P&gt;2,0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to filter data based on&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;only( &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;{1}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt; {&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;so that i can see data only as below in table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;owner id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt; a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 18:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/only-function/m-p/1432561#M430732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-05T18:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: only function</title>
      <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432562#M430733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no primary key in your two tables, how can you map to show them. Is there Any other field which are hidden mapping because your expression looks okay to me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 02:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/only-function/m-p/1432562#M430733</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-06T02:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: only function</title>
      <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432563#M430734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I loaded (Notice the ID field, instead of using Id)&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;owner, ID&lt;/P&gt;&lt;P&gt;a,1&lt;/P&gt;&lt;P&gt;b,2&lt;/P&gt;&lt;P&gt;c,4];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;,Activy&lt;/P&gt;&lt;P&gt;1,0&lt;/P&gt;&lt;P&gt;2,0];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is how the Table is created in the front end:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185878_Untitled.png" style="height: 212px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get rid of the Null, you need to not show null values or to populate all the possible activities as activity 4 is not in T2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 03:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/only-function/m-p/1432563#M430734</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-06T03:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: only function</title>
      <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432564#M430735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or something simpler:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185888_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 03:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/only-function/m-p/1432564#M430735</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-06T03:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: only function</title>
      <link>https://community.qlik.com/t5/QlikView/only-function/m-p/1432565#M430736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;aggr(only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2),)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Syntax error - Aggr(0 needs a dimension value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;Only({&amp;lt;[INVESTIGATION.Inv with Activity] ={0}&amp;gt;}Owner2)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Only() returns a value if there is only one possible value for the expression and null if there is more than one. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Its not clear what you are trying to do. Perhaps you could claridy that and get more useful assistance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 04:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/only-function/m-p/1432565#M430736</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-12-06T04:45:41Z</dc:date>
    </item>
  </channel>
</rss>

