<?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: Predefined Values From 2 Fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Predefined-Values-From-2-Fields/m-p/275788#M102913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without testing and they may not fit your situation but try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a combined field in the load script using the '&amp;amp;' '&amp;amp;' method to join (don't think that's what you're after)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Try, =concat([Name],',')&amp;amp;', '&amp;amp;concat([Name2],',') - you can be quite flexible with the concat statement; I find the best way to ensure it's returning the correct results is to enter it into a text box first to make the results clear. Add a 'distinct' statement in to the concat() expression if you need to de-duplicate the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2011 15:37:41 GMT</pubDate>
    <dc:creator>matt_crowther</dc:creator>
    <dc:date>2011-08-16T15:37:41Z</dc:date>
    <item>
      <title>Predefined Values From 2 Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-Values-From-2-Fields/m-p/275787#M102912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿I'm wanting to have a predefined list of values for an input box coming from 2 fields, [Name] and [Name2], I currently have just [Name] in using the formula&lt;/P&gt;&lt;P&gt;=concat([Name],',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to do this for two fields at once so both sets of Names are in the dropdown?&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, 16 Aug 2011 14:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-Values-From-2-Fields/m-p/275787#M102912</guid>
      <dc:creator />
      <dc:date>2011-08-16T14:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined Values From 2 Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-Values-From-2-Fields/m-p/275788#M102913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without testing and they may not fit your situation but try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a combined field in the load script using the '&amp;amp;' '&amp;amp;' method to join (don't think that's what you're after)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Try, =concat([Name],',')&amp;amp;', '&amp;amp;concat([Name2],',') - you can be quite flexible with the concat statement; I find the best way to ensure it's returning the correct results is to enter it into a text box first to make the results clear. Add a 'distinct' statement in to the concat() expression if you need to de-duplicate the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-Values-From-2-Fields/m-p/275788#M102913</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-08-16T15:37:41Z</dc:date>
    </item>
  </channel>
</rss>

