Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Mart_Ief
New Member

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

5 REPLIES 5
bp88we
New Member

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?)

 

 

d_gosbell
Super User
Super User

@bradsy are you aware of any issues in this area of parameters and Direct Query?

bradsy
Microsoft Employee
Microsoft Employee

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.

Thank you for responding.

I'll illustrate with a few screenshots...all in DirectQuery mode:

 

First with hardcoded server and database

een.png

after close and apply the connection is evaluated correctly.

Then with parameters 'ServerName' and 'DatabaseName'

twee.png

after close and apply the next message appears during connection evaluation...

drie.png

Allow parameterization in datasource is on.

vier.png

Up till now this worked fine and as I said used all over production.

gr.

Martin

bradsy
Microsoft Employee
Microsoft Employee

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

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.