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

Point disappears on circle map, when only 1 result return

Open stephshadwell opened this issue 6 years ago • 27 comments

On the circle map type, if only 1 point returned, the map does not display the circle, see examples below (currently using v1.3 from app store)

Multiple reports returned image

Single point returned image

stephshadwell avatar Nov 07 '18 15:11 stephshadwell

It would be great if this could be fixed

intothenight avatar Nov 29 '18 21:11 intothenight

This is a bug to fix, thank you for highlighting @stephshadwell. Do you have a sample PBIX workbook you could attach to the ticket for us to easily replicate with?

cc/ @samgehret

ryanbaumann avatar Nov 30 '18 04:11 ryanbaumann

@ryanbaumann see attached example file with 3 examples Example 1 - circles do not disappear (size option not used) Example 2 - circles disappear (longitude, latitude, size & colour options used) Example 3 - circles disappear (longitude, latitude & size used)

Hope that helps

Example file - single point.zip

stephshadwell avatar Dec 03 '18 10:12 stephshadwell

Same as : https://github.com/mapbox/mapboxgl-powerbi/issues/180

indiciagerry avatar Dec 03 '18 14:12 indiciagerry

This one is a major show stopper (since the start in june 2018). We can show thousands of pins but not one...

Please put this bug in the priority 1 bin!

indiciagerry avatar Mar 26 '19 16:03 indiciagerry

Yup this is really confusing - users think they've made a mistake

mattdlewis avatar Mar 27 '19 00:03 mattdlewis

We'll get this on the docket to fix in the next release. Thanks for flagging. cc/ @samgehret

ryanbaumann avatar Mar 27 '19 01:03 ryanbaumann

Please put this in 1.5! @ryanbaumann

indiciagerry avatar Apr 29 '19 13:04 indiciagerry

Will do, agree this is a must-fix bug @indiciagerry 🙏

ryanbaumann avatar Apr 29 '19 14:04 ryanbaumann

Glad I found this post. I have been playing around with settings for ages trying to work out what was wrong!!

warrendean81 avatar May 01 '19 03:05 warrendean81

Is this still an outstanding bug? — everything's still disappearing when I filter down to 1 circle.

mattdlewis avatar Jun 18 '19 20:06 mattdlewis

Yes, this issue is still open. We're scoping a bug fix for our next release. cc/ @samgehret

ryanbaumann avatar Jun 19 '19 19:06 ryanbaumann

Hello, in my experience the issue is not limited to a single data point / circle. The circles disappear when the "size" value is the same for every row of data. For example if the size value is 1 for 100 rows of data that have different lat/lon coordinates, the circles do not show. Mapbox size issue.zip

TonyGaul avatar Oct 09 '19 03:10 TonyGaul

Thanks for the extra test case @TonyGaul. We're actively looking at fixing this bug now in our current project 1.5

ryanbaumann avatar Oct 09 '19 16:10 ryanbaumann

@ryanbaumann Hey Ryan, do yo have an eta for 1.5 release or at least a 1.5 beta with this issue fixed?

TonyGaul avatar Oct 11 '19 01:10 TonyGaul

@TonyGaul I'm working on a v1.5.0 release as a security fix and update to the latest Mapbox pricing on GL JS v1.0+ this week.

We will quickly begin work on the visual v1.6.0 and ensure this bug fix to the must-haves. The reason this got pushed to v1.6.0 is because the Microsoft team made some updates to their data model in their new custom visuals API, and we'll need to refactor our code to incorporate those changes and it may effect how we fix this bug.

I'll update with an ETA on v1.6.0 when we have one.

ryanbaumann avatar Oct 14 '19 22:10 ryanbaumann

@ryanbaumann Thanks for the update!

TonyGaul avatar Oct 14 '19 22:10 TonyGaul

February 2020: still have issues with mapbox in power BI. When I select an item in a matrix or list (or any slicer), all pins disappear and map zooms in to where location actually is, but all markers are gone. Any update on this?

luisroffers avatar Feb 04 '20 22:02 luisroffers

April 2020: still the case with mapbox in Power BI - the circle does no show if there is a filtered selection on only one Item. Whenever there is more than one circle they all display fine Any news?

ValentinMaz avatar Apr 19 '20 17:04 ValentinMaz

Eta 2022. Worse part is I was contacted by Mapbox asking me how using the Power BI plug-in was going. I response I used it for a week when it first launched, it didn’t work, and I’ve been waiting since for this bug to be fixed. No response so far. The world moves on.

intothenight avatar Apr 19 '20 17:04 intothenight

July 2020: Is there no fix yet. I have the same problem except I can display a single point if I don't use a field for Color and Size. As soon as I add a field to Size, my circle disappears.

I spent hours mucking around with different settings and reloading data. You'd think this would be easy enough to sort out.

Drew-github avatar Jul 22 '20 03:07 Drew-github

@ryanbaumann Hi Ryan, any plan for fixing this bug? This has been open since 3 years ago and a very important one. Can you please provide an update? Much appreciated.

seanghgh avatar Mar 02 '21 01:03 seanghgh

Hi there! Is there any plan to fix this bug? I'm not a pro and not sure if it is something difficult to fix, but with all due respect, this thread goes back to November 2018 and a few viewers have already enquired. An update will be much appreciated. Regards.

macmoledo avatar Nov 29 '21 11:11 macmoledo

I'm currently trying to deal with this bug. Will it be fixed?

soliverc avatar Jan 26 '22 16:01 soliverc

If anyone wants an alternative, dTyp has a visualization called "Data Map", it has the capability of using Mapbox (Visual Settings > Base Map > Mapbox Light) with your current API key (and a limited selection of map styles). This issue is not present in that visualization. The bubbles can be adjusted but they don't auto-scale with the data, you will have to create a custom value to assign the circle sizes, I didn't go above 25 for my visual size. image

LetsGitIt-718 avatar Feb 15 '22 22:02 LetsGitIt-718

+1

martinedoesgis avatar May 18 '22 10:05 martinedoesgis

The disappearing circle issue is fixed but came out new error when selecting 1 result

image The error comes out when i have measure in [Size] image

Im using latest MapBox Custom Visual v1.6.01

image

magicaly2 avatar Feb 22 '23 01:02 magicaly2