<?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: Label for totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Label-for-totals/m-p/1009479#M468296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Avg ' &amp;amp; concat(distinct Year,', ') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would create:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg 2010,2011,2012 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Avg ' &amp;amp; min(Year) &amp;amp; '-' &amp;amp; max(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg&amp;nbsp; 2010-2012&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 21:42:06 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2015-09-09T21:42:06Z</dc:date>
    <item>
      <title>Label for totals</title>
      <link>https://community.qlik.com/t5/QlikView/Label-for-totals/m-p/1009478#M468295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have put in a formula for labeling my total (average) of quarters.&amp;nbsp; It is ='Avg '&amp;amp;Year.&amp;nbsp; However if more than one year is selected it doesn't know which year and just puts in the text Avg without the year.&amp;nbsp; What am I doing wrong as I assumed it would know the year the subset relates to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98454_Capture3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 21:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-for-totals/m-p/1009478#M468295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T21:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Label for totals</title>
      <link>https://community.qlik.com/t5/QlikView/Label-for-totals/m-p/1009479#M468296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Avg ' &amp;amp; concat(distinct Year,', ') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would create:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg 2010,2011,2012 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Avg ' &amp;amp; min(Year) &amp;amp; '-' &amp;amp; max(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg&amp;nbsp; 2010-2012&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 21:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Label-for-totals/m-p/1009479#M468296</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-09-09T21:42:06Z</dc:date>
    </item>
  </channel>
</rss>

