Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am creating a dashboard to monitor SQL Agent jobs on Power BI Dashboard for different servers in my network. I have connected one data source with the direct query and when I am trying to connect the second data source with the direct query it popping up a caution to change into import mode. my question was How to connect the two more databases with the direct query?
Solved! Go to Solution.
Hi @akhil5656
Nowadays, you can't do that...
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-use-directquery/
Regards
BILASolution
Hi @akhil5656
Try the following:
1. Create SQL Views for your queries in a single database, reference your tables with full qualified names (including database name).
2. In Power Query when you select from database source, select your database where you have created your SQL Views.
3. Use the tables listing mode (instead of advanced) and select your views that you have created in step 1.
Cheers,
Sven
It seems there is solution for the same.
Mention the same "Database" name in both the SQL Server DB popup and
In advanced query(where we are refering to another DB ) refer the table in the query with DB name
eg select * from Databasename.dbo.tablename
This worked for me while direct query was intact !!
Hi @akhil5656
Nowadays, you can't do that...
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-use-directquery/
Regards
BILASolution
Is there any other way to connect two or more database live in Power BI Desktop?
I think an alternative to solve your question, but you need Power BI Services. You can create differents reports per each data source by direct query in power BI desktop, then publish them in power bi service. Finally create a dashboard that shows a mix of report parts.
How can I mix two reports into one dashboard? can you help me, please?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |