Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
welifjweklgilrw
Frequent Visitor

PowerBI API DirectQuery Update Datasource

I want to update a Datasource using PowerBI API.

The datasource is from Databricks and it is using DirectQuery.
I was able to get details from the datasource, as shown belown

Screenshot 2024-05-09 at 12.09.00.png


I've started by following this link to update the datasource:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources 

then I saw that it does not work for Datatabricks, so I should use the Update Parameters endpoint
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters 


In the link it is stated that 

I can't seem to find any example of how to update the DirectQuery datasource, can someone help me?
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.

Screenshot 2024-05-09 at 12.12.58.png



1 REPLY 1
blidia1
New Member

Hello,

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?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.