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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
avaldes
Frequent Visitor

Issue with Drilldown Cartogram visual

Hi, I have a report where I used successfully for a long time the Drilldown Cartogram visual. Recently we fund the following error in the visual: `Invalid Json File` . I remove the visual from the project and import it again and now, when I try to use the visual again, it show nothing. Any idea ?

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @avaldes ,

Please try to  enable AllowOrigin=* to the root of the website where you are reading this topojson file from. If you are using IIS you can add web.config file to your applicaion root.

https://enable-cors.org/server_iis7.html

 

 Adding CORS definitions to web.config file like below.

 

<system.webServer>

    .........

 

  <httpProtocol>
    <customHeaders>
     <add name="Access-Control-Allow-Origin" value="*"/>
     <add name="Access-Control-Allow-Headers" value="Content-Type"/>
     <add name="Access-Control-Allow-Methods" value="POST,GET,OPTIONS"/>
   </customHeaders>
  </httpProtocol>

 

Reference:

https://community.powerbi.com/t5/Issues/Drilldown-Choropleth-Invalid-JSON-File-exception/idi-p/24962...

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-xuding-msft , thanks for your reply, can you help me to solve that in PBI Desktop ?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.