<?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 Creating more user friendly options in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258033#M1184417</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;I am just starting out on Qlikview and have had a reasonable amount of success so far in so far. I do find myself getting stuck every so often with what I know are simple tasks, but that's to be expected. I have been able to figure most things out by looking over the training material and other examples however I have one issue which I hope the community might be able to help me with......please &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with an excel worksheet which contains a column called 'region'. The values within this column are single letters. To improve usability I would like to change my Qlikview application to display the full region names without changing the underlying data.&lt;/P&gt;&lt;P&gt;In plain english, I want to say display 'East' instead of 'e' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can one of you kind people please tell me how this is achieved? Is is a change at the load stage or can this be done for individual objects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Nov 2011 19:46:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-26T19:46:43Z</dc:date>
    <item>
      <title>Creating more user friendly options</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258033#M1184417</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;I am just starting out on Qlikview and have had a reasonable amount of success so far in so far. I do find myself getting stuck every so often with what I know are simple tasks, but that's to be expected. I have been able to figure most things out by looking over the training material and other examples however I have one issue which I hope the community might be able to help me with......please &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with an excel worksheet which contains a column called 'region'. The values within this column are single letters. To improve usability I would like to change my Qlikview application to display the full region names without changing the underlying data.&lt;/P&gt;&lt;P&gt;In plain english, I want to say display 'East' instead of 'e' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can one of you kind people please tell me how this is achieved? Is is a change at the load stage or can this be done for individual objects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 19:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258033#M1184417</guid>
      <dc:creator />
      <dc:date>2011-11-26T19:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating more user friendly options</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258034#M1184418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hendrickx,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could use a mapping table to map your single letter region field to a full name region field, like below. The REGIONMAP table is only existing during load, the applymap functions queries the full name values from it. As a result, you get an table, INPUT, with the original field Region and an additional field RegionName. The Inline table is only for demonstration, you probably replace it just with a ... from YourDatabaseTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of mapping the Name into the Table as a new field, you could remove the line with the applymap() and the Mapping prefix, and thus create a second resident table that is linked via Region to your Input table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any object, you can now use the RegionName to have a more user friendly list of values, e.g. in a selection box or as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGIONSMAP:&lt;/P&gt;&lt;P&gt;Mapping LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Region, Name&lt;/P&gt;&lt;P&gt;W, West&lt;/P&gt;&lt;P&gt;N, North&lt;/P&gt;&lt;P&gt;S, South&lt;/P&gt;&lt;P&gt;E, East&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUT:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;applymap('REGIONSMAP',Region) as RegionName&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Region&lt;/P&gt;&lt;P&gt;E&lt;/P&gt;&lt;P&gt;W&lt;/P&gt;&lt;P&gt;N&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 20:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258034#M1184418</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-26T20:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating more user friendly options</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258035#M1184419</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 agree with Stefan's solution, you can check this one also and see how they perform should you have a large data volume to load, and probably easier since this doesn't need any additional table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD ...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pick(Match(Region, 'N', 'S', 'E', 'W'), 'Reg. North', 'Reg. South', 'Reg. East', 'Reg. West') AS FriendlyRegionName&lt;/P&gt;&lt;P&gt;FROM Source;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match() function will return a numeric value when the match is done (1 for 'N', 2 for 'S' and so) and Pick will take the result of this match from the list of expression following. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I would always do this kind of stuff in the script rather than in the objects using expressions. The latter can slow down your redering time.&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;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Nov 2011 17:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258035#M1184419</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-27T17:47:50Z</dc:date>
    </item>
    <item>
      <title>Creating more user friendly options</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258036#M1184420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't need both the code and the name -- that is, you just want to expand the code out, I find a simpler form to be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;REGIONSMAP:&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Mapping LOAD * INLINE [&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Region, Name&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;W, West&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;N, North&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;S, South&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;E, East&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;MAP Region using REGIONSMAP;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 05:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258036#M1184420</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-11-28T05:15:12Z</dc:date>
    </item>
    <item>
      <title>Creating more user friendly options</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258037#M1184421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the very helpful responses - everything is working as required!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 22:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-more-user-friendly-options/m-p/258037#M1184421</guid>
      <dc:creator />
      <dc:date>2011-11-28T22:02:49Z</dc:date>
    </item>
  </channel>
</rss>

