- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Filled Map error: Cannot read property 'absolute' of undefined mapvisuals.js
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured that it is failing for 100 or more zip codes. If I add 99 zip codes only it works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
If this post helps, please consider accept as solution to help other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured that it is failing for 100 or more zip codes. If I add 99 zip codes only it works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
If this post helps, please consider accept as solution to help other members find it more quickly.
Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Microsoft Fabric Community Conference 2025
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
Subject | Author | Posted | |
---|---|---|---|
03-11-2018 11:23 PM | |||
10-09-2024 11:33 AM | |||
08-09-2024 08:22 AM | |||
08-11-2024 12:17 PM | |||
10-15-2018 09:42 AM |
User | Count |
---|---|
49 | |
39 | |
23 | |
19 | |
16 |