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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Inner Join with Direct Query without pulling all data to client

Hi,

 

I'm using Direct Query to Oracle db

 

If I just add 1 table, PowerBi does not load all the data to client for the reports to work (applies filters and aggregations on report refresh).

 

However if I have 2 tables (A, B), joined via a unique key - K(a), K(b), and define a new merged query (inner join), then PowerBI tries to pre-load all the data to client (which does not work, millions of records).

 

The tables A, B container a lot of data and the reason for using Direct Query is performance. However PowerBi joins (merge query) seems to defeat the purpose of using Direct Query.

 

Am I missing something?

 

Note that I know I can handcraft my own join and work around the issue, I'm wondering whether there is a built-in way for joins to evaluate at report time (with filters and aggregations applied), rather then pre-fetch all the data?

 

Regards,

Stefan

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , have you used +0 in measure or crossjoin.

Have you used bi-directional joins?

 

refer to this

https://guyinacube.com/2019/01/30/power-bi-query-reduction-when-using-directquery/

https://community.powerbi.com/t5/Desktop/Query-Reduction/td-p/964484

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak ,

 

thank you for responding.

 

I'm not using any meassures or crossjoins. And DAX joins seem to only work on equivalent structure tables (not my case)

 

bi-directional joins seem to have no effect on merge query creation, likewise reducing query. They all seem to only have influence after the data is filtered.

 

Note that I can't even create the merged query because PowerBi seems to be overloaded with data.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.