mapboxgl-powerbi icon indicating copy to clipboard operation
mapboxgl-powerbi copied to clipboard

Data points do not always display on map

Open voidrealm opened this issue 5 years ago • 21 comments

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: Screenshot 2019-08-21 at 01 48 21

After changing a data filter in the slicers (I unselected and re-selected zone 2): Screenshot 2019-08-21 at 01 48 42

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 avatar Aug 20 '19 16:08 voidrealm

@voidrealm Can you share your PBIX file?

otravers avatar Aug 22 '19 12:08 otravers

@voidrealm Can you share your PBIX file?

sure, you can get it here https://gofile.io/?c=VvQEM1

voidrealm avatar Aug 22 '19 14:08 voidrealm

@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?

otravers avatar Aug 24 '19 03:08 otravers

@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 avatar Aug 25 '19 14:08 voidrealm

@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.

otravers avatar Aug 26 '19 01:08 otravers

@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.

voidrealm avatar Sep 03 '19 13:09 voidrealm

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.

otravers avatar Sep 03 '19 13:09 otravers

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.

voidrealm avatar Sep 04 '19 02:09 voidrealm

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.

ArnonErez avatar Sep 05 '19 17:09 ArnonErez

I'm having the same issue, however in my case, it happens in both Power Desktop and Service.

NinNote avatar Oct 11 '19 11:10 NinNote

@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).

otravers avatar Oct 11 '19 11:10 otravers

@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.

NinNote avatar Oct 11 '19 12:10 NinNote

So how can we get to the bottom of diagnosing what is causing this problem?

mike-dataduality avatar Nov 12 '19 14:11 mike-dataduality

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

Mike-Honey avatar May 20 '20 12:05 Mike-Honey

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".

szilardhuber avatar May 20 '20 14:05 szilardhuber

Awesome - thanks so much. Fingers crossed!

Mike-Honey avatar May 20 '20 21:05 Mike-Honey

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.

iaidun avatar Jul 24 '20 18:07 iaidun

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 :)

JasonTracey avatar Nov 20 '20 11:11 JasonTracey

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.

mbradley-gst avatar Apr 19 '21 13:04 mbradley-gst

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.

iaidun avatar Apr 19 '21 15:04 iaidun

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).

andrewtuplin avatar Nov 04 '21 20:11 andrewtuplin