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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Lookupvalue

I am trying to get the locationame from another table by using lookupvalue.

 

Test3 = LOOKUPVALUE(ProductieLocatie[ProductieLocatie Naam];ProductieLocatie[BK_DYN_ProductieLocatieid];NormAfwijkingsTaken[DYN_ProductielocatieID])

 

based on the id, but i can't seem to get it to work. 

 

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

Could you tell me if your problem has been solved? If it is,kindly mark the helpful answer as a solution and welcome to share your own solution. More people will benefit from here. If not, please share more details for us so that we could help further on it.

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TomMartens
Super User
Super User

Hey,

 

I assume the following: you try to create a calculated column as LOOKUPVALUE will not work inside a measure, at lease I never tried to.

 

But then, what is exactly your problem? Do you get an error, or "just" wrong results. If you get an error, it's most probable, that the function is not able to determine a distinct value.

 

Maybe this site might help:

https://dax.guide/lookupvalue/


If my assumptions are wrong and your issue are not covered from my suggestions, please elaborate more on your issue and you might also consider to create a pbix with some sample data, upload the pbix to onedrive or dropbox and share the link.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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