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
DanielPasalic
Helper II
Helper II

Assigning of values from other table without relation (DAX - Lookup VAlue)

Hi
I'm trying to assign the value from other tables in another table and there is no table relation between those two tables. 
In this new table (table 2), where I'm trying to get the value from the old table (table 1), I created a new column according to the following:
Article name = LOOKUPVALUE (Reference_Merge_Standard_Opis_Dec[Artikelbeskrivning] = table 1 that contain the values I need
;Reference_Merge_Standard_Opis_Dec[Dec-19 butikstäckning behov] = the column in table 1, containing the "key"
; Reference_Merge_STANDARD_ranking[Dec-19 butikstäckning behov] = the column in table 2, containing the same "key"
after that I applied same steps as above for 5 different parameters but always get an error:
A table of multiple values was supplied where a single value was expected.

 

Anyone who can help me?

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@DanielPasalic 

The bold lookup formula seems incorrect for me. Check:

LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>[, <search_columnName>, <search_value>]…[, <alternateResult>])   

Please share a sample pibx if possbile.

Best,
Paul

View solution in original post

1 REPLY 1
V-pazhen-msft
Community Support
Community Support

@DanielPasalic 

The bold lookup formula seems incorrect for me. Check:

LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>[, <search_columnName>, <search_value>]…[, <alternateResult>])   

Please share a sample pibx if possbile.

Best,
Paul

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.