cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

dataPoints

Question ...

 

i can't find changed datapoint color under dataview ... after i change datacolors in power bi.

There is nothing under metadata.. any ideas ?

 

 

data1.PNG

Regards,

 

3 REPLIES 3
Highlighted
Resolver II
Resolver II

Re: dataPoints

Hello.

When you specify a selector in a VisualObjectInstance object, Power BI attaches an "objects" array to the data-point's parent in the dataview, that contains the new data, rather than to the metadata object.

 

For example, if you're using a categorical DataView and you change the color of the second item in the first column, then categorical.categories[0] will now have an "objects" array. That "objects" array will hold an object corresponding to the VisualObjectInstance at the same index as that of the data-point in the "identity" and "values" arrays. In this example, it's categorical.categories[0].objects[1].

 

Note that despite the fact that the "objects" array's length property is the same as that of the "identity" and "values" arrays, it contains items only for data-points that had their properties changed.

Highlighted
Helper III
Helper III

Re: dataPoints

Thanks for Info.

 

What about when i am using table and not categorical view ?

Highlighted
Resolver II
Resolver II

Re: dataPoints

Hi. Sorry for the delayed response.

Unfortunately, it seems like this feature is not yet supported for table dataviews. Best advice I can give you is to switch to categorical dataview. It shouldn't be too much of a trouble.

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!