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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
AL472
New Member

LOOKUPVALUE Returns False Query, but not desired data.

I have a column in Table 1 labeled "Responsible Design Group" which contains 70 distinct values across 1300 cells. I am attempting to add a column to Table 1 labeled "Department Name" using the LOOKUPVALUE feature. I need to pull data from Table 2, which contains the Department Names and their corresponding Design Group Labels. The DAX command I have been using is:
LOOKUPVALUE('Table 2'[Department Name], 'Table 2'[Design Group Label], 'Table 1'[Responsible Design Group])
The 70 disctinct values that appear in 'Table 1'[Responsible Design Group] are listed once apiece in 'Table 2'[Design Group Label].

I have ensured all my data is of the same type, text. When I imput this command it returns blank columns, when I add (..., "TBD") to the end of the LOOKUPVALUE command, all the cells in the 'Table 1'[Department Name] column change to "TBD". Is there any advice for this?

1 REPLY 1
tamerj1
Super User
Super User

@AL472 
Double check if the text matches in both columns. It could be an extra word, letter, space or hidden character. Try to trim and clean both columns in power query.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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