Skip to Content

[50017] - Invalid data binding error SAP UI5 Viz

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 20 at 03:54 PM

    Hi,

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

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 07 at 09:38 PM

    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

    Add comment
    10|10000 characters needed characters exceeded