Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • Now Platform administration
Table of Contents
Choose your release version
    Home Orlando Now Platform Administration Now Platform administration Currency administration Setting up and operating FX Currency fields Understanding FX Currency values in lists and reports

    Understanding FX Currency values in lists and reports

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

    Understanding FX Currency values in lists and reports

    By default, the currency values that appear in the FX Currency fields in lists and reports are the values that you directly enter into the FX Currency fields. For reports, the aggregations of FX Currency fields are, by default, reference currency values.

    FX Currency values in list views

    In lists, FX Currency values appear as a formatted currency string returned from getDisplayValue().
    • The settings in the Display Digits and Display Value Currency fields in System Localization > FX Currency Configuration determine how the currency values appear in lists.
    • To learn more, see Identify the FX Currency field and its display parameters.

    For an FX Currency field that depends on another FX Currency field, the currency value comes from the Currency Instance [fx_currency2_instance] record associated with the latter. The display value format is based on how you configured its display settings in System Localization > FX Currency Configuration.

    Filtering FX Currency values in lists

    In lists, FX Currency field filtering behaves differently than with standard currency fields. The filtering takes place using the currency type selected when a currency value is originally entered into an FX Currency field. It doesn't take reference currencies into account when you filter a list. So, if the unfiltered list contains FX Currency field entries in multiple currencies, a filtered list would only contain those records originally entered using the specified filtering currency.
    • For example, if you entered a currency value in Euros (EUR) and the reference currency is US Dollars (USD), the reference currency value may appear in an unfiltered list.
    • However, if you filter the list, and select USD as the currency, the currency value, originally entered in Euros, doesn't appear. In this case, only currency values originally entered in USD would appear.

    Dependent FX Currency fields

    Use of FX Currency view or dependent fields enable you to use alternate display configurations defined in System Localization > FX Currency Configuration for a particular FX Currency field. To learn more about FX Currency field configurations, see Configuring FX Currency field behavior.

    When you create an FX Currency field, you can mark it as dependent on another FX Currency field. Marking an FX Currency field as dependent enables it to use the configuration settings for the original FX Currency field to display the amount values in different currency. Any changes that you make to the dependent field don't affect the original FX Currency field.

    FX Currency reporting, aggregation, and group by

    You can select FX Currency fields for inclusion on reports, and they display in the same manner as in list views.
    • FX Currency fields appear as a formatted currency string returned from getDisplayValue().
    • If you set the Display Value Currency field in System Localization > All Properties to Display in Session Currency, the session currency assigned to the user running the report appears.

    You can aggregate like reference currency values within a Currency Instance record. This is the format for the aggregated data within the Now Platform®:

    Table 1. Aggregate FX Currency value
    Type Description
    String Value of the aggregation.

    If the values being aggregated are FX Currency values, the returned value is in the format:

    currency_code:currency_value such as:

    USD:134.980000

    Otherwise, the returned value is just the currency value, such as: 134.980000.
    Note: If the specified field contains FX Currency values of mixed currency types, the method is not able to aggregate the values and returns a semicolon (;).
    For example, if the Cost field on a transaction record is an FX Currency field, you can group by cost.amount or cost.currency.
    • Aggregation operations, such as SUM, translate as SUM(amount) or SUM(reference_amount). The aggregation source determines the translation when the currency associated with the currency values in the grouping is the same.

      For example, the aggregate value returned by GlideAggregate.getAggregate() is a string of the format USD; 1234.56. The total currency value is expressed in the single reference currency that is associated with all currency values in the grouping.

    • If there are different currencies associated with currency values in the grouping, then the aggregate value is empty. For example, if some of the currency values are in US Dollars, some are in Euros, and others in Yen, the aggregate value would be empty.
    You can also use a Group By command on FX Currency fields.
    • It is equivalent to grouping by currency and amount, or by reference_currency and reference_amount, as dictated by the aggregation source.
    • The value of the grouping is available by dot-walking on the FX Currency field, or using an API such as getDisplayValue().
    Related tasks
    • Configuring FX Currency global settings
    Related concepts
    • Configuring FX Currency field behavior

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

      Understanding FX Currency values in lists and reports

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

      Understanding FX Currency values in lists and reports

      By default, the currency values that appear in the FX Currency fields in lists and reports are the values that you directly enter into the FX Currency fields. For reports, the aggregations of FX Currency fields are, by default, reference currency values.

      FX Currency values in list views

      In lists, FX Currency values appear as a formatted currency string returned from getDisplayValue().
      • The settings in the Display Digits and Display Value Currency fields in System Localization > FX Currency Configuration determine how the currency values appear in lists.
      • To learn more, see Identify the FX Currency field and its display parameters.

      For an FX Currency field that depends on another FX Currency field, the currency value comes from the Currency Instance [fx_currency2_instance] record associated with the latter. The display value format is based on how you configured its display settings in System Localization > FX Currency Configuration.

      Filtering FX Currency values in lists

      In lists, FX Currency field filtering behaves differently than with standard currency fields. The filtering takes place using the currency type selected when a currency value is originally entered into an FX Currency field. It doesn't take reference currencies into account when you filter a list. So, if the unfiltered list contains FX Currency field entries in multiple currencies, a filtered list would only contain those records originally entered using the specified filtering currency.
      • For example, if you entered a currency value in Euros (EUR) and the reference currency is US Dollars (USD), the reference currency value may appear in an unfiltered list.
      • However, if you filter the list, and select USD as the currency, the currency value, originally entered in Euros, doesn't appear. In this case, only currency values originally entered in USD would appear.

      Dependent FX Currency fields

      Use of FX Currency view or dependent fields enable you to use alternate display configurations defined in System Localization > FX Currency Configuration for a particular FX Currency field. To learn more about FX Currency field configurations, see Configuring FX Currency field behavior.

      When you create an FX Currency field, you can mark it as dependent on another FX Currency field. Marking an FX Currency field as dependent enables it to use the configuration settings for the original FX Currency field to display the amount values in different currency. Any changes that you make to the dependent field don't affect the original FX Currency field.

      FX Currency reporting, aggregation, and group by

      You can select FX Currency fields for inclusion on reports, and they display in the same manner as in list views.
      • FX Currency fields appear as a formatted currency string returned from getDisplayValue().
      • If you set the Display Value Currency field in System Localization > All Properties to Display in Session Currency, the session currency assigned to the user running the report appears.

      You can aggregate like reference currency values within a Currency Instance record. This is the format for the aggregated data within the Now Platform®:

      Table 1. Aggregate FX Currency value
      Type Description
      String Value of the aggregation.

      If the values being aggregated are FX Currency values, the returned value is in the format:

      currency_code:currency_value such as:

      USD:134.980000

      Otherwise, the returned value is just the currency value, such as: 134.980000.
      Note: If the specified field contains FX Currency values of mixed currency types, the method is not able to aggregate the values and returns a semicolon (;).
      For example, if the Cost field on a transaction record is an FX Currency field, you can group by cost.amount or cost.currency.
      • Aggregation operations, such as SUM, translate as SUM(amount) or SUM(reference_amount). The aggregation source determines the translation when the currency associated with the currency values in the grouping is the same.

        For example, the aggregate value returned by GlideAggregate.getAggregate() is a string of the format USD; 1234.56. The total currency value is expressed in the single reference currency that is associated with all currency values in the grouping.

      • If there are different currencies associated with currency values in the grouping, then the aggregate value is empty. For example, if some of the currency values are in US Dollars, some are in Euros, and others in Yen, the aggregate value would be empty.
      You can also use a Group By command on FX Currency fields.
      • It is equivalent to grouping by currency and amount, or by reference_currency and reference_amount, as dictated by the aggregation source.
      • The value of the grouping is available by dot-walking on the FX Currency field, or using an API such as getDisplayValue().
      Related tasks
      • Configuring FX Currency global settings
      Related concepts
      • Configuring FX Currency field behavior

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login