Skip to Content
0

[50017] - Invalid data binding error SAP UI5 Viz

Jul 20, 2017 at 02:27 PM

439

avatar image

Here is my model

var oData = [{
"GroupName": "2017 Mar",
"SubGroupName": "SC",
"Values": "7"
}, {
"GroupName": "2017 Mar",
"SubGroupName": "SC",
"Values": "8"
}, {
"GroupName": "2017 Mar",
"SubGroupName": "SC",
"Values": "9"
}, {
"GroupName": "2017 Mar",
"SubGroupName": "SC",
"Values": "10"
}];
var oDataObj = new JSONModel({
results: oData
});

Here is how i assign the model

oVizFrame = new VizFrame({
vizType: 'vertical_bullet',
uiConfig: {
'applicationSet': 'fiori',
'showErrorMessage': true
}
}),
oFlatDataSet = new FlattenedDataset({
dimensions: [{
name: 'Group Name',
value: "{oChartModel>GroupName}"
}],
measures: [{
name: 'Values',
value: '{oChartModel>Values}'
}],
data: "oChartModel>/results",
feeds: [{
uid: 'actualValues',
type: 'Measure',
values: 'Value'
}, {
uid: 'categoryAxis',
type: 'Dimension',
values: 'Group'
}, {
uid: 'valueAxis',
type: 'Measure',
values: "{oChartModel>Values}"
}]
});
oVizFrame.setDataset(oFlatDataSet);
sap.ui.getCore().setModel(oDataObj, "oChartModel");

Getting [50017] - Invalid data binding error

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Iftah Peretz
Jan 20 at 03:54 PM
0

Hi,

Take a look here and adjust (taken from here).

Share
10 |10000 characters needed characters left characters exceeded
Pawan Kalyan Apr 07 at 09:38 PM
0

Hello, am facing a issue like mentioned as below.

https://answers.sap.com/questions/477815/invalid-data-binding-in-bar-chart-sap-ui5-viz-char.html

can some one resolve the issue mentioned in the link

Share
10 |10000 characters needed characters left characters exceeded