<?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 How to Concatenate result of aggregation with an string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253916#M859118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello friends,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am very new to QlikView... I am learning and exploring it. Certainly this is an awesome tool but I am running into obstacles with this expression that calculates sum of hours and adds hrs to the value from sum/agg. &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;sum([FUNDED_HRS]) &amp;amp; 'hrs'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tried following as well but didn't get success it says "No data to display" but when I keep only &lt;STRONG style="font-size: 13.3333px;"&gt;sum([FUNDED_HRS])&lt;/STRONG&gt; it shows accurate number / value on data points.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- sum([FUNDED_HRS]) &amp;amp; ' ' &amp;amp;'hrs'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- concate(sum([FUNDED_HRS]) ,' ' , 'hrs')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="temp.jpeg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149596_temp.jpeg" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Same issue occures on a diff. expression where I am trying to concatenate value / result of 2 diff. aggregate functions.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- Sum([Value]) &amp;amp; '/' &amp;amp; S&lt;SPAN style="font-size: 13.3333px;"&gt;um([Funded_Hrs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sorry if it is a silly question. Please help.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance!&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>khigaurav999</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253916#M859118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello friends,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am very new to QlikView... I am learning and exploring it. Certainly this is an awesome tool but I am running into obstacles with this expression that calculates sum of hours and adds hrs to the value from sum/agg. &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;sum([FUNDED_HRS]) &amp;amp; 'hrs'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tried following as well but didn't get success it says "No data to display" but when I keep only &lt;STRONG style="font-size: 13.3333px;"&gt;sum([FUNDED_HRS])&lt;/STRONG&gt; it shows accurate number / value on data points.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- sum([FUNDED_HRS]) &amp;amp; ' ' &amp;amp;'hrs'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- concate(sum([FUNDED_HRS]) ,' ' , 'hrs')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="temp.jpeg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149596_temp.jpeg" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Same issue occures on a diff. expression where I am trying to concatenate value / result of 2 diff. aggregate functions.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;- Sum([Value]) &amp;amp; '/' &amp;amp; S&lt;SPAN style="font-size: 13.3333px;"&gt;um([Funded_Hrs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sorry if it is a silly question. Please help.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance!&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253916#M859118</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253917#M859119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(field)&amp;amp;'hrs' ...I guess you are tying to put suffix 'hrs' to the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That you can do from the Number tab and define format there, as shown below&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149604_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Concating to expressions, that too should work fine.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149605_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 12:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253917#M859119</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-16T12:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253918#M859120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15335"&gt;girirajsinh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is helpful. I was able to achieve suffixing 'hrs' to the value from Number tab formatting. Thank you! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However concating values of two aggr. functions doesn't work and continues to show &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;"No data to display"&lt;/SPAN&gt;. This is what i am writing in the expression: &lt;STRONG&gt;Sum([TOV]) &amp;amp;' / '&amp;amp; Sum(FUNDED_HRS)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Only Sum([TOV]) or Sum(FUNDED_HRS) works fines and shows values on data points. &lt;/SPAN&gt;I actually want to achieve following format in the output as values on data points... example: &lt;STRONG&gt;$99K / 31K hrs &lt;/STRONG&gt;where 99 comes from Sum([TOV]) and 31 comes from sum([FUNDED_HRS]). Not sure if this can be achieved thru expression: &lt;STRONG style="font-size: 10pt;"&gt;'S' &amp;amp; Sum([TOV]) &amp;amp;'K / '&amp;amp; Sum(FUNDED_HRS) &amp;amp; 'K hrs'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, fyi I have 2 dimensions on this chart i don't think no. dimensions matters here but just wanted to let you incase it does. &lt;SPAN style="font-size: 10pt;"&gt;Here is the screenshot of a chart from &lt;/SPAN&gt;xls&lt;SPAN style="font-size: 10pt;"&gt; that I am converting in QV:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="temp 1.jpeg" class="jive-image image-1" src="/legacyfs/online/149613_temp 1.jpeg" style="height: 212px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 14:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253918#M859120</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2017-01-16T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253919#M859121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your query is resolved please close the thread by marking response as correct&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2001" data-containertype="14" data-objectid="14806" data-objecttype="102" href="https://community.qlik.com/docs/DOC-14806"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 15:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253919#M859121</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-16T15:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253920#M859122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that in following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have setup a similar case like yours.&lt;/P&gt;&lt;P&gt;Dim1 : Year&lt;/P&gt;&lt;P&gt;Dim2: Months&lt;/P&gt;&lt;P&gt;Object Bar Chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values which you intend to display in some concatenate manner above the Bars, Put it as a separate new expression.&lt;/P&gt;&lt;P&gt;and uncheck Bar representation for it and Check "values on data point ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you like it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149636_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 16:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253920#M859122</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-16T16:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253921#M859123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/15335"&gt;girirajsinh&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind help with this. This helps to achieve c&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;oncating values of two aggr. functions and showing it on top of data points but it leads to another issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is actually showing values only one segment (largest segment) rather than showing consolidated sum of all the segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: when i just do simple sum([TOV]), it shows correctly i.e. 128.72 = 84.92 + 43.80&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="149846" alt="temp3.jpeg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149846_temp3.jpeg" style="height: 184px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="temp4.jpeg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149852_temp4.jpeg" style="height: 250px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i do it with expression &lt;STRONG&gt;'$' &amp;amp; (Sum([TOV])/1000) &amp;amp;'K / '&amp;amp; (sum([FUNDED_HRS])) &amp;amp; 'hrs' &lt;/STRONG&gt;like mentioned above in the thread, it shows value for only one segement i.e. &lt;STRONG&gt;84.92&lt;/STRONG&gt; . deosn't include the value of yellow segment in this case.&amp;nbsp; any idea ?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="temp5.jpeg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/149853_temp5.jpeg" style="height: 406px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 09:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253921#M859123</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2017-01-18T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253922#M859124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello friends,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;can anyone help with this issue?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 12:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253922#M859124</guid>
      <dc:creator>khigaurav999</dc:creator>
      <dc:date>2017-01-19T12:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Concatenate result of aggregation with an string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253923#M859125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your question has been flagged as answered.&lt;/P&gt;&lt;P&gt;If you have a new question, start a new topic, as a lot of people will ignore topics that are flagged as answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 12:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Concatenate-result-of-aggregation-with-an-string/m-p/1253923#M859125</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2017-01-19T12:44:50Z</dc:date>
    </item>
  </channel>
</rss>

