<?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: Set table box column names by function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309008#M114082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you are using QUALIFY in your script. If you want to keep using it, just rename it to FieldName1 manually. If all fields are named like that, you can use the function&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;=SubField('&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;TABLE_NAME.fieldname1', '.', 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I don't see the advantage of using this instead of typing the name for each field. There are no "labelling functions" but string functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2012 16:04:42 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-01-26T16:04:42Z</dc:date>
    <item>
      <title>Set table box column names by function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309007#M114081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to add columns of a table to a table box and assigne a label to each column with the help of a function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. loaded table has qualified columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE_NAME.fieldname1 &lt;/P&gt;&lt;P&gt;TABLE_NAME.fieldname2&lt;/P&gt;&lt;P&gt;TABLE_NAME.fieldname3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As column labels, 'fieldname1', 'fieldname2', 'fieldname3' shall be used in the table box. How can these labels be given with the help of a labeling function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. = fieldname(0,'TABLE_NAME') does not work for fieldname1, as fieldname() is a script function only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 15:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309007#M114081</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2012-01-26T15:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set table box column names by function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309008#M114082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you are using QUALIFY in your script. If you want to keep using it, just rename it to FieldName1 manually. If all fields are named like that, you can use the function&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;=SubField('&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;TABLE_NAME.fieldname1', '.', 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I don't see the advantage of using this instead of typing the name for each field. There are no "labelling functions" but string functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 16:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309008#M114082</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-26T16:04:42Z</dc:date>
    </item>
    <item>
      <title>Set table box column names by function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309009#M114083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to use the function-method because column names will be automatically adjusted in the table box when I rename the column name in the script. This would be especially helpful when I re-use the same column in several table boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course a string function would be needed for that, containing the current field reference as a parameter. But "current table field" does not exist as a function in the table box dialog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 16:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309009#M114083</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2012-01-26T16:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set table box column names by function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309010#M114084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There is no such function to know what fields are you using in a table box. But you can create a table with the field names, although the main problem remains: you still have to manually rename them either in the script or in the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 17:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-table-box-column-names-by-function/m-p/309010#M114084</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-26T17:17:32Z</dc:date>
    </item>
  </channel>
</rss>

