<?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 Qlik Sense and formatting in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-and-formatting/m-p/1406174#M32840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Script:&lt;/P&gt;&lt;P&gt;SET vLocale = 'EN';&lt;/P&gt;&lt;P&gt;SET MoneyFormat = '$#,##0.00;($#,##0.00)'; // defaults to EN&lt;/P&gt;&lt;P&gt;IF '$(vLocale)' = 'ES' THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET MoneyFormat = '€ #.##0,00;-€ #.##0,00';&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I created a page, and created a few money fields. &lt;/P&gt;&lt;P&gt;Loaded data, and all worked fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, so good...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I changed the vLocale to ES.&lt;/P&gt;&lt;P&gt;Loaded the app and reloaded the data...&lt;/P&gt;&lt;P&gt;Money format updated to ES format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... the fields i had created on the sheet with money, still show old formatting. Seems like Qlik Sense hard codes the money (for this matter, date too) as a hard coded string, rather than taking it from the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is counter productive, cos I would need to go to every created field, and manually change them to auto/money again to update the formatting string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way of doing this where I can update the displayed format on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to go and type an expression in the data field, that option is ruled out. There are heavy calculations going on there already, and would prefer a non intrusive approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Nov 2017 16:58:25 GMT</pubDate>
    <dc:creator>sri_c003</dc:creator>
    <dc:date>2017-11-30T16:58:25Z</dc:date>
    <item>
      <title>Qlik Sense and formatting</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-and-formatting/m-p/1406174#M32840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Script:&lt;/P&gt;&lt;P&gt;SET vLocale = 'EN';&lt;/P&gt;&lt;P&gt;SET MoneyFormat = '$#,##0.00;($#,##0.00)'; // defaults to EN&lt;/P&gt;&lt;P&gt;IF '$(vLocale)' = 'ES' THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET MoneyFormat = '€ #.##0,00;-€ #.##0,00';&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I created a page, and created a few money fields. &lt;/P&gt;&lt;P&gt;Loaded data, and all worked fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, so good...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I changed the vLocale to ES.&lt;/P&gt;&lt;P&gt;Loaded the app and reloaded the data...&lt;/P&gt;&lt;P&gt;Money format updated to ES format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... the fields i had created on the sheet with money, still show old formatting. Seems like Qlik Sense hard codes the money (for this matter, date too) as a hard coded string, rather than taking it from the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is counter productive, cos I would need to go to every created field, and manually change them to auto/money again to update the formatting string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way of doing this where I can update the displayed format on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to go and type an expression in the data field, that option is ruled out. There are heavy calculations going on there already, and would prefer a non intrusive approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 16:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-and-formatting/m-p/1406174#M32840</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2017-11-30T16:58:25Z</dc:date>
    </item>
  </channel>
</rss>

