Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Enable vector tile sources using data-join for all layer types (circles, fill, lines, extrusions) #69

Closed
pedro-rtm opened this issue Feb 23, 2018 · 16 comments

Comments

@pedro-rtm
Copy link

It'd be great to have the ability to select a tile layer, and based on matching Object ID with PowerBI's dataset, perfom a Data-Join, where the Polygons, Lines and Points of the chosen Vetor Tile are colored based on a specific value of the Dataset.

Would this be possible in the current planned release? I believe it's a different type of Data-join than the one contemplated by the choropleth boundary option. The choropleth option is more akin to a TopoJSON layer with heatmap capabilities than a Vector Tile with Data-Join capabilities for all feature types. Both useful, but different use cases.

Thanks.

@ryanbaumann
Copy link
Contributor

ryanbaumann commented Feb 24, 2018

@PedroRiveraTorresMoir To make sure I understand your question - you'd like to

  1. Join data in your Power BI data model to Vector Tile features
  2. Render the joined data for more than just a fill layer type, in order to create circle, line, or fill map visualizations.

Is that correct?

@pedro-rtm
Copy link
Author

pedro-rtm commented Feb 24, 2018 via email

@ryanbaumann
Copy link
Contributor

ryanbaumann commented Feb 25, 2018

@PedroRiveraTorresMoir

Data-Joins are on the short-term roadmap, absolutely - however, we were mainly scoping them for Choropleth and Hexbin / Fill-Extrusion 3D visualizations. Linestring visualizations make sense here too, and we could expose that as an arc or line visualization layer type supporting data-joins. Linestrings will land after Choropleths.

Do you have a use case for point visualization using the data-join technique?

@pedro-rtm
Copy link
Author

pedro-rtm commented Feb 25, 2018 via email

@otravers
Copy link

otravers commented Feb 25, 2018

I track logistical flows (tons of a specific commodity) between countries/ports for one of my clients, and would love to be able to do something like these:

There used to be a custom PBI visual to generate Sankey maps but it was very buggy so we stopped using it. It never made it to the Office store and I can't find it anywhere now. (There's still a Sankey diagram custom visual that we do use, but it's not a map.) Edit: there's this Flowmap:
https://weiweicui.github.io/PowerBI-Flowmap/

Similarly to my comment about 3D choropleths, here I'd be interested in using arc/line width for one measure and arc/line color for another (like a variance of the first measure). Also line direction would matter, e.g. load ports to discharge ports to ideally these arcs/lines could look like arrows with a start and an end.

If you can add a Time play axis (ArcGIS has one) on top of all this, then minds will be blown for sure :) Imagine the following motion map, rendered as a 3D choropleth with data-encoded arcs, all based on your Power BI measures! The late Hans Rosling would sure have loved this.
https://www.google.com/publicdata/explore?ds=ml9s8a132hlg_&ctype=m&strail=false&nselm=s&met_s=minimum_wage&fdim_s=currency:eur&scale_s=log&ind_s=false&met_c=minimum_wage&fdim_c=currency:eur&idim=country:lu&ifdim=country&pit=1293840000000&iconSize=0.5&uniSize=0.035&yMax=58.5924685&xMin=-8.2391222&xMax=35.43979471&mapType=t&yMin=35.902422#!ctype=m&strail=false&bcs=d&nselm=s&met_s=minimum_wage&fdim_s=currency:eur&scale_s=log&ind_s=false&met_c=minimum_wage&fdim_c=currency:eur&scale_c=lin&ind_c=false&idim=country:lu&ifdim=country&hl=en_US&dl=en_US&ind=false

@pedro-rtm
Copy link
Author

pedro-rtm commented Feb 25, 2018 via email

@ryanbaumann
Copy link
Contributor

ryanbaumann commented Feb 25, 2018

This thread is awesome ;) There is tons we are planning to hook into Power BI, and y'all are helping to shape the roadmap!

Here's one small example of a type of timeseries visual with a choropleth in Mapbox looks like. For Power BI it would work much in the same way, just as a native drag and drop feature. This visual would work in the exact same way for arcs, 3D extrusions, snakes, or any other viz types.

https://www.mapbox.com/labs/busintel/

@otravers
Copy link

otravers commented Feb 25, 2018

@PedroRiveraTorresMoir I'm aware of the Altius custom chart and looking forward to its addition to the marketplace (it looks like they hit a technical snag). I'm using the Time Brush too. There's also a drilldown player that I guess could work with a date series, but it's been taken off the store soon after its publication for some reason, though I could always compile it from source:
https://github.com/Microsoft/powerbi-visuals-drilldown-player

@ryanbaumann good example, there is indeed so much to do by cross-referencing time and space! I see you also have a time map, which reminds me of the driving distance capability in ArcGIS:
https://www.mapbox.com/labs/timemap/search/

It's exciting that these more complex data visualizations are becoming possible with off-the-shelf tools mostly using drag and drop, as opposed to having to write complex, custom-made D3/R code. It's too much effort for too little benefit for typical BI uses, not everyone is the NYT with D3 founding coders on payroll. And as a BI guy, it's already enough work perfecting my DAX proficiency, knowing some M, the occasional SQL query... stop the madness!

Years ago I thought Google would make it happen with Fusion Tables / Google Charts / Google Maps / Needlebase / Open Refine, but somewhere along the way they seem to have lost interest (like happens with half of their projects). Maps in Google Data Studio look like something from 8 years ago. We need platforms with sustained momentum so that we don't have to change toolsets every 6 months to benefit from the latest tech developments.

@ryanbaumann
Copy link
Contributor

@otravers spot on comment re: taking advantage of the latest tools inside of BI instead of writing and learning another new custom code framework.

I see you also have a time map, which reminds me of the driving distance capability in ArcGIS:

Time map is incredible - check out another great example from Peter with isochrones (also something we could drop into Power BI) - https://blog.mapbox.com/add-isochrones-to-your-next-application-e9e84a62345f

@ryanbaumann ryanbaumann changed the title Vector Tile Data-Join option with Legend Enable vector tile sources using data-join for all layer types (circles, fill, lines, extrusions) Mar 17, 2018
@pedro-rtm
Copy link
Author

pedro-rtm commented Mar 28, 2018

Hi @ryanbaumann . Incredible advances with the Power BI visual!

I was wondering if the following items were still on the roadmap for the visual and if you happen to have a rough estimate for when they might be available:

-Multi-Hexbin aggregated/clustered selection on client data-joined points
-3D extrusions for building Data Joins
-3D extruded building selection to display client data-joined rows where the ID of the 3D selected building appears
-Linestring Data Joins

Thanks for any info you might have and congratulations again on the progress.

@ryanbaumann
Copy link
Contributor

Thanks, @PedroRiveraTorresMoir!

We're still gathering info on what's coming next after Native Power BI Tooltips and Choropleths. Which one of your requests above is most important? Linestrings and 3D extrusions should be relatively straightforward from a technical perspective after the Choropleth layer is complete.

@pedro-rtm
Copy link
Author

pedro-rtm commented Mar 28, 2018 via email

@ryanbaumann
Copy link
Contributor

Ticketed the linestring viz in a new issue @PedroRiveraTorresMoir - #92

@pedro-rtm
Copy link
Author

Just curious @ryanbaumann . Is the option to add ArcGIS Online Tile Layers available as an option for choropleth viz? I published a Tile Layer from ArcGIS Online, and selected the "available offline" and "build tiles" option but it's not pulling in the polygons. Thanks for any orientation regarding this.

@ryanbaumann
Copy link
Contributor

@pedroriveratorresmoir no, ArcGIS Online Tile Layers are not supported in the Mapbox Visual for Power BI. However, you can upload your source shapefile or geojson file to your Mapbox account and use them in Power BI. https://www.mapbox.com/help/power-bi-choropleth-map/

@pedro-rtm
Copy link
Author

pedro-rtm commented Jul 19, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants