Skip to main content Skip to complementary content

MoneyFormat

This system variable defines the format pattern used by Qlik for automatic translation of text to number where the number is prefixed by a monetary symbol. It also defines how measures whose Number Formatting properties are set to ‘Money’ will be displayed in chart objects.

The symbol defined as part of the format pattern in the MoneyFormat system variable replaces the currency symbol set by your regional settings.

Tip note

By default, Qlik Sense displays numbers and text differently in table charts. Numbers are right-aligned, and text is left-aligned. This makes it easy to find text-to-number conversion issues. Any tables on this page that show Qlik Sense results will use this formatting.

Syntax:  

MoneyFormat

Set MoneyFormat='$ #,##0.00; ($ #,##0.00)';

This formatting will be displayed in chart objects when a numerical field’s Number Formatting property is set to Money. Further, when numerical text fields are interpreted by Qlik Sense, if the currency symbol of the text field matches that of the symbol defined in the MoneyFormat variable, Qlik Sense will interpret this field as a monetary value.

This function is often used together with the following functions:

Related functions
Function Interaction
MoneyDecimalSep For Number Formatting, MoneyDecimalSep will be used in field formatting of objects.
MoneyThousandSep For Number Formatting, MoneyThousandSep will be used in field formatting of objects.

Regional settings

Unless otherwise specified, the examples in this topic use the following date format: MM/DD/YYYY. The date format is specified in the SET DateFormat statement in your data load script. The default date formatting may be different in your system, due to your regional settings and other factors. You can change the formats in the examples below to suit your requirements. Or you can change the formats in your load script to match these examples.

Default regional settings in apps are based on the regional system settings of the computer or server where Qlik Sense is installed. If the Qlik Sense server you are accessing is set to Sweden, the Data load editor will use Swedish regional settings for dates, time, and currency. These regional format settings are not related to the language displayed in the Qlik Sense user interface. Qlik Sense will be displayed in the same language as the browser you are using.

Example 1 - MoneyFormat

Example 2 - MoneyFormat with thousands separator and mixed input formats

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!