Forum Discussion
Willgart
Helper II
10 years agohow to force inner joins in direct query SQLs?
Hi, is it possible to force Power BI to create inner join queries instead of left outer join ones? I'm using SQL server with direct queries. thanks.
Willgart
Helper II
10 years agoIts a direct query to SQL Server, not SSAS.
my Power BI version is: 2.29.4217.221
Power BI didnt detect any new version... so not sure if its the latest or not.
I dont see any option to play with the links between the tables (except the cardinality option)
I think the merge query doesnt works with direct queries. there is limitation in this mode.
itchyeyeballs
Impactful Individual
10 years agoThe different join options in the latest version only apply to merging queries during the import stage, not in the model itself (I think).
I would go with views in the database if thats a workable option, gives the most control and also means you can share a .pbix file with multiple users and still have the ability to just change code in one place if you want to modify later on.