cancel
Showing results for 
Search instead for 
Did you mean: 

Update value of same dimension in viz frame

tridwip
Participant
0 Kudos

Hi,

In my viz frame chart if I enter a new value in dimension with same value repeating then neither the new value is merging with the previous one nor its being shown in the chart at all. Can anybody help me on that? Thanks! chart2.jpg

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Any duplicated data records will be ignored by chart. I believe this is by design.

Below could be the possible workaround:

a) have a unique 2nd dimension in dataset

b) plot this unique dimension on chart

c) set the property "displayValue" to the dimension which you want to be visualized on chart. It should be "Customer" in your case

So it would be like below:

1. you have a 2nd dimension called "id" and values of them are unique

{hours: 8, Customer: "io", id: "io1"},
{hours: 7, Customer: "uio", id: "uio1"},
{hours: 7, Customer: "uio", id: "uio2"}

2. you then set this 2nd dimension as displayValue in FlattenedDataset like below

var oDataset1 = new sap.viz.ui5.data.FlattenedDataset({
dimensions: [{name:"Customer",value:"{id}", displayValue:"{Customer}"}],
measures: [....]
})

Answers (0)