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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
patrick3
Helper II
Helper II

Weird Behaviour Lookupvalue - returning results only for select rows

Hi all,

 

So I'm using Lookupvalue to populate a column with a particular value, based on 3 other columns.

It works - but only for a very select group of rows. First idea is of course, that the other rows don't have matching values - however, I have some rows with exactly the same values, where some return the right value and other's don't.

 

Only differentiator I have found is that in the same table I'm populating the new value, in a different column there's a different value.

 

Hopefully this example helps to explain:
I'm using Product Category, Sub-Category & Created Month in the Lookupvalue, but not Source - yet Source seems to be the differentiator. What could cause this behaviour?

 

PRODUCT CATEGORYSUB-CATEGORYSOURCEValue of WidgetsCreated Month
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Mars100Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
WidgetsWidgets from the UniverseWidgets from Venus Oct-19
3 REPLIES 3
Anonymous
Not applicable

Hi @patrick3,

It will help if your share sample pbix file for test.
LOOKUPVALUE function is not suitable to search table with duplicate records(it will return an error message about finding out multiple records), you can consider adding more conditions fields to this function to help search the unique record.
In addition, you can also try to use the filter function to search table records, remove duplicate records and merge these results to one.

Best Regards,

Jack Chen

Hi @Anonymous , thanks for your reply - the search table has no duplicate records - based on the 3 conditions I'm specifying, there are only unique values and the formula is not returning an error - it's just returning 1 value, but not in all cases where it should.

Anonymous
Not applicable

HI @patrick3 ,

Can you please share pbix file with some sample data to test? It will help to find out the reason of lookupvalue function does not work on a specific field.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors