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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Antmkjr
Post Patron
Post Patron

Direct Query with dataflows in pbi desktop

Using a direct query dataflow in pbi desktop, and a normal import mode table ( both of which are using sharepoint sources ),

im creating a calculated table using union.

I am getting the below error message ,

 

AnuTomy_1-1627277221622.png

Anyone knows what is the issue here?

I understand I can perform this union operation in power query , but in actual case i have several other tables to combine in this union query, several of which have calculated columns , so I need to perform this union as calculated table rather than in power query.

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Antmkjr,

I think this should be related to the merge operation between the 'direct query model data source and the import mode data source. (AFAIK, 'direct query model has limited most of DAX functions use on the calculated column/table)

BTW, if you are work with SharePoint files, why not directly use the source file link to get data? They can be refresh automatically on the power bi service side.

Use OneDrive for Business links in Power BI Desktop - Power BI | Microsoft Docs

Data refresh in Power BI - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

lbendlin
Super User
Super User

"Using a direct query dataflow in pbi desktop, and a normal import mode table"

 

As far as I know you cannot combine a direct query dataflow with another import source - everything will be switched to import.  Please clarify.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.