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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
wperkinson
Frequent Visitor

Assistance Needed to create relationship

RelationshipsPowerBI.jpg I have three tables whereby I need to create a relationship.  fgs_subscriptionorders, fgs_subscriptionitemsesActive and gap_powerbioptionsetrefsprogram.

fgs_subscriptionitemsesActive are the child records of the parents located in the fgs_subscriptionorders entity.

 

I need to get a count of all child items for a program.

The program name is stored on the parent record. 

The gap_powerbioptionsetrefsprogram is an entity created to allow me to capture the labels instead of the numberic value of an option set.

 

For example: program name of: TESTPROGRAM is on four parent records.  Each parent record has 10 children.

I wish to display in a graphical format that we have 40 child records that fall under the program "TESTPROGRAM"

How can I relate these three entities in order to get this done?

As you can see they are related, but I am not sure how to get to the label from the gap_powerbioptionsetrefsProgram from the fgs_subscriptionitemsesActive

 

Thank you,

 

Will

1 ACCEPTED SOLUTION

Thank you for the reply.

 

I was able to resolve my issue by creating a merge of the two tables in question.  In this way I could create a relationship between the merged tables and the third table in question.

 

Regards,

 

Will

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@wperkinson,

Could you please share dummy data of the three tables and post expected result based on the dummy data? Also we need to know what field you use to create relationship among the three tables.

In addition, when you drag program name field of gap_powerbioptionsetrefsprogram and child item field of fgs_subscriptionitemsesActive in a table visual, do you get desired result?

Regards,
Lydia

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

Thank you for the reply.

 

I was able to resolve my issue by creating a merge of the two tables in question.  In this way I could create a relationship between the merged tables and the third table in question.

 

Regards,

 

Will

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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