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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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.

Users online (27)