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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors