Skip to Content

Update value of same dimension in viz frame


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

chart2.jpg (117.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2017 at 09:22 AM

    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{
    dimensions: [{name:"Customer",value:"{id}", displayValue:"{Customer}"}],
    measures: [....]
    Add a comment
    10|10000 characters needed characters exceeded