<?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 PowerBI API DirectQuery Update Datasource in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-API-DirectQuery-Update-Datasource/m-p/3905230#M52292</link>
    <description>&lt;P&gt;I want to update a Datasource using PowerBI API.&lt;/P&gt;&lt;P&gt;The datasource is from Databricks and it is using DirectQuery.&lt;BR /&gt;I was able to get details from the datasource, as shown belown&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-09 at 12.09.00.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1094991iBBB140D1A545578E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-09 at 12.09.00.png" alt="Screenshot 2024-05-09 at 12.09.00.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've started by following this link to update the datasource:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;then I saw that it does not work for Datatabricks, so I should use the Update Parameters endpoint&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the link it is stated that&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about" target="_blank" rel="noopener"&gt;DirectQuery&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;connections are only supported with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-enhanced-dataset-metadata" target="_blank" rel="noopener"&gt;enhanced dataset metadata&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can't seem to find any example of how to update the DirectQuery datasource, can someone help me?&lt;BR /&gt;For now I just want to change the "path" of the connection (shown in the image above), but my ultimate goal is to be able to update the connection personal access token.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-09 at 12.12.58.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1094994i64C56491A6E07CAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-09 at 12.12.58.png" alt="Screenshot 2024-05-09 at 12.12.58.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 11:20:57 GMT</pubDate>
    <dc:creator>welifjweklgilrw</dc:creator>
    <dc:date>2024-05-09T11:20:57Z</dc:date>
    <item>
      <title>PowerBI API DirectQuery Update Datasource</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-API-DirectQuery-Update-Datasource/m-p/3905230#M52292</link>
      <description>&lt;P&gt;I want to update a Datasource using PowerBI API.&lt;/P&gt;&lt;P&gt;The datasource is from Databricks and it is using DirectQuery.&lt;BR /&gt;I was able to get details from the datasource, as shown belown&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-09 at 12.09.00.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1094991iBBB140D1A545578E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-09 at 12.09.00.png" alt="Screenshot 2024-05-09 at 12.09.00.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've started by following this link to update the datasource:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;then I saw that it does not work for Datatabricks, so I should use the Update Parameters endpoint&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the link it is stated that&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about" target="_blank" rel="noopener"&gt;DirectQuery&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;connections are only supported with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-enhanced-dataset-metadata" target="_blank" rel="noopener"&gt;enhanced dataset metadata&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can't seem to find any example of how to update the DirectQuery datasource, can someone help me?&lt;BR /&gt;For now I just want to change the "path" of the connection (shown in the image above), but my ultimate goal is to be able to update the connection personal access token.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-09 at 12.12.58.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1094994i64C56491A6E07CAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-09 at 12.12.58.png" alt="Screenshot 2024-05-09 at 12.12.58.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 11:20:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-API-DirectQuery-Update-Datasource/m-p/3905230#M52292</guid>
      <dc:creator>welifjweklgilrw</dc:creator>
      <dc:date>2024-05-09T11:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI API DirectQuery Update Datasource</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-API-DirectQuery-Update-Datasource/m-p/3906305#M52299</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm struglling with connecting Power BI with Redcap database. I followed the steps (downloading and saving the GitHub code in the right folder). My problem is, the Redcap customer connetor is not popping up in Power Bi GetData. How can I solve this problem?&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 18:38:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-API-DirectQuery-Update-Datasource/m-p/3906305#M52299</guid>
      <dc:creator>blidia1</dc:creator>
      <dc:date>2024-05-09T18:38:58Z</dc:date>
    </item>
  </channel>
</rss>

