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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Gillard_2
Frequent Visitor

Lookup Help

I have done many lookups however this one is not playing ball and i cant work out why 😞

 
 
 

Image1.pngImage2.png

Building Name = LOOKUPVALUE(BuildingCodes1[Building],BuildingCodes1[Building Code],Printer_Report_Push_Printers[LocationCode])

LocationCode = LEFT(Printer_Report_Push_Printers[Printer Queue],3)

 

Any ideas why this lookup is not bring anything back and everything is blank? Thanks

 

 

7 REPLIES 7
v-yuta-msft
Community Support
Community Support

@Gillard_2 ,

 

It means there's no matched result by LOOKUPVALUE() function, please check if there're any unprintable values in Building Code column.

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

az38
Community Champion
Community Champion

Hi @Gillard_2 

why dont you use relationship LocationCode - Building Code (many-to-one)?

it would be looks more pretty 

 

do not hesitate to give a kudo to useful posts and mark solutions as solution
Linkedin


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Creating this relationship still has the same issue unfortuantely. It clearly isnt seeing them as matching despite the fact they clearly are. It wouldnt have anything to do with the fact the are Capitalised or only 3 letters long i presume

 If possible please share a sample pbix file after removing sensitive information.
Thanks

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Gillard_2 ,

 

maybe there are non-printable characters (like space) at the end of the [Building Code]?

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


I have checked and i dont believe this to be the case.

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Gillard_2 ,

did you solve your problem?

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.