- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Wrong releationship of Table values
Hi everybody,
I am facing following issue: I have two tables (see below Table A and Table B) and I want to display the relation of the columns FC and Cat. The releation is given over the the column LookUp. The problem is that for every Cat the matrix is showing me the relation to the very first value of the column FC.
Current result
Cat | FC |
ETS_ABA | A |
ETS_ETK | A |
ETS_KKK | A |
ETS_ABA | A |
ETS_OII | A |
ETS_KKJ | A |
Expected Result
Cat | FC |
ETS_ABA | A |
ETS_ETK | A |
ETS_KKK | C |
ETS_ABA | B |
ETS_OII | C |
ETS_KKJ | D |
Table A
Cat | LookUp |
ETS_ABA | FID_1 |
ETS_ETK | FID_1 |
ETS_KKK | FID_3 |
ETS_ABA | FID_2 |
ETS_OII | FID_3 |
ETS_KKJ | FID_4 |
Table B
LookUp A | FC |
FID_1 | A |
FID_1 | A |
FID_3 | C |
FID_2 | B |
FID_3 | C |
FID_4 | D |
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous
Select Table A and Merge with Table B on Lookup Column.
Modify the code, including the Table. Distinct around #"Table B"
= Table.NestedJoin(Source, {"LookUp"}, Table.Distinct(#"Table B"), {"LookUp A"}, "Table B", JoinKind.LeftOuter)
Expand the new merged column on FC
Result
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous
Select Table A and Merge with Table B on Lookup Column.
Modify the code, including the Table. Distinct around #"Table B"
= Table.NestedJoin(Source, {"LookUp"}, Table.Distinct(#"Table B"), {"LookUp A"}, "Table B", JoinKind.LeftOuter)
Expand the new merged column on FC
Result
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous
Well, in modeling, you cannot create many-to-one relationship if the one side has unique values, If you arrange your table in that way, you do the modilng
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
06-14-2024 03:39 PM | |||
05-18-2022 02:21 PM | |||
08-02-2024 11:49 AM | |||
Anonymous
| 05-24-2023 02:10 AM | ||
08-07-2023 11:26 AM |
User | Count |
---|---|
27 | |
26 | |
25 | |
13 | |
10 |
User | Count |
---|---|
24 | |
21 | |
18 | |
17 | |
10 |