<?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 Variables in Column Label not working. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679930#M542482</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 have a dynamic label expression that works when It is dropped as is into a straight table column label like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(MonthStart(AddMonths(Max((RDateofPmnt),-11),'YYYY-MM'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I use variables to store the expression, broken in 2 so I can insert a column specific offset number, it does not&lt;/P&gt;&lt;P&gt;work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(=(var1 &amp;amp; '-11' &amp;amp; var2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried several alternatives but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use a similar tactic for expressions and conditions, it does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just the Label expression does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2014 16:48:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-13T16:48:39Z</dc:date>
    <item>
      <title>Variables in Column Label not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679930#M542482</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 have a dynamic label expression that works when It is dropped as is into a straight table column label like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(MonthStart(AddMonths(Max((RDateofPmnt),-11),'YYYY-MM'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I use variables to store the expression, broken in 2 so I can insert a column specific offset number, it does not&lt;/P&gt;&lt;P&gt;work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(=(var1 &amp;amp; '-11' &amp;amp; var2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried several alternatives but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use a similar tactic for expressions and conditions, it does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just the Label expression does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 16:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679930#M542482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-13T16:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in Column Label not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679931#M542483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Variables containing expressions need to be dollar-expanded:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=$(var1) &amp;amp; '-11' &amp;amp; $(var2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 16:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679931#M542483</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-13T16:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in Column Label not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679932#M542484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But they are not valid expressions until the strings are combined, just pieces&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 16:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679932#M542484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-13T16:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in Column Label not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679933#M542485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh well, no idea in that case. But try creating a variable with a parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;var1: Date(MonthStart(AddMonths(Max((RDateofPmnt),$1),'YYYY-MM'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;label: =$(var1(-11))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 16:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679933#M542485</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-13T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in Column Label not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679934#M542486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the idea, that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still wonder why it didn't work the other way.&lt;/P&gt;&lt;P&gt;I worked for Expressions and Conditions, just not Labels&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, onward ..... and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 17:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-Column-Label-not-working/m-p/679934#M542486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-13T17:08:02Z</dc:date>
    </item>
  </channel>
</rss>

