mapboxgl-powerbi
mapboxgl-powerbi copied to clipboard
Data points do not always display on map
Data points are not always displayed on the map unless you click on full screen mode or make changes to the reports data filter.
On the first load:
After changing a data filter in the slicers (I unselected and re-selected zone 2):
You should be able to see for yourself here, although I have had some friends report that they have no map loading: https://app.powerbi.com/view?r=eyJrIjoiNWIxYzhiNzYtMDZjMC00OWM0LWIzNGYtNTEyOWM1Y2IwMDdkIiwidCI6IjA4ZmIxMDYxLWRkNjktNGNjNC04NDgzLTM3OWFlNDU0NjU4ZCJ9
@voidrealm Can you share your PBIX file?
@voidrealm Can you share your PBIX file?
sure, you can get it here https://gofile.io/?c=VvQEM1
@voidrealm it loads for me, though it does take a few seconds. Since you have 2.7M rows in your fact table, that's to be expected. Are the people who report no map loading using the Lastpass browser extension by any chance?
@voidrealm it loads for me, though it does take a few seconds. Since you have 2.7M rows in your fact table, that's to be expected. Are the people who report no map loading using the Lastpass browser extension by any chance?
The issue does not occur in Power BI desktop, but when it's published and consumed online at app.powerbi.com. The data points are not drawn on the initial load, and only appear when the user clicks on going to full screen or play around with the data filters built into the report page. As such it makes for an unreliable user experience since you have to know the work around to get the data points to be draw on the map.
@voidrealm I was able to reproduce this in your published report as well as by publishing your PBIX to my own tenant. The map does load from the start in the service if you turn autozoom off before publishing it.
@voidrealm I was able to reproduce this in your published report as well as by publishing your PBIX to my own tenant. The map does load from the start in the service if you turn autozoom off before publishing it.
I tried the work around in turning off auto-zoom before publish, but the issue still persists.
I tried again and you're right, the issue actually persists. Last time I must have clicked somewhere else on the report without realizing it.
Yeah so I guess it's a matter of determining if it's something with the custom visual implementation or Power BI. Not so sure how to go about debugging that, unless there is a guide I can be referred to.
I've played with that a bit and it seems that the issue only happens when Cluster is used. I've tested with Circle alone and with Heatmap as well and both works fine.
I'm having the same issue, however in my case, it happens in both Power Desktop and Service.
@NinNote If you're able to share a PBI service link and/or your PBIX, it will let other users have a look to try and diagnose why this is happening (I understand sharing is not always possible).
@NinNote If you're able to share a PBI service link and/or your PBIX, it will let other users have a look to try and diagnose why this is happening (I understand sharing is not always possible).
Thank you for your suggestion. I have to modify my PBIX file before sharing. Will post it hear when ready.
So how can we get to the bottom of diagnosing what is causing this problem?
I'm striking the same issue with clusters. Sometimes zooming out or whacking the autozoom button a few times fixes it, but users rapidly lose confidence in it.
Here's my PBIX: https://www.kaggle.com/mikehoney/hyperionpowerbi?select=CORD-19-research-challenge+-+Geodata+-+Institute+and+Location.pbix
Thank you @Mike-Honey for the PBIX file. I think I was able to find the issue. It is that sometimes a zoom event fires sooner than the style is updated - and hence the data is loaded to the supercluster library - but the library is not expecting this to happen so it hangs.
I need to verify this theory with others and also how to fix that but I think it can be addressed "relatively soon".
Awesome - thanks so much. Fingers crossed!
Thank you @Mike-Honey for the PBIX file. I think I was able to find the issue. It is that sometimes a zoom event fires sooner than the style is updated - and hence the data is loaded to the supercluster library - but the library is not expecting this to happen so it hangs.
I need to verify this theory with others and also how to fix that but I think it can be addressed "relatively soon".
Hi @szilardhuber any updates on a fix for this? I have also had the exact same issue and spent days unsuccessfully trying to see if I can find a workaround. Are you able to give a time frame as to when a fix for it might be ready to be released? Thank you.
Also having this issue. It occurs whenever a map is opened or unhidden and persists until a filter is applied. Hoping a fix is possible :)
Has anyone had any success with this? The best way I've found of getting around it is to press the autozoom button on the map controls twice.
Hey @mbradley-gst if you are using Power BI Embedded, then the workaround I did was to catch the event for when it is loaded and then resize the container by 1 pixel smaller and then back to original size. It is not noticeable and it causes it makes it work. If you aren't using embedded, then I don't believe there is any easy fix, unless you want to get their code and debug and fix it :(. Good luck.
I'm having this issue now in November 2021. Is there a fix in the works? I don't have a large data set (a few hundred thousand rows) and I'm only using circles. When I have few data points (e.g. less than 6) no points are displayed on the map (with or without auto zoom).