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
Wayne_Wu888
Regular Visitor

lookupvalue from another table

hello there,

 

As shown below, I want to find whether the data in one column (contains many duplicated value) is exists in another table, I used the LOOKUPVALUE DAX as below, but only part of the cells in the new column that I created for checking returned the result. the rests are always blank. I'm struggling on this for days. Is anyone know this issue and can help me?

Thanks in advance.

 

Wayne_Wu888_0-1670920033157.png

 

1 ACCEPTED SOLUTION
Wayne_Wu888
Regular Visitor

I solved by myself, that I have an active relationship caused that problem.

View solution in original post

3 REPLIES 3
Wayne_Wu888
Regular Visitor

I solved by myself, that I have an active relationship caused that problem.

philouduv
Resolver III
Resolver III

Hello @Wayne_Wu888 ,

Just checking the Microsoft documentation here LOOKUPVALUE function (DAX) - DAX | Microsoft Learn:

philouduv_0-1670938806830.png
When you read the alternate Result:
"When not provided, the function returns BLANK when result_columnName is filtered down to zero value or an error when more than one distinct value."


That should be your issue.

Hope it helps

@philouduv thanks, however in my screenshot, the search value is actually all same. what confuse me is only some of the cell can get the correct value from other table, but some can't

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