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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

0

Drilldown Choropleth Invalid JSON File exception

Hi, I'm trying to use Drilldown Choropleth custom visual but i faced a problem.

First of all idea and chart really usefull If we can use it! (there is no detailed documentation and debug/exception management or real sample)

 

Problem : 

I have 2 TopoJson file for Region and Area levels and this json files works well at the ShapeMap Chart.

But when I try to use same Json files at Drilldown Choropleth or Cartogram it doenst work and shows only "INVALID JSON FILE" exception.

 

 invalid_json_file_exception.png

 

 

 

 

 

 

I already check the demo/sample json files and there is no difference mine json files.

 

What is the problem and how can I fix it?

 

You can find the TopoJson files and sample PBIX file at below to debug and identify the problem.

https://www.dropbox.com/s/z0n24hvgoy952vn/DrilldownChrolepth_Issue.zip?dl=0

Status: Delivered
Comments
deldersveld
MVP

I only work with public files and have had success hosting the TopoJSON on GitHub in a public repository: https://github.com/deldersveld/topojson

 

Adding either of these URL formats to the Drilldown Cartogram or Drilldown Choropleth works for me.

https://raw.githubusercontent.com/deldersveld/topojson/master/world-countries-sans-antarctica.json

https://cdn.rawgit.com/deldersveld/topojson/master/world-countries-sans-antarctica.json

 

DrilldownJSON.PNG