Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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?
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
87 | |
67 | |
49 |
User | Count |
---|---|
135 | |
112 | |
100 | |
68 | |
67 |