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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors