Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
amaan91
Helper I
Helper I

Calculated column to lookup multiple matching values across multiple tables

Hi I am tring to retun service centre name from the accounts table and if it returns blank then return service centre name from another table called e sender. 
there is an active relation ship between both the table but it returns blank after for the second lookup function . 

Column 2 = IF( ISBLANK( LOOKUPVALUE(Consignment[name],Consignment[ShipmentReference],Append2[ConsignmentReference])) , LOOKUPVALUE(Accounts[name],Accounts[storeid],Append2[ServiceCentreId]), LOOKUPVALUE(Consignment[name],Consignment[ShipmentReference],Append2[ConsignmentReference]))
2 REPLIES 2
Anonymous
Not applicable

HI @amaan91 

Your formula looks fine. You'll have to debug your code and data.

Alternatively, share with us your pbix or data, then we can better undersantd where lies the error.

Thanks
A

Hi @Anonymous 

Thank you for the reply, yes you were correct the formule was fine. There were blanks in the data due to which the code was not running properly.

Regards 
Amaan 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors