Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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