Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a demand from a client that has several franchises, each franchise has a database that is allocated on the same server. I need to know if there is a way, when a new database is created on the server, that power qwery automatcly import the tables that I will leave programmed?
Solved! Go to Solution.
You can see all the databases on the server, either by right clicking on the server in the Get Data pop-up window (don't choose one database or table) and select "Transform Data". Or you can modify/remove the navigation step to get to same view. Once there you can add a column to extract the table from each database and append. Repeat for the other tables to combine. Example with sql server below.
Pat
Yes, all databases in the same dataset. However, every time a new database is created do I have to add its tables manually?
You can see all the databases on the server, either by right clicking on the server in the Get Data pop-up window (don't choose one database or table) and select "Transform Data". Or you can modify/remove the navigation step to get to same view. Once there you can add a column to extract the table from each database and append. Repeat for the other tables to combine. Example with sql server below.
Pat
Are you loading all the databases into the same Power BI dataset? Appending the same tables from each database? If so, it should just pick up the new databases with each refresh.
Pat
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 |
User | Count |
---|---|
15 | |
14 | |
8 | |
6 | |
6 |