March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
Do you have any suggestions for making Data sources credentials linked dynamically to Power Bi?
i.e. instead of hardcoding the Servers and Ports, is there any way to connect through any single source to Multiple .pbix files?
Example:- Suppose I have 10 Power Bi reports, incase the Data source server gets changed, I need to change in each and every report individually. Is there any better way to do it?
Solved! Go to Solution.
You can place these details on a SharePoint and then read them as part of the Power Query steps. However you will get into conflict with the Formula Firewall which exists exactly to prevent things like this.
Hi @Aks8093 ,
If your reports are similar in content, perhaps you might consider using a .pbit file, which will template your reports for use whenever you connect to different data sources.
Create and use report templates in Power BI Desktop - Power BI | Microsoft Learn
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your valuable insight, however this is not what I was looking for.
You can place these details on a SharePoint and then read them as part of the Power Query steps. However you will get into conflict with the Formula Firewall which exists exactly to prevent things like this.
I agree to your point, however post publishing it to services it won't allow to Scheduled refresh. Any suggestions on that?
Any error message?
As of now
Formula.Firewall: Query 'DBGrowth' (step 'dbo_DBGrowth') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.
Can you show a sanitized version of the query?
So that means even though I pass the credentials as a parameter, it's not possible to get through the Firewall.
It's possible but not advisable. You would have to set all privacy levels to ignore.
Could you please share any contact details so as to connect and discuss on the matter?
Thank you.
Sorry, forum only for me.
Alright.
Incase am creating an Sharepoint Excel file, and saving all the credential details like ServerName, Port, UserID, Password, TableName, TableFolder etc. and then passing the values as parameters in Advance Editor.
Will it work? even though I publish the report to Services.
define "work". It will "work" but you need to make extra effort to circumvent the formula firewall. At this point you need to ask yourself if you really want to do that.
Understood your point. Thanks a lot.
just for test
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
22 | |
22 | |
12 | |
10 | |
8 |
User | Count |
---|---|
43 | |
42 | |
24 | |
11 | |
10 |