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
tomdenby
Frequent Visitor

Custom Visual Cross Referencing

Hi,

 

i have created my first custom visual and it work 90% how i would expect. when i select data in anothe visual my custom visual filters perfect.However, When i select something im my Visual nothing chnages in any of the other visuals. 

 

i guess im missing something very obvious but as a new come to developing in Powerbi, im not 100% sure what and when i google it i dont see any obvious answers. 

 

if anyone can explain or point me in the direction of what i need to do, i would be greatfull.

 

Tom

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @tomdenby ,

To need to create selectors for your data points - this involves assigning an ID to each data point that Power BI can resolve across visuals on the page relative to the dataset it provides your visual with. Your data points should also contain a status to flag whether they are selected or not, so that you can apply the required visual effects (e.g. reduced opacity) to the unselected ones. The relevant section of the developer documentation is here.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

Hi @tomdenby ,

To need to create selectors for your data points - this involves assigning an ID to each data point that Power BI can resolve across visuals on the page relative to the dataset it provides your visual with. Your data points should also contain a status to flag whether they are selected or not, so that you can apply the required visual effects (e.g. reduced opacity) to the unselected ones. The relevant section of the developer documentation is here.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




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.

Top Kudoed Authors