<?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: Python API - Create/Push New Dataset in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4175177#M55678</link>
    <description>&lt;P&gt;You get the API key when you create your Streaming dataset.&amp;nbsp; &amp;nbsp;Push datasets work a little different.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 15:51:14 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-09-25T15:51:14Z</dc:date>
    <item>
      <title>Python API - Create/Push New Dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171315#M55620</link>
      <description>&lt;P&gt;I am pulling 2 different tables from Google Big Query. Then I am joining them together and manipulating the data. Finally, I need to push this new data to Power BI using my Python Script. I do NOT want to put my Pyhton Script into Power BI and run it that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any information!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 16:21:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171315#M55620</guid>
      <dc:creator>jmcgi2</dc:creator>
      <dc:date>2024-09-24T16:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Create/Push New Dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171407#M55622</link>
      <description>&lt;P&gt;All you need to do is call this API from your Python script. Doesn't even require authentication.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl --include \
--request POST \
--header "Content-Type: application/json" \
--data-binary "[
{
\"Host\" :\"AAAAA555555\",
\"Timestamp\" :\"2024-09-24T17:15:51.558Z\",
\"Available Memory in MB\" :98.6,
\"Processor Load %\" :98.6,
\"% Free on C:\" :98.6,
\"img\" :\"AAAAA555555\",
\"Mashups\" :98.6,
\"Mashup Memory\" :98.6,
\"Gateway Memory\" :98.6,
\"Proxy ok\" :98.6,
\"% Free on D:\" :98.6,
\"Users\" :98.6
}
]" \
"https://api.powerbi.com/beta/&amp;lt;tenant id&amp;gt;/datasets/&amp;lt;dataset id&amp;gt;/rows?experience=power-bi&amp;amp;key=&amp;lt;api key&amp;gt;"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note there is a slight difference between Push datasets and Streaming Datasets.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 17:18:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171407#M55622</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-24T17:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Create/Push New Dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171459#M55623</link>
      <description>&lt;P&gt;Thank you for the reponse. I work for Suabru and I believe I have to go by their security, would what you provided still work? I want to do it the correct way so IT does not get mad. Below is my code from reading the Power BI Python API. Let me know what you think!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jmcgi2_0-1727200699980.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1172604i3B0A80EBCA8655F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jmcgi2_0-1727200699980.png" alt="jmcgi2_0-1727200699980.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 17:59:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171459#M55623</guid>
      <dc:creator>jmcgi2</dc:creator>
      <dc:date>2024-09-24T17:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Create/Push New Dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171542#M55626</link>
      <description>&lt;P&gt;you are missing the /rows&amp;nbsp; part of the URL.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 19:19:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171542#M55626</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-24T19:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Create/Push New Dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171575#M55627</link>
      <description>&lt;P&gt;&amp;nbsp;Ok I see that now. Could you let me know where to insert it into my string? I do not have an API Key, unless you are calling the API Key like the client_id or something. Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dataset_url&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;workspace_id&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;/datasets'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Sep 2024 19:50:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4171575#M55627</guid>
      <dc:creator>jmcgi2</dc:creator>
      <dc:date>2024-09-24T19:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python API - Create/Push New Dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4175177#M55678</link>
      <description>&lt;P&gt;You get the API key when you create your Streaming dataset.&amp;nbsp; &amp;nbsp;Push datasets work a little different.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 15:51:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-API-Create-Push-New-Dataset/m-p/4175177#M55678</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-25T15:51:14Z</dc:date>
    </item>
  </channel>
</rss>

