<?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 Change format in a text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229623#M81516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to change format to a number to display currency. The bloew formula is in the text tab of a tect object:&lt;/P&gt;&lt;P&gt;=money#(sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle)), '€#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula works for the sum but not for the money#. Can you please advice on how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Apr 2010 17:01:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-30T17:01:31Z</dc:date>
    <item>
      <title>Change format in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229623#M81516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to change format to a number to display currency. The bloew formula is in the text tab of a tect object:&lt;/P&gt;&lt;P&gt;=money#(sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle)), '€#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula works for the sum but not for the money#. Can you please advice on how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 17:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229623#M81516</guid>
      <dc:creator />
      <dc:date>2010-04-30T17:01:31Z</dc:date>
    </item>
    <item>
      <title>Change format in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229624#M81517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want money(), not money#(). According to the tool tip, money#() is for converting text to money, whereas money() converts a number to money.&lt;/P&gt;&lt;P&gt;You could also probably use num().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 19:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229624#M81517</guid>
      <dc:creator />
      <dc:date>2010-04-30T19:16:37Z</dc:date>
    </item>
    <item>
      <title>Change format in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229625#M81518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matteo,&lt;/P&gt;&lt;P&gt;The format string in Money# function (as with Num# and Date#) defines the format of the incoming value - so if you were reading a text value that had a currency value in it the you use the Money#. What you need to use is the plain Money function. (In fact Num will work too).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 19:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229625#M81518</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2010-04-30T19:18:16Z</dc:date>
    </item>
    <item>
      <title>Change format in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229626#M81519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with and without # for money() and num() but it does not work.&lt;/P&gt;&lt;P&gt;In the text tab I have 3 sums (as below)&lt;/P&gt;&lt;P&gt;Does that matter? It should not.&lt;/P&gt;&lt;P&gt;=money#(sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle)), '€#,##0') + money#(sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle)), '€#,##0') + money#(sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle)), '€#,##0')&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 20:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229626#M81519</guid>
      <dc:creator />
      <dc:date>2010-04-30T20:50:36Z</dc:date>
    </item>
    <item>
      <title>Change format in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229627#M81520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I presume that sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle)) returns a numeric value? If so, you don't need to use Money#. Money# works on text values. Money works on numeric values. See my previous post.&lt;/P&gt;&lt;P&gt;I would change your expression to read:&lt;/P&gt;&lt;P&gt;=money(sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle))&lt;BR /&gt;+ sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle))&lt;BR /&gt;+ sum ( if (vButtonColour = 'Yesterday' AND FlagYesterday =1, csi_eur_handle)), '€#,##0')&lt;/P&gt;&lt;P&gt;However, all 3 sums appear to be the same - is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 May 2010 01:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229627#M81520</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2010-05-01T01:21:38Z</dc:date>
    </item>
    <item>
      <title>Change format in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229628#M81521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stephen. It works now.&lt;/P&gt;&lt;P&gt;Just a single money() function before the whole expression. Thansk again.&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 May 2010 11:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229628#M81521</guid>
      <dc:creator />
      <dc:date>2010-05-01T11:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change format in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229629#M81522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! This is exactly what I need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-format-in-a-text-object/m-p/229629#M81522</guid>
      <dc:creator />
      <dc:date>2017-06-29T14:34:40Z</dc:date>
    </item>
  </channel>
</rss>

