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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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