Forum Discussion
How to select related tables?
- Anonymous9 years ago
Yes, you have to create the relationships in the Power BI model even if corresponding relationships already exist in the source database. Power BI can automatically create relationships when you load two tables with matching key columns in a 1:M pattern, but I don't like to rely on that. Just manually set them up in the relationship manager.
Yes RelatedTable function works for me.
Obivously, you need a relationship between your 2 tables.
RelatedTable goes from the One side to the Many side.
What is not working for you ?
Oh, so it sounds like I need to define relationships before I can select related tables? I don't have any relationships defined in Power BI yet for these tables. But many other tables are sourced from this one SQL table that I chose "Select Related Tables" on. If I need to define relationships first, then what is the benefit of this feature?