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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.