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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
easybaker
Regular Visitor

Custom Visual ShapeMapSelector

So i'm making a custom visual kind of similar to Microsoft's Shape map visual and want to allow json file input in the visual formatting settings. With Microsoft's Shape map visual they allow you to add a custom map type (topojson file) that you upload.

 

I figured out that this corresponds to the ShapeMapSelector formattingmodel but cannot figure out how I should correlate this to the capabilities.json type so that it will allow json input. If i try to make it type: "text" or something of that sort it will just result in the formatting setting being "[object Object]" when you input a json file. Is there some type i'm missing or some way to convert the json input to text before it turns into "[object Object]"?

 

It would be nice to see the source code for Microsoft's Shape map visual, but all the visuals that come with powerBI aren't open source.

 

Thank you for any help!

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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