Table of Contents

Displaying time indicators in N4V for Webi charts

Anonymised summary of support ticket #291747 (2023-03-30)

Symptom

When using a fixed-position column chart in N4V for Webi, numeric indicators representing portions of a day (e.g., 0.5 for 12:00) are converted to a time format (hh:mm) for readability. However, assigning this formatted variable to the Y-axis results in a zero scale and no display.

Environment

SAP BusinessObjects Web Intelligence with N4V FOR WEBI extension. Indicators are numeric values representing fractions of a day (0.0 to 1.0).

Resolution

  1. Convert the numeric fraction of a day (e.g., 0.5) to a timestamp (milliseconds since epoch) using a formula in Webi.
  2. In the next version of N4V FOR WEBI (released in April), use the new Y-axis option to display the timestamp as a time format (hh:mm).
  3. Alternatively, use a Multi Chart component and apply the timestamp conversion directly in the N4V configuration.

Other resolution

Webi sends only numeric indicators to external engines like N4V. Text-formatted indicators are sent as zero, which prevents correct display. Timestamp conversion must be handled in N4V.