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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
jaryszek
Memorable Member
Memorable Member

Changing each table connection string within dataset published on server

Hi Guys,

 

i have 2 tables in my dataset. 
One is coming from REST API (WEB URL source) and second one is coming from postgresql ado connection string. 

I logged into Power BI Server (i have PPU license) and seeing screen:

jaryszek_0-1656425696589.png

How can i change each connection string for each table? 
What i am thinking is to add parameter for each table name like web Url string + tableName 
And postgres ado connection string + tableName .

But i can not imagine how this should be done exactly.
Imagine i have 2 different tables with the same url beginning, like "https://myendpoint:9999//table1" and "https://myendpoint:9999//table2". How to change only first part of url and keep tables there? 
Or how to delete whole dataset and add different tables from different sources? 

What steps should be done?
1) add parameters for each connection string for each table (it required to do manual work for each table which i do not want to do) 
2) get lists of all parameters via powershell for example and change them? 

Please help,
Best,
Jacek

1 REPLY 1
Anonymous
Not applicable

Hi  @jaryszek ,

This is the related document, you can view this content:

https://livebook.manning.com/book/powershell-in-depth-second-edition/chapter-36/

https://social.technet.microsoft.com/Forums/ie/en-US/0c8b4d50-e87c-48f6-807c-f338a32103fc/powershell...

https://www.mssqltips.com/sqlservertip/7097/sql-server-connection-string-examples-powershell/

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.