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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ClemFandango
Advocate II
Advocate II

RELATED function for Lookup not working

Hi there,

I am having difficulties with the RELATED formula and hoping someone can help? All I am trying to recreate an Excel style Vlookup table. Am I going about this wrong way?

I have two Queries, TEST1 & LOOKUP. I am trying to add a new column in TEST1 that will return the value from the ‘Area’ column in the LOOKUP query column, where ‘Type (name)’ (from TEST1) matches ‘Type (name)’ (from LOOKUP).

This is the code so far that I am placing inside a Custom Column

[#"Type (name)"] = RELATED(LOOKUP[Area])

I have created a one to many relationship for the Type (name) in TEST1 & LOOKUP

But this is the error message. Does anyone have any idea where I am going wrong?

ClemFandango_0-1669728245134.png

Any help massively appreciated

1 ACCEPTED SOLUTION
lukiz84
Memorable Member
Memorable Member

You are trying to use DAX functions in PowerQuery.

View solution in original post

2 REPLIES 2
lukiz84
Memorable Member
Memorable Member

You are trying to use DAX functions in PowerQuery.

Ha! Thank you. You might not beleive this, but this has helped massivley. I never released that DAX was not part of Power Query. Oh dear.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.