Join 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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
New to Power BI
This seems very easy but I can not figure out.
I have 2 tables A and B I can not relate them. I need to add column "Lookup" to Table B. Lookup comes from Tabe A
See above for tables
| Table A | Table B | |||||
| Fruit | Color | Amt | Fruit | Color | Lookup | |
| Apple | R | 5 | Apple | R | 5 | |
| Orange | O | 2 | Orange | O | 2 | |
| Peach | O | 7 | Peach | O | 7 | |
| Pair | R | 8 | Pair | R | 8 | |
| Berry | F | |||||
| Apple | R | 5 | ||||
| Orange | O | 2 | ||||
| Pair | R | 8 |
Solved! Go to Solution.
@MikeLombardi - Try LOOKUPVALUE or MAXX(FILTER(...),...) like:
Lookup Column =
LOOKUPVALUE('TableA'[Amt],'TableA'[Fruit],[Fruit],'TableA'[Color],[Color])
or
Lookup Column =
MAXX(FILTER('TableA','TableA'[Fruit]=[Fruit] && 'TableA'[Color]=[Color]),'TableA'[Amt])
@MikeLombardi - Try LOOKUPVALUE or MAXX(FILTER(...),...) like:
Lookup Column =
LOOKUPVALUE('TableA'[Amt],'TableA'[Fruit],[Fruit],'TableA'[Color],[Color])
or
Lookup Column =
MAXX(FILTER('TableA','TableA'[Fruit]=[Fruit] && 'TableA'[Color]=[Color]),'TableA'[Amt])
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 69 | |
| 45 | |
| 36 | |
| 28 | |
| 23 |
| User | Count |
|---|---|
| 135 | |
| 121 | |
| 58 | |
| 40 | |
| 32 |