cancel
Showing results for 
Search instead for 
Did you mean: 
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
AClerk
Solution Sage
Solution Sage

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

amaan91
Frequent Visitor

Hi @AClerk 

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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors