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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
rakeshpant81
Frequent Visitor

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.

 

1 ACCEPTED SOLUTION

I figured that it is failing for 100 or more zip codes. If I add 99 zip codes only it works fine.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Find out what's new and trending in the Fabric Community.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors