<?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 Simple Question Primary Keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167753#M39193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, clearly there are a lot of options. Thank you everyone!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2009 22:34:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-27T22:34:19Z</dc:date>
    <item>
      <title>Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167746#M39186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably an easy one...&lt;/P&gt;&lt;P&gt;Prior to using qlikview, when I needed to create reports (e.g. ASP.NET), I'd create a drop down list where the value = primary key of a table and the text = the name&lt;/P&gt;&lt;P&gt;Let's say I have a customer dimension that has the following fields (custID int, custname)&lt;/P&gt;&lt;P&gt;When I create a ListBox, I want to display the custname. This is really easy. However, if two customers have the same name (very possible), I want to see two records in the ListBox.&lt;/P&gt;&lt;P&gt;How can I achieve this in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 01:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167746#M39186</guid>
      <dc:creator />
      <dc:date>2009-08-27T01:04:28Z</dc:date>
    </item>
    <item>
      <title>Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167747#M39187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use a table box instead, and display custId and custname&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 01:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167747#M39187</guid>
      <dc:creator />
      <dc:date>2009-08-27T01:10:12Z</dc:date>
    </item>
    <item>
      <title>Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167748#M39188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or, you can use straight table with custId as dimension and custname as expression, and hide custId. Looks more like listbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 03:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167748#M39188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-27T03:39:26Z</dc:date>
    </item>
    <item>
      <title>AW:Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167749#M39189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you could use a custom expression as e. g.&lt;/P&gt;&lt;P&gt;= custID &amp;amp; ' : ' &amp;amp; custname&lt;/P&gt;&lt;P&gt;as base of a ListBox.&lt;/P&gt;&lt;P&gt;At least theoretically this should work, but I'm afraid there's an issue with QlikView 9 with this ListBox Espression. I'll harangue the support team on this tomorrow ....&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 04:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167749#M39189</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-08-27T04:24:39Z</dc:date>
    </item>
    <item>
      <title>AW:Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167750#M39190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I sometimes load codes and descriptions into a single field in my script, either "description (code)" or "code - description" depending on whether the code or the description is more commonly used, or depending on how users are used to looking at the data in other systems. I'm guessing that a straight table is closer to what you're after here, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 05:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167750#M39190</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-08-27T05:41:09Z</dc:date>
    </item>
    <item>
      <title>AW:Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167751#M39191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another approach is to use dual() to create a field for selecting the report in the script.&lt;/P&gt;&lt;P&gt;dual(CustomerName, CustomerID) as NameSelect&lt;/P&gt;&lt;P&gt;This way you will display all duplicates of CustomerNames as long as they have different underlying CustomerID's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 11:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167751#M39191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-27T11:17:10Z</dc:date>
    </item>
    <item>
      <title>Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167752#M39192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I prefer to use the listbox solution as search functionality is still available to the user; I also create a field like 'custno - custname'&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 16:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167752#M39192</guid>
      <dc:creator />
      <dc:date>2009-08-27T16:09:42Z</dc:date>
    </item>
    <item>
      <title>Simple Question Primary Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167753#M39193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, clearly there are a lot of options. Thank you everyone!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 22:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Question-Primary-Keys/m-p/167753#M39193</guid>
      <dc:creator />
      <dc:date>2009-08-27T22:34:19Z</dc:date>
    </item>
  </channel>
</rss>

