Forum Discussion
How to filter amongst two tables from SQL?
- 8 years ago
Hi Tooshay,
The established relationship between TableA and TableB will affect each other in Report View. In other words, such a relationship doesn't filter table records in Query Editor, and doesn't affect the loaded row numbers. Each time, all rows of table will be loaded to desktop, then, filter applies in visual level on report page.
In your scenario, if you want to filter data before loading to desktop, you could write SQL query in SQL statement.
Best regards,
Yuliana Gu
Hi Tooshay
If you maintain 2 seperate queries then Power BI brings data from both table based on filters and based on Dax usage the joining will happen in PBI only.
So considering your table size, you can Join table A with Table B in Query Editor itself , so that the join will heppen in DB itself.
you can have all requied columns in the new table, so you wont lose any data here.
Thanks
Raj