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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.