<?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 Labeling of fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825309#M1019151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to label a field with Actual and a via Formula generated Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Act ' &amp;amp; Year(Today())-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 09:01:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-31T09:01:26Z</dc:date>
    <item>
      <title>Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825309#M1019151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to label a field with Actual and a via Formula generated Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Act ' &amp;amp; Year(Today())-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825309#M1019151</guid>
      <dc:creator />
      <dc:date>2015-03-31T09:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825310#M1019154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;='Act ' &amp;amp; Year(Today()-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825310#M1019154</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2015-03-31T09:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825311#M1019156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wrap the Year(Today())-1 in brackets and it should!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825311#M1019156</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-03-31T09:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825312#M1019157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add ()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Act ' &amp;amp; (Year(Today())-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825312#M1019157</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-31T09:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825313#M1019158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ='Act&amp;nbsp;&amp;nbsp; '&amp;nbsp;&amp;nbsp; &amp;amp; year(Today()-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825313#M1019158</guid>
      <dc:creator />
      <dc:date>2015-03-31T09:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825314#M1019159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you want this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Act'&amp;amp; (Year(Today())-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825314#M1019159</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2015-03-31T09:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825315#M1019160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;workaround does the job (in my case)&lt;/P&gt;&lt;P&gt;='Act ' &amp;amp; max(year(today())-1) works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825315#M1019160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-31T09:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825316#M1019161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825316#M1019161</guid>
      <dc:creator />
      <dc:date>2015-03-31T09:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825317#M1019162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries - just a note, Ashfaq's answer will give you the year for yesterday - if you want the previous year for today, then use the formula given by myself and Massimo!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825317#M1019162</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-03-31T09:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling of fields</title>
      <link>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825318#M1019163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo and Aaron were right, concatenation operator has the same priority as the addition operator, wich is in equal priority than the substraction operator, and the '&amp;amp;' used to concatenating is before the '-' used to substraction because in equal priority is evaluated left to right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In example, if the expression was "='Act ' &amp;amp; Year(Today())*2" it will do first the multiplication and the concatenation (as multiplication has more priority than addition)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that expression you need to add parentheses to specify to do first the substraction and then the concatenation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labeling-of-fields/m-p/825318#M1019163</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-31T09:32:39Z</dc:date>
    </item>
  </channel>
</rss>

