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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.