mapboxgl-powerbi
mapboxgl-powerbi copied to clipboard
Add `radius filter` or `time filter` around a selected location
Feature Request
Add a radius
filter or drive/walk/cycle
time filter at a selected location on the map. Highlight and select all user data that falls within the radius or polygon region selected. This would not be a new layer type - instead, it would be a selection tool, likely exposed as an HTML button.
See the Mapbox Isochrone plugin for an example of how drive/walk/cycle time polygons work: https://blog.mapbox.com/add-isochrones-to-your-next-application-e9e84a62345f
Once a radius or selected area on the map is chosen, it would be incredible to use the export feature in Power Bl of the lats and longs in the selected area
@kky1 to clarify, do you mean that youd like to select & filter points in your viz in the drive/cycle/walk time polygon region?
Yes. I'd like to have the ability to draw/select directly on a MapBox map in Power BI, then export all pinpoints inside the selection.
Can you try thr latest beta version (download in the read me) and see if this works in PowerBI with the latest Mapbox visual? Cc/ @samgehret
Hi Ryan. I've downloaded the zip file. Is there a file location where I should place the java script files? Basically, what do I need to do with the zip file so that Power BI sees this function? Thank you for your assistance.
@kky1 you can try the latest beta at this link. It should download a file containing the beta custom visual.
https://github.com/mapbox/mapboxgl-powerbi/raw/v1.3/dist/mapboxGLMap.pbiviz
Hi Ryan,
Can we get a copy of this that works for the March 2018 PBIRS edition?
Thanks,
Preston
On Tue, Jul 17, 2018 at 1:55 PM Ryan Baumann [email protected] wrote:
@kky1 https://github.com/kky1 you can try the latest beta at this address https://github.com/mapbox/mapboxgl-powerbi/raw/v1.3/dist/mapboxGLMap.pbiviz
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mapbox/mapboxgl-powerbi/issues/96#issuecomment-405741112, or mute the thread https://github.com/notifications/unsubscribe-auth/Amw4xGUilY9CZasyQOcjlAXsWJpY69ZMks5uHl1SgaJpZM4TEbLB .
cc/ @samgehret
@AlaskanPreston can you try this one: https://github.com/mapbox/mapboxgl-powerbi/blob/drilldown-1.10/dist/mapboxGLMap.pbiviz
It works, thanks!!
On Tue, Jul 17, 2018, 3:27 PM Sam Gehret [email protected] wrote:
@AlaskanPreston https://github.com/AlaskanPreston can you try this one: https://github.com/mapbox/mapboxgl-powerbi/blob/drilldown-1.10/dist/mapboxGLMap.pbiviz
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mapbox/mapboxgl-powerbi/issues/96#issuecomment-405759841, or mute the thread https://github.com/notifications/unsubscribe-auth/Amw4xLn7gxhMRi8WsIg6mFwP0s3vDN83ks5uHnLtgaJpZM4TEbLB .
Thank you Ryan and Samgehret - it works and such a great upgrade!! Is there anyway to add a functionality when using either of the drawing tools to measure the distance of the radius, etc. being drawn?
Hey,
Is there an update on adding the drive-time tools to Power BI custom viz?
I downloaded the link above but it just has the polygon and lasso tools like the regular one. Except the Size parameter doesn't do anything.
Has the original file been moved? Or is this not happening anymore?
For the record, this can be done with Mapbox in Tableau because the latter supports displaying arbitrary shapes in visuals, which Power BI doesn't do out of the box: https://thedataism.wordpress.com/2019/06/13/isochrones-with-tableau-and-mapbox/
We can easily create an M function in Power BI to make dynamic calls to the isochrone API function, but currently we can't dynamically display the GeoJSON object returned by the API (at best we could load it statically via Mapbox Studio, but that's hardly a substitute).
Yeah Tableau isn’t an option for me however. I ultimately created a custom application with gl is and turf to dynamically render custom geographies.
That being said, samgehret had shown a demo of the mapbox power bi visual generating isochrone a via the API, on both point-click and search result in his twitter feed. But that was almost 9 months ago and no word on any kind of update. Would be super helpful.
I work with Mapbox in Power BI and would love to see this feature. The ARCS GIS map in Power BI offers this; however, the export feature of the data (once a radius of miles or drive time is established and filtered) only allows a small number instead of the entire population selected.
Mapbox in Power BI has much easier drawing tools so is still a better mapping choice if my ultimate goal is to draw on a map and export data back out. Would absolutely love to see this feature in a Mapbox upgrade.
From: Olivier Travers [email protected]
Sent: Wednesday, October 9, 2019 5:36 PM
To: mapbox/mapboxgl-powerbi [email protected]
Cc: Yoder, Kendra Kay [email protected]; Mention [email protected]
Subject: Re: [mapbox/mapboxgl-powerbi] Add radius filter
or time filter
around a selected location (#96)
For the record, this can be done with Mapbox in Tableau because the latter supports displaying arbitrary shapes in visuals, which Power BI doesn't do out of the box: https://thedataism.wordpress.com/2019/06/13/isochrones-with-tableau-and-mapbox/https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fthedataism.wordpress.com%2F2019%2F06%2F13%2Fisochrones-with-tableau-and-mapbox%2F&data=02%7C01%7Ckky1%40psu.edu%7C2e755cea6f2e4de644f708d74d00bbca%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637062537854752676&sdata=NSOSnqH22tuRB6TquKtMcx8Km48X91ADUmQxjnNyngw%3D&reserved=0
We can easily create an M function in Power BI to make dynamic calls to the isochrone API functionhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.mapbox.com%2Fapi%2Fnavigation%2F%23isochrone&data=02%7C01%7Ckky1%40psu.edu%7C2e755cea6f2e4de644f708d74d00bbca%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637062537854762671&sdata=wIwzZTEZSYQ4vf8fmGSBfttCx2xuK9Taq7ss7BQDaiY%3D&reserved=0, but currently we can't dynamically display the GeoJSON object returned by the API (at best we could load it statically via Mapbox Studio, but that's hardly a substitute).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmapbox%2Fmapboxgl-powerbi%2Fissues%2F96%3Femail_source%3Dnotifications%26email_token%3DAGHDB7I2O7A77XJGYDCY6JDQNZFFPA5CNFSM4EYRWLA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZPQ3A%23issuecomment-540211308&data=02%7C01%7Ckky1%40psu.edu%7C2e755cea6f2e4de644f708d74d00bbca%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637062537854762671&sdata=xDLzzTTk5yEw1ik%2BYEtJ9MXJvED3Vj6g4abxvuBjYaw%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGHDB7MKUAITFSOXOUZJGE3QNZFFPANCNFSM4EYRWLAQ&data=02%7C01%7Ckky1%40psu.edu%7C2e755cea6f2e4de644f708d74d00bbca%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637062537854772663&sdata=FaUV8CfBCUXDUc3jiwh9HFfYwTtkA2IKJyivJYfOYu8%3D&reserved=0.
@mmainzer I didn't mean to suggest you switch to Tableau, I was just providing context on Mapbox capabilities across products. I saw Sam's prototyping tweets too, but as far as I know none of that sexy stuff is scoped for the forthcoming 1.5 update: https://twitter.com/SamGehret/status/1126626064233418752
I believe Mapbox in Power BI could be a substitute for many projects that currently need to be custom coded, but clearly this is the type of feature that will need to be baked in.
I agree it should be included in the visual. Currently the only way to generate custom geographies on a map in power bi is with the esri tool and it’s very limited and incredibly confusing to use.
But once my users see they can generate an isochrone or buffer in a custom application, they no longer care much about standard geographies.
Kind of late to the party and please tell me if I'm off-topic but our marketing department asked for a similar feature; where we can, in a filter in a dashboard, select a location and then that we can see how many clients of that location live within an x-radius. Ideally this radius would then be shown on the map as a circle. Don't know if anybody else is interested in this feature though.
You can do this in an ARCS GIS map up to 60 minute drive or 30 mile radius. Unfortunately, ARCS limits you to 250 in an export of it, which isn’t so useful. MapBox maps are much more user friendly with the drawing tools on the map.
From: VBADekker [email protected]
Sent: Monday, November 4, 2019 4:27 AM
To: mapbox/mapboxgl-powerbi [email protected]
Cc: Yoder, Kendra Kay [email protected]; Mention [email protected]
Subject: Re: [mapbox/mapboxgl-powerbi] Add radius filter
or time filter
around a selected location (#96)
Kind of late to the party and please tell me if I'm off-topic but our marketing department asked for a similar feature; where we can, in a filter in a dashboard, select a location and then that we can see how many clients of that location live within an x-radius. Ideally this radius would then be shown on the map as a circle. Don't know if anybody else is interested in this feature though.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmapbox%2Fmapboxgl-powerbi%2Fissues%2F96%3Femail_source%3Dnotifications%26email_token%3DAGHDB7IUO3J63X4HMWZALJTQR7THHA5CNFSM4EYRWLA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC6UGYA%23issuecomment-549274464&data=02%7C01%7Ckky1%40psu.edu%7Cf204a8d4b7df4f5f977208d761092eae%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637084564371937963&sdata=O4wXmxLAXWCfXHnWK1PWwlE%2BgVN6Qpr5RJe2koeR3G0%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGHDB7NNANFQFRFXKJ262V3QR7THHANCNFSM4EYRWLAQ&data=02%7C01%7Ckky1%40psu.edu%7Cf204a8d4b7df4f5f977208d761092eae%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C637084564371947922&sdata=fvhQgUjHukMtOjfzH9qiYhW1BzJHGsdZNZUc1rZSg58%3D&reserved=0.
any news on the driving time feature for Power BI visual?