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!
Hello
I have three table
ProdCategories
| CatID | Name | Status |
| AV1 | A | - |
| AV2 | B | - |
| AV3 | C | X |
| AV4 | D | X |
| AV5 | E | - |
ProdInventory
| ItemID | Item | CatID |
| 1 | AB | AV1 |
| 2 | AC | AV1 |
| 3 | AD | AV2 |
| 4 | AE | AV4 |
| 5 | AF | AV3 |
ProdRelease
| ItemID | Item | CatID |
| 2 | AC | AV1 |
| 4 | AE | AV4 |
| 6 | DC | AV5 |
| 7 | TU | AV5 |
ProdInventory and ProdRelease are not related, but both are connected to the ProdCategories by CatID
I want to add a column in the table ProdInventory that checks IF the ProdCategories Status = "X" If
Yes Does a Vlookup In table ProdRelease By ItemID IF find it shows"No" if not shows"Yes"
No shows "No"
Formula from Spreadsheet
=IF(G4="X", IF(ISERROR(VLOOKUP(K4, ProductionInventoryRelease!H: H,1, FALSE)), "No", "YES"), "No")
The result is:
| ItemID | Item | CatID | NewColumn |
| 1 | AB | AV1 | No |
| 2 | AC | AV1 | No |
| 3 | AD | AV2 | No |
| 4 | AE | AV4 | No |
| 5 | AF | AV3 | Yes |
Thanks in Advance
Solved! Go to Solution.
Hi @ofeliajesus ,
Please try this:
x = IF(RELATED(ProdCategories[Status])="X", If(ISBLANK(LOOKUPVALUE(ProdRelease[Item],ProdRelease[Item],ProdInventory[Item])),"Yes","No"),"No")
You said that you wanted to add a column to your table. Here is what it will look like after creating a calculated column.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
Hi @ofeliajesus ,
Please try this:
x = IF(RELATED(ProdCategories[Status])="X", If(ISBLANK(LOOKUPVALUE(ProdRelease[Item],ProdRelease[Item],ProdInventory[Item])),"Yes","No"),"No")
You said that you wanted to add a column to your table. Here is what it will look like after creating a calculated column.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
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 |
|---|---|
| 14 | |
| 11 | |
| 8 | |
| 7 | |
| 6 |