<?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: Push dataset to power bi premium workspace using xmla endpoints in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2115511#M32228</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;Is there c# example to perform the same?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Oct 2021 07:31:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-05T07:31:43Z</dc:date>
    <item>
      <title>Push dataset to power bi premium workspace using xmla endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2113175#M32202</link>
      <description>&lt;P&gt;I need to read dataset (.json file) from a specified location (c:\testing\datset.json) and push the dataset to Power BI premium workspace.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to programatically read the json file content and push the dataset to power bi workspace using XMLA endpoints?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 07:52:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2113175#M32202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-04T07:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Push dataset to power bi premium workspace using xmla endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2113731#M32214</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;push the dataset to power bi workspace using XMLA endpoints"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's not how push datasets work (yet). You need to use the push URL and put your data payload into the POST body.&amp;nbsp; Here's an example with Powershell.&amp;nbsp; Replace the body construct with the contents of your JSON file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#capture stats
$date = (Get-Date).ToUniversalTime().ToString('yyyy-MM-ddTHH:mm:00.000Z')
$mem = (Get-Counter '\Memory\Available MBytes').CounterSamples.CookedValue
$proc = (Get-Counter '\Processor(_Total)\% Processor Time').CounterSamples.CookedValue
$disk = (Get-Counter '\LogicalDisk(C:)\% free space').CounterSamples.CookedValue
$svg = "data&amp;amp;colon;image/svg+xml;utf8,&amp;lt;svg xmlns='http://www.w3.org/2000/svg'&amp;gt;&amp;lt;text font-size='12px' font-family='sans-serif' transform='translate(12, 75) rotate(270)'&amp;gt;" + $env:computername + "&amp;lt;/text&amp;gt;&amp;lt;/svg&amp;gt;"
#enforce TLS1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$payload = @{
"Host" = $env:computername
"Timestamp" = $date
"Available Memory in MB" = $mem
"Processor Load %" = $proc
"% Free on C:" = $disk
"img" = $svg
}
#push URL
$endpoint = "https://api.powerbi.com/beta/&amp;lt;tenant&amp;gt;/datasets/&amp;lt;dataset&amp;gt;/rows?key=&amp;lt;push key&amp;gt;"
Invoke-RestMethod -Method Post -Uri "$endpoint" -Body $payload&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 04 Oct 2021 11:54:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2113731#M32214</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-10-04T11:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Push dataset to power bi premium workspace using xmla endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2115511#M32228</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;Is there c# example to perform the same?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 07:31:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2115511#M32228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-05T07:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Push dataset to power bi premium workspace using xmla endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2116210#M32239</link>
      <description>&lt;P&gt;&lt;A href="https://blog.jpries.com/2020/01/03/getting-started-with-the-power-bi-api-querying-the-power-bi-rest-api-directly-with-c/" target="_blank"&gt;Getting Started with the Power BI API – Querying the Power BI REST API Directly (with C#) – Jeff Pries (jpries.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 12:55:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2116210#M32239</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-10-05T12:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Push dataset to power bi premium workspace using xmla endpoints</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2122927#M32292</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Did lbendlin&amp;nbsp;'s suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If these also don't help, please share more detailed information to help us clarify your scenario to test.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 01:40:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Push-dataset-to-power-bi-premium-workspace-using-xmla-endpoints/m-p/2122927#M32292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-08T01:40:47Z</dc:date>
    </item>
  </channel>
</rss>

