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
ams123
Frequent Visitor

Create relationship between 2 tables (Invoice Header and Invoice Details)

 

I am trying to create a relationship between Tests linked to Requirements.  I also have a working relationship between Systems and Requiremets.

 

Relationships.jpg

 

Trouble is the Requirements can be tested by multiple Tests with some text so the cell is formated like shown.

 

requirements.JPG

 

Test data below.

 

Test.JPG

 

If I don't slice by System everything is fine, showing total Requirements and Pass/Fail status for all Tests.

 

Capture.JPG

 

When I slice by a System I would like to see the test status for that system only but that does not work.

 

Capture2.JPG

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @ams123,

 

I'm afraid you can't create a relationship like that. There are no same values. Though you can create a relationship, that won't work. Let's take your scenario as an example, there aren't any values in the Tests because there are no ids "200: foo" and "204: foo".

The solution could be as shown in the snapshot.Create relationship between 2 tables (Invoice Header and Invoice Details).png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-jiascu-msft
Employee
Employee

Hi @ams123,

 

Did it help? 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

After trying out you solution I better understand how that will fix my issue.  Thanks,

Yup I appreciate the confirmation that I cannot do what I need to do in this case.

v-jiascu-msft
Employee
Employee

Hi @ams123,

 

I'm afraid you can't create a relationship like that. There are no same values. Though you can create a relationship, that won't work. Let's take your scenario as an example, there aren't any values in the Tests because there are no ids "200: foo" and "204: foo".

The solution could be as shown in the snapshot.Create relationship between 2 tables (Invoice Header and Invoice Details).png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.