Forum Discussion

hyugo_v's avatar
hyugo_v
Helper I
5 years ago
Solved

LOOKUPVALUE separate by one column

Hello everybody,

 

i just finished my mapping on power bi and now i need to do some operations in DAX, i'm currently facing one problem regarding the LOOKUPVALUE function.


I put a screenshot under that show a part of my data model, to make it simple i've got 3 tables :
-GLAF, MappingProject and RegroupementDestination.


I've got mapping as well  :
-GLAF is linked with MappingProject by the column Project.
-MappingProject is linked with RegroupementDestination by the column DestinationPrestation.


The problem i'm facing is that i need to make a calculated column in the GLAF table who gives the Destination niveau1 from the table RegroupementDestination.


As far as i know, LOOKUPVALUE is only between two tables but in my case they are one table apart.
Now my question is : which function can retrieve the column i'm looking for ? i don't think a nested lookupvalue is possible..

Thank you, i'll make my point more clear if needed;

 

Regards,

 

 

 

 

 

  • hyugo_v 

    You can use the RELATED function and nest it to get the resutls.

    ________________________

    If my answer was helpful, please consider Accept it as the solution to help the other members find it

    Click on the Thumbs-Up icon if you like this reply 🙂

    YouTube  LinkedIn

2 Replies

  • hyugo_v 

    You can use the RELATED function and nest it to get the resutls.

    ________________________

    If my answer was helpful, please consider Accept it as the solution to help the other members find it

    Click on the Thumbs-Up icon if you like this reply 🙂

    YouTube  LinkedIn