<?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: How to get unique values in list box from two different fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597719#M221343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, firstly, logically this does not make sense. If a field value says the same value i.e. User8, and this is joined on a common field in your table design, then clicking on User8 will either has to render value User1 from AuthUser available or User15 from ActUser available. This is impossible to do as your design logically does not know how to interpret that selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that in mind, you cannot create a working logically defined list box on 2 field values based on your design. The only way would be to do this in script with a link table. But since you are adamant on doing this in the front end, this is what you can get. A list box with all values from both, but it is unselectable and cannot interact with your document. In your list box, write this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Valuelist($(=Concat(DISTINCT chr(39)&amp;amp;AuthUser&amp;amp;chr(39),',')),$(=Concat(DISTINCT chr(39)&amp;amp;ActUser&amp;amp;chr(39),',')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since both list boxes already show you what is available and what is not, I still dont understand why you would want to do this. Explain the reason behind it, and maybe we can find a better approach for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 08:32:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-18T08:32:37Z</dc:date>
    <item>
      <title>How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597712#M221336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;HI All , I am attaching a qvw whihc has two list box ,, Act Users and Auth Users. I would like to have one list box with unique values from both. I think we could do using set analysis ,but not sure how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field A ( Listbox)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldB ( listbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user1&lt;/P&gt;&lt;P&gt;user2&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user3&lt;/P&gt;&lt;P&gt;user3&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired list box with values from both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 04:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597712#M221336</guid>
      <dc:creator />
      <dc:date>2014-02-18T04:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597713#M221337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your attached qvw file you are using nocontatanate .. can you replace it to Concatanate ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 04:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597713#M221337</guid>
      <dc:creator>sanketkhunte</dc:creator>
      <dc:date>2014-02-18T04:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597714#M221338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this you need to append up the two fields as one .&lt;/P&gt;&lt;P&gt;See the sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 04:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597714#M221338</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-02-18T04:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597715#M221339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I would like to do it on front end side and by using concatenate, it will duplicate them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 05:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597715#M221339</guid>
      <dc:creator />
      <dc:date>2014-02-18T05:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597716#M221340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnaks for the reply,, but i would like to do it on front end and even with this append, respective Application is blank.&lt;/P&gt;&lt;P&gt;I want Application selection box should work for each unique value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 05:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597716#M221340</guid>
      <dc:creator />
      <dc:date>2014-02-18T05:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597717#M221341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you concatenate two fields, it is going to display unique values in listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load unique values in script, use where not exist function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 05:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597717#M221341</guid>
      <dc:creator />
      <dc:date>2014-02-18T05:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597718#M221342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basicall this is what i want&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53361_example.png" style="width: 620px; height: 171px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 05:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597718#M221342</guid>
      <dc:creator />
      <dc:date>2014-02-18T05:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597719#M221343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, firstly, logically this does not make sense. If a field value says the same value i.e. User8, and this is joined on a common field in your table design, then clicking on User8 will either has to render value User1 from AuthUser available or User15 from ActUser available. This is impossible to do as your design logically does not know how to interpret that selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that in mind, you cannot create a working logically defined list box on 2 field values based on your design. The only way would be to do this in script with a link table. But since you are adamant on doing this in the front end, this is what you can get. A list box with all values from both, but it is unselectable and cannot interact with your document. In your list box, write this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Valuelist($(=Concat(DISTINCT chr(39)&amp;amp;AuthUser&amp;amp;chr(39),',')),$(=Concat(DISTINCT chr(39)&amp;amp;ActUser&amp;amp;chr(39),',')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since both list boxes already show you what is available and what is not, I still dont understand why you would want to do this. Explain the reason behind it, and maybe we can find a better approach for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 08:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597719#M221343</guid>
      <dc:creator />
      <dc:date>2014-02-18T08:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique values in list box from two different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597720#M221344</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;I have 2 list box:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;Project&lt;/STRONG&gt;&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; &lt;STRONG&gt;Project 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Project 1&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; Project 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; Project 2&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; Project 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; Project 3&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; Project 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display 1 text box displaying common values and unique values from both the list box ex:&lt;/P&gt;&lt;P&gt;common value of 2 box are : Project 2&lt;/P&gt;&lt;P&gt;unique value of Project: Project 1, Project 3&lt;/P&gt;&lt;P&gt;unique value of Project 1: Project 4, Project 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 22:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-unique-values-in-list-box-from-two-different-fields/m-p/597720#M221344</guid>
      <dc:creator />
      <dc:date>2014-02-24T22:21:15Z</dc:date>
    </item>
  </channel>
</rss>

