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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

When can RELATED be omited?

Is there any differnce in using RELATED or not for the below case? I still cannot follow when its necesary to use it, for example:

 

VAR = SELECTCOLUMNS(  FILTER(Cust,Cust[City] = "LA")
                                          ,"CustNo"
                                         ,Cust[CustNo] )

 

Works the same as...

VAR =
SELECTCOLUMNS(

  FILTER(
              Cust
              ,RELATED(Cust[City]) = "LA"

             )
  ,"CustNo"
  ,Cust[CustNo]
)

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

 

RELATED is needed only if the following conditions hold simultaneously:

1. You've got a row context on a certain base table.

2. You want to get a value from a table that is in relation to the one you are iterating over right now (hence the row context) and the table sits on the one-side of the relationship.

 

This is really all there is to it. Please read the documentation of the function as well https://dax.guide/related 

amitchandak
Super User
Super User

@Anonymous , if you are using cust table, then there is no need to use related. You should use that to bring column from a table from one side of one to many join

refer: https://www.youtube.com/watch?v=Wu1mWxR23jU

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.