<?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: Expression Label in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396303#M1161443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the data field was loaded by a crss table load.&lt;/P&gt;&lt;P&gt;by using crostable, the table headers (datafield names) endet up in anoter data field "fieldname".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because the data field (name) became now "data" inside a field, it was possible, to use mid() right() and left()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 09:14:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-06T09:14:09Z</dc:date>
    <item>
      <title>Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396293#M1161433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;In a pivot table, I am trying to create an expression label that displays the Expression field minus the square brackets for example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Expression definition:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #800000;"&gt;&lt;P&gt;[&lt;SPAN style="color: #333333;"&gt;Event Outcome] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Expression Label:&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to show: Event Outcome&amp;nbsp;&amp;nbsp; (eg expression definition with out the [ ] brackets)&lt;/P&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;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 11:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396293#M1161433</guid>
      <dc:creator />
      <dc:date>2012-11-02T11:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396294#M1161434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you just use the field "Label" on your Expresion tab for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 11:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396294#M1161434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-02T11:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396295#M1161435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.  I could type this in manually in the expression label however I am hoping there is an automatic way to do this as I have to do this for multiple columns. Sorry I should have explained this in my original post.&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;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 11:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396295#M1161435</guid>
      <dc:creator />
      <dc:date>2012-11-02T11:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396296#M1161436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the easiest and most secure solution would be to just rename your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can load your expression name somehow as a variable,you could use mid() to show only the text between the brackets. &lt;/P&gt;&lt;P&gt;mid(label,2,12)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 11:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396296#M1161436</guid>
      <dc:creator />
      <dc:date>2012-11-02T11:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396297#M1161437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where do the brackets come from? If they come from table names,&amp;nbsp; you can try rename them in your script, is that an option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: Arial; background-color: #ffffff;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial;"&gt;Event Outcome]&amp;nbsp; as "&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial;"&gt;Event Outcome"&lt;/SPAN&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;SPAN style="background-color: #ffffff; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 11:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396297#M1161437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-02T11:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396298#M1161438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The brackets are there because there is a space in the Field name. I could rename fields to have no Space or Underscore however this is not ideal. Alexander I think your idea is a good approach however  how can we ‘load the expression name’?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can also use replace instead of mid but the part I can not work out is loading the expression name to put into the formula!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 11:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396298#M1161438</guid>
      <dc:creator />
      <dc:date>2012-11-02T11:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396299#M1161439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see why the bracets end up in your application. Whenever I define fields with bracets they dissapear automaticly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script below will result in an application with the field name&lt;STRONG&gt; Record number&lt;/STRONG&gt; without bracets.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13518580327379613" jivemacro_uid="_13518580327379613"&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; recno() as [Record number]&lt;/P&gt;&lt;P&gt;AUTOGENERATE 500&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide a sample qvw file to show us the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 12:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396299#M1161439</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2012-11-02T12:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396300#M1161440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, the brackets only appear in the label when placed in the ‘Chart  Expression’. There are no brackets when using the field as a dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="Record number"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6&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;P&gt;Thanks Again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 12:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396300#M1161440</guid>
      <dc:creator />
      <dc:date>2012-11-02T12:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396301#M1161441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;daniel.garge wrote:&lt;/P&gt;&lt;P&gt;however&amp;nbsp; how can we ‘load the expression name’?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;this was a theoretical solution. ive only tryed this with data fields and their names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since its an expression, it is now stored in the memory like the objects from the data tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 13:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396301#M1161441</guid>
      <dc:creator />
      <dc:date>2012-11-02T13:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396302#M1161442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexander, Are you able to explain how you did this for data field? Hopefully from there I can work out how to retrieve/reference the expression definition.&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;DAn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 14:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396302#M1161442</guid>
      <dc:creator />
      <dc:date>2012-11-02T14:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Label</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396303#M1161443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the data field was loaded by a crss table load.&lt;/P&gt;&lt;P&gt;by using crostable, the table headers (datafield names) endet up in anoter data field "fieldname".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because the data field (name) became now "data" inside a field, it was possible, to use mid() right() and left()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Label/m-p/396303#M1161443</guid>
      <dc:creator />
      <dc:date>2012-11-06T09:14:09Z</dc:date>
    </item>
  </channel>
</rss>

