Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi - I am connecting Power BI to Oracle DB. I would like to pass the DB name from flat file to Power BO so that users can change the server name in flat file and run in different Oracle servers without having to manually change in Pbix file.
Could anyone guide me on how to achieve this? Tried to use Query but did not work out.
Instead of Server Name, it should be able to pass Server_Name from say "C:\Users\User1\DB_Parameter.txt"
Solved! Go to Solution.
You can achieve that using parameters. In Power BI, go to Home > Get Data > Text/CSV.
Then :
Then go back to Home tab, go to Get Data > Oracle Database.
When setting up the connection, instead of entering the server name directly, enter the parameter you just created.
You can achieve that using parameters. In Power BI, go to Home > Get Data > Text/CSV.
Then :
Then go back to Home tab, go to Get Data > Oracle Database.
When setting up the connection, instead of entering the server name directly, enter the parameter you just created.
Thanks @AmiraBedh for your response. I have followed the steps you have mentioned. Imported the file. In the New Parameter window, unable to reference the column from the imported table. The Query option is coming as disabled. How can I dynamicallly reference the Servername vlaue nder Current Value? Am i missing something? Thanks.
Have you try converting the column to a list ?
Sorry for the late reply as I was Out of Office. Yes, I tried converting to list and was able to select the parameter file. But the next problem is it is expecting to provide a current value. I have provided a Server Name.
In the parameter flat fle, I have given a different server name. But the parameter is not taking the new value, it still uses the initial value given in Current Value. Is there a way to update the Current value with the value provided in the flat file?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |