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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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])
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 114 | |
| 107 | |
| 41 | |
| 34 | |
| 25 |