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. For more information, see Modifying regional settings for apps and scripts.

Default regional settings in apps are based on the user profile. These regional format settings are not related to the language displayed in the Qlik Cloud user interface. Qlik Cloud will be displayed in the same language as the browser you are using.

If you are an app creator, you can set the default region for apps you create. For more information, see Setting your preferred regional settings for creating apps and scripts in Qlik Cloud Analytics.

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!