Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
I am using a filled map using zip codes a location and those zip codes are from MN, USA. It displays fine in power BI desktop, but it doesn't work in powerbi web or when I embed these reports. I get javascript error 'Cannot read property 'absolute' of undefined in mapvisuals.js at following line -
var mainShape = paths[MapShapeDataPointRenderer.getIndexOfLargestShape(paths)].absolute;
This is clearly a bug, until it gets fixed, can someone give me some pointers for a workaround?
It used to fine earlier, noticed this issue only few days back, don't know it it has something to do with a specific zip code.
Solved! Go to Solution.
I figured that it is failing for 100 or more zip codes. If I add 99 zip codes only it works fine.
HI @rakeshpant81,
>> I am using a filled map using zip codes a location and those zip codes are from MN, USA. It displays fine in power BI desktop, but it doesn't work in powerbi web or when I embed these reports.
Since I'm not so clarify for your scenario, can you please share sample data and pbix file for further testing?
In addition, provide some detail information will also be help for troubleshooting.. (e.g. operations steps,snapshots, detail error message,embed method: publish to web feature, power bi embedded, rest api? ...)
Regards,
XIaoxin Sheng
I figured that it is failing for 100 or more zip codes. If I add 99 zip codes only it works fine.
HI @rakeshpant81,
>>I figured that it is failing for 100 or more zip codes. If I add 99 zip codes only it works fine.
I think that field contains character length limit, so it failed when you load long string of zip code.
Regards,
Xiaoxin Sheng
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
36 | |
28 | |
21 | |
10 | |
10 |