<?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: Alternative Current Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369885#M577246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahh ok, that makes sense. So this isnt something you can do on key fields then or primary keys?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2012 08:08:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-16T08:08:28Z</dc:date>
    <item>
      <title>Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369878#M577239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for an alternative way of displaying the current selections.&lt;/P&gt;&lt;P&gt;The standard box (QV11) lacks of (as I think significant) features: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) I want to show alternative names (labels) rather than the (often used) teccie-names.&lt;/P&gt;&lt;P&gt;(yes, I could solve that by changing field names in code, but in other situations, the teccie names are quite helpful). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) I want to hide certain fields, where selections are made for the sake of the "sheet logic" only.&lt;/P&gt;&lt;P&gt;No user is interested in these fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. I'd like to have a current selections box with labels and the ability to hide a defined set of fields.&lt;/P&gt;&lt;P&gt;Did somebody develop something similar already? &lt;/P&gt;&lt;P&gt;Any "ready to use" solution available ;-)? &lt;/P&gt;&lt;P&gt;Otherwise any hint on how to accomplish something like that is very much welcome.&lt;/P&gt;&lt;P&gt;A Macro-less solution would be a dream &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Thilo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I started experiments with the system field "$Fields" and the GetFieldSelection function ... but without satisfying result, yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 16:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369878#M577239</guid>
      <dc:creator />
      <dc:date>2012-03-26T16:29:35Z</dc:date>
    </item>
    <item>
      <title>Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369879#M577240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as the hiding certain selections goes in the script you can use:&lt;/P&gt;&lt;P&gt;Set hideprefix='%';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then for the fields you want hidden place this symbol before the name like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as changing the names, I am not aware of an easy way. You can create a text object to display current selections of a field with your own label but for a large script this could become quite large.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 17:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369879#M577240</guid>
      <dc:creator />
      <dc:date>2012-03-26T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369880#M577241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im keen to understand this if anyone has a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a users perspective the field names (driven by how they are stored in the original DB)&amp;nbsp; in the current selection arent staright forward, but if the current selection refers to the relabeling I gave to the list box you make the selection from , it would be far simpler for the user to read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 13:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369880#M577241</guid>
      <dc:creator />
      <dc:date>2012-07-12T13:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369881#M577242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi THe_evaco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make a quick and powerful rename of fields, you can do like this.&lt;/P&gt;&lt;P&gt;Say you have a set of fields called DAT02L, TSTRP03, KLK44CN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can do like this (pseudo code):&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 _jivemacro_uid_13421032250757692" jivemacro_uid="_13421032250757692"&gt;&lt;P&gt;MapFieldLabels:&lt;/P&gt;&lt;P&gt;MAPPING LOAD INLINE&lt;/P&gt;&lt;P&gt;CodedFieldName, HumanReadableFieldName&lt;/P&gt;&lt;P&gt;DAT02L, Date of purchase&lt;/P&gt;&lt;P&gt;TSTRP03, Test report number&lt;/P&gt;&lt;P&gt;INV44CS, Invoice customer number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RENAME FIELDS USING MapFieldLabels;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;After running the code, all fields in the data model are checked against the mapping table and renamed accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same logic can be used for field comments:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13421032332297904" jivemacro_uid="_13421032332297904"&gt;&lt;P&gt;COMMENT FIELDS USING MapFieldComments;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 14:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369881#M577242</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-07-12T14:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369882#M577243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes that worked many thanks although for ease i loaded in an excel mapping table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldMap:&lt;/P&gt;&lt;P&gt;Mapping LOAD Distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; CodedFieldName,&amp;nbsp; HumanReadableFieldName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;H&gt;&lt;/H&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 10:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369882#M577243</guid>
      <dc:creator />
      <dc:date>2012-07-13T10:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369883#M577244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well i thought i got this working but only partially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldmap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then load table1 to be converted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rename etc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i put the fieldmap and rename around 2 tables to be it doesnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldmap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then load table1 to be converted, then load table 2 to be converted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rename etc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;falls over &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I load the field map in twice , around both tables, only the 1st table is converted. If the 2nd table has values equal to those in the 1st these ie. key fields,&amp;nbsp; are ignored. Only new unique field names are changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do i need a tablemap for every table i want to convert? Or is there an easy way ,so i can just put all the table map values in one table and this will blanket convert every table in my schema?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 13:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369883#M577244</guid>
      <dc:creator />
      <dc:date>2012-07-13T13:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369884#M577245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again.&lt;/P&gt;&lt;P&gt;Good I'm glad you got further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As with all mapping tabled, you need to make sure each key (CodedFieldName) only exists once.&lt;/P&gt;&lt;P&gt;ie: where not exists(CodedFieldName).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else those fields map to null and thus the rename doesn't happen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 21:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369884#M577245</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-07-13T21:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369885#M577246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahh ok, that makes sense. So this isnt something you can do on key fields then or primary keys?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 08:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-Current-Selections/m-p/369885#M577246</guid>
      <dc:creator />
      <dc:date>2012-07-16T08:08:28Z</dc:date>
    </item>
  </channel>
</rss>

