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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
CAB80
Frequent Visitor

Related function not showing table

Hello,

 

I'm trying to write a simple dax function to multiply the noofunits from the pallet_detail table by the quantity in the bill_of_material_packaging_item table, but when I write the function, it doesn't find this as related?

 

Packaging Units = sumx(bi_Pallet_DetailV,bi_Pallet_DetailV[NoOfUnits]*RELATED(sw_Bill_Of_Material_Packaging_ItemT[QUANTITY))))

 

PowerBi Capture.PNG

Can someone help to explain why this won't work?  I thought as long as each table is linked via relationships then you can grab the relational data.  Confused.

 

Thanks in advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@CAB80 , related only to work 1 level.  A-B -C is 1-M again 1-M

Then you can copy only from A-B and not from A-C

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@CAB80 , related only to work 1 level.  A-B -C is 1-M again 1-M

Then you can copy only from A-B and not from A-C

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.