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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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