<?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: Change field Labels visible when filtering in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1745948#M57248</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113964"&gt;@elinamcastelletta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure I follow what it is that you are trying to achieve.&lt;/P&gt;&lt;P&gt;You can calculate field names, so say you had a selection of which name to show in a field WhichName you could have something like this in the label:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(GetPossibleCount(WhichName)=1, 'Name', 'Name_1')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But without knowing what you are trying to achieve I can't tell you exactly what code you need.&lt;/P&gt;&lt;P&gt;Screenshots and copy/paste of code would be helpful.&lt;/P&gt;&lt;P&gt;In the main, naming fields in the load script is the best way to get the correct labels:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp; Name_1 as Forename,&lt;BR /&gt;&amp;nbsp; Name_2 as [Middle Name],&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;Steve&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 10:39:42 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2020-09-22T10:39:42Z</dc:date>
    <item>
      <title>Change field Labels visible when filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1745608#M57223</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my app, some tables have the field "Name" : Name_1, Name_2, Name_3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I apply a filter I need to knw how to just show the Label name "Name" instead of "Name_1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 12:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1745608#M57223</guid>
      <dc:creator>elinamcastelletta</dc:creator>
      <dc:date>2020-09-21T12:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change field Labels visible when filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1745948#M57248</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113964"&gt;@elinamcastelletta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure I follow what it is that you are trying to achieve.&lt;/P&gt;&lt;P&gt;You can calculate field names, so say you had a selection of which name to show in a field WhichName you could have something like this in the label:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(GetPossibleCount(WhichName)=1, 'Name', 'Name_1')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But without knowing what you are trying to achieve I can't tell you exactly what code you need.&lt;/P&gt;&lt;P&gt;Screenshots and copy/paste of code would be helpful.&lt;/P&gt;&lt;P&gt;In the main, naming fields in the load script is the best way to get the correct labels:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp; Name_1 as Forename,&lt;BR /&gt;&amp;nbsp; Name_2 as [Middle Name],&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;Steve&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 10:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1745948#M57248</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2020-09-22T10:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change field Labels visible when filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1746144#M57284</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to change the name STD_W in the visualization pane, see below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elinamcastelletta_0-1600798371081.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41016i46AB6E506FD03C8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elinamcastelletta_0-1600798371081.png" alt="elinamcastelletta_0-1600798371081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to call it Standard. But I cannot change it in the script as it would create a Synthetic Key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 18:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1746144#M57284</guid>
      <dc:creator>elinamcastelletta</dc:creator>
      <dc:date>2020-09-22T18:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change field Labels visible when filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1746152#M57286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113964"&gt;@elinamcastelletta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ah. That is one of the places that you can not overwrite the field name. Even if you create and use a Master Dimension, the selection will always show the underlying field name. You can use a dynamic dimension, but this will then show the code, which will look even worse.&lt;/P&gt;&lt;P&gt;Renaming in the script would be better, if possible. Could you prefix or suffix, perhaps&amp;nbsp;&lt;STRONG&gt;Standard: Customer&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;Standard: Sales&lt;/STRONG&gt;, for example?&lt;/P&gt;&lt;P&gt;Often if you have two fields with the same name in separate tables it can be best to concatenate the tables rather than have a join key. This is good if you have lots of commonality, but much less good if there are only a few common fields and lots which are unique.&lt;/P&gt;&lt;P&gt;If you have seen any articles by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/665"&gt;@christophebrault&lt;/a&gt;&amp;nbsp;, you will know he likes emoji's. He would almost certainly rename one of the fields to be&amp;nbsp;&lt;STRONG&gt;Standard&amp;nbsp;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, and that would work just fine, just put this in the load script;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;BR /&gt;&amp;nbsp; STD_W as [Standard &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;],&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You could use an underscore, or possibly a space after one, but the latter could almost certainly trip you up later.&lt;/P&gt;&lt;P&gt;Afraid there isn't a quick and simple fix for this one.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 18:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-field-Labels-visible-when-filtering/m-p/1746152#M57286</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2020-09-22T18:42:30Z</dc:date>
    </item>
  </channel>
</rss>

