Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

SDK: FormatString not set in Datasource (data.dimensions[].members[].formatString)

$
0
0

Hi,

 

i have a SDK component which uses the format strings passed by the data source to format the values.

To format the values, i use the following (prosa)code:

 

var formatString = datasource.dimensions[].members[].formatString;

var formattedValue = sap.common.globalization.NumericFormatManager.format(value, formatString);

 

The problem is, that sometimes the formatString is not set although the same measure is used.

 

FormatString is set:

formatStringSet.png

 

FormatString is not set:

formatStringNotSet.png

 

In BO DS 1.5 decimal places is set as shown here:

bo_ds.jpg.png

 

Is this a bug or does someone has an idea how to fix it?

 

Thx a lot.


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>