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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
IbisRipley
Frequent Visitor

programatically Modify power bi dataset connections on Post OCT 2020 release - Parameters required?

We need to modify all power bi sharepoint datasources to modify the url in the connection string.  I found this link describing how

https://docs.microsoft.com/en-us/power-bi/report-server/connect-data-source-apis

 

Question:  If we are on post Oct 2020, are parameters the only way?  I attempted the Pre OCt 2020 method and have been unable to get it to work (explaination in this question)

https://community.powerbi.com/t5/Report-Server/ReportingServicesTools-Set-RsRestItemDataSource-BAD-R...

1 REPLY 1
d_gosbell
Super User
Super User

As noted in the link you posted, the pre-Oct technique does not work for import mode reports. And if you are using Sharepoint as a source your reports must be in import mode so you are out of luck. I think your only option at the moment is to modify the report to either manually change the connection to either point to the new URL or to add parameters.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.