How to ensure consistent number formatting between X and Y axes in N4V charts for SAP BusinessObjects Web Intelligence

Anonymised summary of support ticket #934187 (2025-02-04)

Symptom

In N4V charts (Bar, Trend, or Multi), the Y-axis displays numbers with customizable formatting (e.g., Compact Short, Compact Long, Standard), but the X-axis always shows whole numbers or default formatting, even when the X-axis represents numeric values. This inconsistency prevents uniform display of values across both axes.

Environment

SAP BusinessObjects Web Intelligence with N4V FOR WEBI extension. Tested with Bar, Trend, and Multi charts. X-axis may contain discrete values (names, dates as strings) or numeric measures.

Resolution

  1. For numeric measures on the X-axis: Ensure the measure is used as a dimension in the chart. If the X-axis is a date, verify it is passed as a string (default behavior in Webi) unless using a Multi chart with Timestamp settings.
  2. Modify the Y-axis formatting first, then check if the X-axis inherits the same formatting. If not, review the chart’s source code (right-click chart → Show frame source code) to identify discrepancies in axis configuration.
  3. If the X-axis represents discrete values (non-numeric), formatting options are limited as Webi sends these as strings to the N4V engine. Consider restructuring the data or using a different chart type if consistent formatting is critical.

Other resolution

For date formatting on the X-axis in Multi charts, ensure the Timestamp setting is enabled in the chart properties to allow date-specific formatting.