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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Hamid_Son
Regular Visitor

Can we Add/Remove data roles (defined in capabilities.json) dynamically in custom visual script ?

Hi,

 

I am a power BI custom visual developer. I have defined two data roles (sections) in capabilities.json of my custom visual.

 

So below is my question:

 

Question:

 

Can we Add/Remove data roles (defined in capabilities.json) dynamically in custom visual script ? In below image there are two sections "Category Data" and "Drilling Data" sections, I want to show drilling data if user checks "Enable Drilling" option in property window of my custom visual, can I achieve this behaviour in Power BI custom visual ? If yes, please guide me how can I get this behaviour ?

 

Hamid_Son_1-1674555221487.png

 

Best Regards,

Tanveer Hamid.  

 

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors