<?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: Text Object - adding text and calculations in the same box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Object-adding-text-and-calculations-in-the-same-box/m-p/411612#M1166363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the very prompt answer - this is a really good community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Oct 2012 18:20:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-13T18:20:56Z</dc:date>
    <item>
      <title>Text Object - adding text and calculations in the same box</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-adding-text-and-calculations-in-the-same-box/m-p/411610#M1166361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to see if anyone has an example of adding a combination of Text and a Calculation in a Text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to recreate the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="23434" class="jive-image" alt="Calc Text Box.png" src="/legacyfs/online/23434_Calc Text Box.png" /&gt;&lt;/P&gt;&lt;P&gt;So, the calculated elements are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;437h is a calculation from total of hours represented in the chart&lt;/P&gt;&lt;P&gt;28% is the percentage it represents&lt;/P&gt;&lt;P&gt;1,578 pulled from a table and calculated&lt;/P&gt;&lt;P&gt;2,320 pulled from a table and calculated&lt;/P&gt;&lt;P&gt;58 pulled from a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are spread within the standard lines of text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone likes a challenge!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2012 17:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-adding-text-and-calculations-in-the-same-box/m-p/411610#M1166361</guid>
      <dc:creator />
      <dc:date>2012-10-13T17:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object - adding text and calculations in the same box</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-adding-text-and-calculations-in-the-same-box/m-p/411611#M1166362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create variables and use them in a textbox. With var1 having a value of 437 and var2 a value of 28 the line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;=var1 &amp;amp; 'h or '&amp;nbsp; &amp;amp; var2 &amp;amp; '%' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will show the text&amp;nbsp; &lt;EM&gt;437h or 28%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can't do is use different font sizes in one textbox. But you can use several textboxes one above the other so the line up nicely. You can put you calculations in variables. You can use chr(10) to insert line breaks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;=var1 &amp;amp; 'h or ' &amp;amp; chr(10) &amp;amp; var2 &amp;amp; '%' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;EM&gt;437h or&lt;/EM&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;EM&gt;28% &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2012 17:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-adding-text-and-calculations-in-the-same-box/m-p/411611#M1166362</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-13T17:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object - adding text and calculations in the same box</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-adding-text-and-calculations-in-the-same-box/m-p/411612#M1166363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the very prompt answer - this is a really good community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2012 18:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-adding-text-and-calculations-in-the-same-box/m-p/411612#M1166363</guid>
      <dc:creator />
      <dc:date>2012-10-13T18:20:56Z</dc:date>
    </item>
  </channel>
</rss>

