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
WLFRD
Helper III
Helper III

Two active relations to connect parts to serialnumber

Hello,

 

maybe someone can help me out. I would like to see which part numbers from table3 are used for the serial numbers in table1. To do that, I would like to use two active relations between two tables because the combination of the sequence number and work number is unique for every serial number. With 1 active relation ( sequence number to sequence number for instance) the work numbers don't match because of the inactive relation.

 

WLFRD_0-1689083821322.png

 

I don't need to calculate something. It is just the link between the serial number from table1 to the Part number, Description and Quantity in table3.

 

Thanks in advance.

 

 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You can't have two active relationships, but you could create new columns by concatenating together the sequence number and work number, with an appropriate delimiter, and then create an active relationship between the 2 new columns.

You could do the concatenation in Power Query or you could use the COMBINEVALUES function.

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

You can't have two active relationships, but you could create new columns by concatenating together the sequence number and work number, with an appropriate delimiter, and then create an active relationship between the 2 new columns.

You could do the concatenation in Power Query or you could use the COMBINEVALUES function.

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.