Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
how to use lookupvalue function in power query? i am using direct query and cannot create calculated column
Solved! Go to Solution.
Hi All,
Firstly audreygerred thank you for your solution!
@powerbiexpert22 as you can imagine, there is actually no direct function in Power Query like the LOOKUPVALUE function in DAX, however, you can achieve LOOKUPVALUE-like functionality by using a merge query, and the following is an application that has a merge query.
If you use it in direct query mode, it will do this merge process by querying the database.
Hope it helps!
Best regards,
Community Support Team_ Tom Shen
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @powerbiexpert22 ,
Has your problem been solved after all this time, or has a new problem arisen, if there are any other questions on this issue, feel free to contact me and I'll get back to you as soon as I receive the message.
Hope it helps!
Best regards,
Community Support Team_ Tom Shen
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi All,
Firstly audreygerred thank you for your solution!
@powerbiexpert22 as you can imagine, there is actually no direct function in Power Query like the LOOKUPVALUE function in DAX, however, you can achieve LOOKUPVALUE-like functionality by using a merge query, and the following is an application that has a merge query.
If you use it in direct query mode, it will do this merge process by querying the database.
Hope it helps!
Best regards,
Community Support Team_ Tom Shen
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi! In Power Query, you should be able to do a merge to bring in fields that you want from one table to another. Even in import mode you should only use a calculated column as a last resort - you always want to add columns as far upstream as possible.
Proud to be a Super User! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
66 | |
54 | |
47 | |
36 | |
34 |
User | Count |
---|---|
84 | |
70 | |
58 | |
45 | |
44 |