- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error using parameters in datasource with Direct Query in update May 2020
We're getting errors using parameters in the datasource together with Direct Query in the May 2020 update.
Even if we just connect to one SQL Server table with parameters for server and database, after we close and apply we get the error: 'Connecting to tables from more than one database is not supported with Direct Query'.
In the Power Query editor the table is shown correctly (also after refresh) and with hardcoded server and database everything works fine, as well as in import mode using parameters.
We've used parameters in the datasource substantially in production so we're hesitant to deploy the May 2020 update.
Anyone an idea?
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
same problem here ... not sure why Microsoft deploys a solution that is not downward compatible (guess that's just their customer friendly approach).
Anyway: any news on this yet?
(Or will I have to redesign all Power BI reports / start looking into alternative products?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@bradsy are you aware of any issues in this area of parameters and Direct Query?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have not heard any problems similar to this. If you can detail the repro a little better, we can give it a try to see if we can replicate the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for responding.
I'll illustrate with a few screenshots...all in DirectQuery mode:
First with hardcoded server and database
after close and apply the connection is evaluated correctly.
Then with parameters 'ServerName' and 'DatabaseName'
after close and apply the next message appears during connection evaluation...
Allow parameterization in datasource is on.
Up till now this worked fine and as I said used all over production.
gr.
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mart_lef,
I was not able to reproduce. The parameters were applied and my dataset kept working with DQ. Any other users seeing this?

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
01-23-2024 04:15 AM | |||
06-24-2024 05:49 PM | |||
07-10-2024 07:50 AM | |||
05-07-2024 07:35 PM | |||
10-19-2023 02:32 AM |
User | Count |
---|---|
10 | |
4 | |
4 | |
2 | |
1 |
User | Count |
---|---|
9 | |
6 | |
5 | |
4 | |
4 |