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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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