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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors