Eu tenho resultados eleitorais que são fornecidos no nível do código de bloco (código de bloco é uma coleção de algumas centenas de casas, mais ou menos). Cada bloco recebe um ID de 8-9 dígitos (como 153040101)<\/P>
<\/span><\/P>Esta é uma amostra curta da tabela de resultados eleitorais.<\/P>Quero representar os resultados eleitorais em um mapa baseado em qualquer cenário específico que eu desejar. Como este:<\/P><\/span>(Visualização Shape Map)<\/P>Este mapa é de um arquivo JSON que foi preparado para o mapa ArcGIS.<\/P>Quando este arquivo de mapa é carregado na conta ArcGIS e usado no Power BI, eu obtenho os códigos de bloco delineados corretamente.<\/P><\/span><\/P>Mas o problema é que não consigo exibir nenhuma informação nesses códigos de bloco (ou mesmo interagir com eles através de quaisquer filtros no Power BI – como eu conseguia fazer quando usei o mesmo mapa como shape map.<\/P><\/span><\/P>Usei a função ‘join layer’ para unir os códigos de bloco da camada do mapa com os códigos de bloco dos meus próprios dados na tabela. Ativei a opção ‘Interact with Power BI visuals’, mas não funciona.<\/P>Meu resultado desejado é obter as visualizações como obtive quando usei o visual shape map, mas no ArcGIS.<\/P>Qualquer ajuda sobre isso seria muito apreciada.<\/P>
Currently, PBI doesn't support polygon joins. What we end up doing is publishing the layer with the symbology to portal then adding it to PBI as a reference layer. The problem with this solution is that it disconnects it from your PBI data and other visualizations.
Hi @ShahidKhan, @KevinDunlop
Please find the links to my proposed solutions as posted previously under "Shape in Geojson" post (see links below)
- The methods does not use the existing/standard boundaries
- The methods does not use "join layer"
- It uses the true geometry of your custom geometries linked to Power BI visualizers
- You can then change symbology/styling based on a field for color or size
1. Using Power Automate procedure - Basic and Advanced Method (from @SeanKMcGinnis )
https://community.esri.com/t5/arcgis-for-power-bi-questions/shape-in-geojson/m-p/1247011/highlight/t...
2. Using REST API (without Power Automate) procedure
https://community.esri.com/t5/arcgis-for-power-bi-questions/shape-in-geojson/m-p/1265256/highlight/t...
Hope this helps.
Thanks,
Have you tested this with publishing to a Power BI Gateway? I know that the address locations cannot be published, only Lat/Longs. This is a main requirement for our users.
Hi @KevinDunlop ,
No I have not tried Power BI Gateway, but i have tested through the Publish to a "Website or Portal" Embedded report.
Yes, you are correct that the Addresses fail when published. I tested in ArcGIS for Power BI "Embed and publish check" Tool under Settings.
After Publishing ->
What does work is the Custom Geometries. See below:
Embed check - coordinates - OK
Publish embedded report - OK
The only thing is that even if your data is share Publicly you still need to be logged into an ArcGIS, even if it's only a Viewer type, for this to work.
Maybe a solution for the Addresses is to run a ArcGIS for Power Automate process to Geocode and it will write the XY coord values to fields and then you can use that in the Lat Long coordinate fields.
See link: https://learn.microsoft.com/en-us/connectors/arcgis/#geocode-addresses
There is a way to batch the process if the number of address go over the limit of 150 - see link below:
https://community.esri.com/t5/arcgis-for-power-automate-blog/using-arcgis-connectors-for-power-automate-to-get/ba-p/1142779 (Thanks @SeanKMcGinnis )
Hi @RudolfdeMunnik,
Is it possible to do all these steps not publicly. Where do I find the rest API? Does it need a token?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.