<?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 Showing mapped values on a List Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-mapped-values-on-a-List-Box/m-p/213142#M66946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good John.&lt;/P&gt;&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 14:12:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-14T14:12:19Z</dc:date>
    <item>
      <title>Showing mapped values on a List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-mapped-values-on-a-List-Box/m-p/213140#M66944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My script gets information from a SAP BW query as source.&lt;/P&gt;&lt;P&gt;I'm trying to "translate" the content of a field (it returns two values) to exhibit on a List Box to let it more familia to the end user.&lt;/P&gt;&lt;P&gt;On my load script i have something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map1:&lt;BR /&gt;mapping load * inline [&lt;BR /&gt;BR Biogene Sales, Pioneer&lt;BR /&gt;BR Pioneer Sales, Biogene&lt;BR /&gt;] ;&lt;/P&gt;&lt;P&gt;On the list box i created an expression on the Field input like this:&lt;/P&gt;&lt;P&gt;=ApplyMap("Map1", Sales Organization - Sales Organization Level 01 - [40SALESORG])&lt;/P&gt;&lt;P&gt;The List Box does no show me the values returned by this expression. Anyone has a clue on how to solve it?&lt;/P&gt;&lt;P&gt;Is there another option?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 20:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-mapped-values-on-a-List-Box/m-p/213140#M66944</guid>
      <dc:creator />
      <dc:date>2010-04-13T20:56:22Z</dc:date>
    </item>
    <item>
      <title>Showing mapped values on a List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-mapped-values-on-a-List-Box/m-p/213141#M66945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Five problems that I see:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Mapping tables are discarded by QlikView at the end of the load. The applymap() function must be used DURING the load. So wherever you're loading your field, use the applymap to load a different field.&lt;/LI&gt;&lt;LI&gt;Even though it's a mapping table and the field names don't matter, you must still give it field names because that's how inline loads work.&lt;/LI&gt;&lt;LI&gt;When you specify the table name in the applymap() function, it should be in single quotes, not double quotes.&lt;/LI&gt;&lt;LI&gt;When you specify the field name in the applymap() function, it should be in double quotes (they can be omitted if the field has no whitespace).&lt;/LI&gt;&lt;LI&gt;Since brackets are used by QlikView to specify fields or tables, I didn't think you could use them in a field name. Even if QlikView lets you, I'd file this under "bad idea".&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Putting it all together, you'd do something like this&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Map1:&lt;BR /&gt;MAPPING LOAD * INLINE [&lt;BR /&gt;A, B&lt;BR /&gt;BR Biogene Sales, Biogene&lt;BR /&gt;BR Pioneer Sales, Pioneer&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt; ...&lt;BR /&gt;,SomeField as "Sales Organization - Sales Organization Level 01 - 40SALESORG"&lt;BR /&gt;,applymap('Map1',"SomeField") as "Mapped Sales Organization"&lt;BR /&gt; ...&lt;BR /&gt;from your data source&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;And then just use "Mapped Sales Organization" in your list box rather than an expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 23:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-mapped-values-on-a-List-Box/m-p/213141#M66945</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-13T23:24:47Z</dc:date>
    </item>
    <item>
      <title>Showing mapped values on a List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-mapped-values-on-a-List-Box/m-p/213142#M66946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good John.&lt;/P&gt;&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 14:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-mapped-values-on-a-List-Box/m-p/213142#M66946</guid>
      <dc:creator />
      <dc:date>2010-04-14T14:12:19Z</dc:date>
    </item>
  </channel>
</rss>

