Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
In one of Udemy's example exams, there is a question about two tables - SALES and CITY DATA. They look as following:
City data
| State (citydata) | city | Population (million) |
Sales
| State (sales) | Type | Sales |
State in both tables contain similar values.
In the question you have to say whether a statement is correct or not. The following statement is, according to them, incorrect. However, I don't understand why, as the function RELATED is working on the one-side of relationships, that can import a column into the sales table:
Can anyone explain?
Solved! Go to Solution.
Looking at the tables:
Sales is at the state granularity.
The city table is at the city granularity so each state there has multiple cities. Eg it might look like:
| State | City |
| A | 1 |
| A | 2 |
| A | 3 |
| B | 4 |
| B | 5 |
| B | 6 |
| C | 7 |
| C | 8 |
(Note City is unique but State is repeated).
You can join state to state between the tables but it will be many to many not 1 to many.
RELATED as you're aware only gets data from the 1 side of a 1 to many relationship.
Looking at the tables:
Sales is at the state granularity.
The city table is at the city granularity so each state there has multiple cities. Eg it might look like:
| State | City |
| A | 1 |
| A | 2 |
| A | 3 |
| B | 4 |
| B | 5 |
| B | 6 |
| C | 7 |
| C | 8 |
(Note City is unique but State is repeated).
You can join state to state between the tables but it will be many to many not 1 to many.
RELATED as you're aware only gets data from the 1 side of a 1 to many relationship.
Thanks! I understand it now.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |