<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS Shape File Creation in ArcGIS for Power BI Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1291593#M1520</link>
    <description>&lt;P&gt;You won't be able to use shapefiles directly into ArcGIS for Power BI. You will need to convert it into a format that Power BI accepts. You can also add it into ArcGIS Online and have it as a &lt;A href="https://doc.arcgis.com/en/power-bi/get-started/pbi-faq.htm#anchor2" target="_self"&gt;referenced layer.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 15:21:15 GMT</pubDate>
    <dc:creator>LeslieUK</dc:creator>
    <dc:date>2023-06-01T15:21:15Z</dc:date>
    <item>
      <title>ArcGIS Shape File Creation</title>
      <link>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1290816#M1517</link>
      <description>&lt;P&gt;Looking for community help. I am new to ArcGIS and am attempting to use it in Power BI. I have a dataset with shape coordinates. I do not know how to get this to work with ArcGIS. Do I need to create a JSON type file?&lt;/P&gt;&lt;P&gt;Has anyone worked with the ArcGIS through PBI beore?&lt;/P&gt;&lt;P&gt;Any help would be very appreciated.&lt;/P&gt;&lt;P&gt;Jayson&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 20:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1290816#M1517</guid>
      <dc:creator>JaysonCahoon</dc:creator>
      <dc:date>2023-05-18T20:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Shape File Creation</title>
      <link>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1290820#M1518</link>
      <description>Could get a real GIS....&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Thu, 18 May 2023 20:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1290820#M1518</guid>
      <dc:creator>JamesHaffly</dc:creator>
      <dc:date>2023-05-18T20:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Shape File Creation</title>
      <link>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1291593#M1520</link>
      <description>&lt;P&gt;You won't be able to use shapefiles directly into ArcGIS for Power BI. You will need to convert it into a format that Power BI accepts. You can also add it into ArcGIS Online and have it as a &lt;A href="https://doc.arcgis.com/en/power-bi/get-started/pbi-faq.htm#anchor2" target="_self"&gt;referenced layer.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 15:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1291593#M1520</guid>
      <dc:creator>LeslieUK</dc:creator>
      <dc:date>2023-06-01T15:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Shape File Creation</title>
      <link>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1293089#M1525</link>
      <description>&lt;P&gt;If you aren't able to use AGOL and the PowerBI connectors, you can use an arcpy script to copy the layer and add a text column to hold the geometry as JSON. eg/&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.AddField_management(featureclass, "Geometry_JSON", field_type="TEXT", field_length="2147483647")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then use a update cursor to populate the JSON. eg/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;with arcpy.da.UpdateCursor(featureclass, ['SHAPE@JSON', "Geometry_JSON"]) as cursor:
    for row in cursor:
        if (row[0] is not None‌‌:
            row[1] = row[0]
            cursor.updateRow(row)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Use the Geometry_JSON field to populate the Location well in PowerBI.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 May 2023 16:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1293089#M1525</guid>
      <dc:creator>AndrewLaux</dc:creator>
      <dc:date>2023-05-25T16:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Shape File Creation</title>
      <link>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1294473#M1528</link>
      <description>&lt;P&gt;To extend&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/361816"&gt;@LeslieUK&lt;/a&gt;'s comment - if you have it available as an ArcGIS hosted feature layer, you can leverage the ArcGIS Connector for Power Automate to read all of the features and package it up as a Power BI dataset, including geometry. This will allow you to have it be more interactive with the other visualizations than if you were using it as a reference layer. Here is a post on using the &lt;A href="https://community.esri.com/t5/arcgis-for-power-automate-blog/using-arcgis-connectors-for-power-automate-to-get/ba-p/1142779" target="_self"&gt;ArcGIS Connectors for Power Automate to get Custom Geometry in Power BI&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 13:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-power-bi-questions/arcgis-shape-file-creation/m-p/1294473#M1528</guid>
      <dc:creator>SeanKMcGinnis</dc:creator>
      <dc:date>2023-05-31T13:40:54Z</dc:date>
    </item>
  </channel>
</rss>

