Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Question ...
i can't find changed datapoint color under dataview ... after i change datacolors in power bi.
There is nothing under metadata.. any ideas ?
Regards,
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.
Thanks for Info.
What about when i am using table and not categorical view ?
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |