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.
I am trying to create a custom shape map using TIGER/Line shape files for the Public Use Microdata Areas (PUMAs) in Texas. I successfully converted the shape files downloaded from the census website into the TopoJSON format using the Mapshaper tool as outlined here. I was also able to load the map into Power BI, but the labels when I hover over each area show up as undefined.
I also spot checked the dbf version of the shape file in Excel to be sure the labels for the PUMAs align with the PUMA to County Mapping file I am pulling the location field from, and they do.
I have pasted the relationships view below. For each table with a PUMA reference, I have changed that data category to Place.
The underlying files and pbix file are available here.
How do I get the PUMA shapes in the map to recognize the PUMA data field in the tables and label correctly? I am new to custom mapping so step-by-step explanations are appreciated!
Thanks,
Erin
_______________________________________________
Update: I figured out that my json file was created using only a shp file, which did not allow me to view the map keys. This post helped guide me in the right direction.
Solved! Go to Solution.
Hi @erinphilip,
Please check if you have hit this idea firstly.
If not, you could have a reference of this blog.
If you still need help, please share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.)
Best Regards,
Cherry
Label getting Undefined error means Your Shape file has no attributes for that While upload to mapshaper you need to upload all files like shp,shx,dbf,shp etc with shp file then inspect feature to get clarity weather you have labels or not then download topo json format now import to Power BI you will get all labels what you uploaded at the time of conversion remember the same data will be available in your dataset too
Label getting Undefined error means Your Shape file has no attributes for that While upload to mapshaper you need to upload all files like shp,shx,dbf,shp etc with shp file then inspect feature to get clarity weather you have labels or not then download topo json format now import to Power BI you will get all labels what you uploaded at the time of conversion remember the same data will be available in your dataset too
Hi @erinphilip,
Please check if you have hit this idea firstly.
If not, you could have a reference of this blog.
If you still need help, please share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.)
Best Regards,
Cherry
Thanks - You can see the PowerBI, JSON and Excel files here. I did see that blog earlier and followed the steps to ensure all field names match (I referenced the tl_2018_48_puma10 Excel file to read what was in the underlying shape file before converting it to the TopoJSON format). I'm still facing the same issue of the map segments reading as undefined when you hover over each PUMA.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |