Forum Discussion
Data bound property for PowerBI custom Matrix Visual
I am creating a powerBI custom visual (dataViewMapping of Matrix type) and everything works well except the databound property.
I have a question pertaining to associating data bound property to the objects in my PowerBI custom visual, which use dataViewMapping of Matrix type.
I am unable to link the databound property to the objects to save and retrieve its value, as dataViewObjects remain undefined.
In my case I want to control the bold formatting of each row in the matrix individually. I do get the control for each row, but it is unable to hold/associate the value. It flickers back to it original position and there's no change in the object or row property.
Also, when I am trying to use selector for the datapoint identity (matrix row label in my case), i get the selector of metadata type (for e.g. {metadata:<row label>}), whereas I expect the selector to use matrix visual. I am using "withMeasure" method in
Please let me know what I may be doing wrong here. Happy to discuss more about it.
Thanks in advance!
It seems Sunburst custom visual makes the same.
If you have any furhter questions please share the code for deeper debugging.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
2 Replies
- aman_deep_singhFrequent Visitor
Thanks a lot Ignat!
The Sunburst visual did help in giving the idea to achieve the data bound property for my custom visual.
-Aman