Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
aman_deep_singh
Frequent Visitor

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

ISelectionIdBuilder interface to create an Id for each specific datapoint (row).

Please let me know what I may be doing wrong here. Happy to discuss more about it.
Thanks in advance!

1 ACCEPTED SOLUTION
v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

View solution in original post

2 REPLIES 2
v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

Thanks a lot Ignat!

The Sunburst visual did help in giving the idea to achieve the data bound property for my custom visual.

 

-Aman

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.