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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
amaan91
Frequent Visitor

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.