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

Build relationships between 3 tables to create P&L statement

I am new to power bi and my first assignment is to create a P&L statement. I have done numerous courses but didn't study anything like this. My first milestone is to create relationships but i can't figure out how. Any help would be much appreciatedss1.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @HAM 

 

For your question about creating relationships for tables, here's what I can do for you:

 

Autodetect during load, when data is loaded, Power BI Desktop automatically detects, finds and creates relationships for your tables.

 

You can also choose to create relationships manually. At least one table in the creation relationship must have a unique value.

vnuocmsft_0-1704352043857.png

 

Alternatively, in the “Model view” diagram layouts, you can drag and drop a column from one table to a column in another table to create a relationship.

vnuocmsft_1-1704352081872.png

 

And you can edit these relationships. Right-click on the relationship line and select "Properties".

vnuocmsft_2-1704352091638.png

 

Edit the relationships of your tables.

vnuocmsft_3-1704352116566.png

 

You can view the link below for more details:

Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Regards,

Nono Chen

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

2 REPLIES 2
Anonymous
Not applicable

Hi @HAM 

 

For your question about creating relationships for tables, here's what I can do for you:

 

Autodetect during load, when data is loaded, Power BI Desktop automatically detects, finds and creates relationships for your tables.

 

You can also choose to create relationships manually. At least one table in the creation relationship must have a unique value.

vnuocmsft_0-1704352043857.png

 

Alternatively, in the “Model view” diagram layouts, you can drag and drop a column from one table to a column in another table to create a relationship.

vnuocmsft_1-1704352081872.png

 

And you can edit these relationships. Right-click on the relationship line and select "Properties".

vnuocmsft_2-1704352091638.png

 

Edit the relationships of your tables.

vnuocmsft_3-1704352116566.png

 

You can view the link below for more details:

Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Regards,

Nono Chen

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

 

 

PijushRoy
Super User
Super User

Hi @HAM 

In the given details, I am not sure what is the issue you are facing
In the given screenshot, it is not clear which fields are connected in a relationship.
Please share sample data format and more images for the relationship.

For general,
Delete the auto-created relationship.
If you have GL dim table (general ledger are unique field), then use the GL field in relation with the Transection table and Account Balance table.

Better if you can create a sample pbix file and share the Google Drive link (please remove sensitive information)
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Thanks 
Pijush


 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.

Top Solution Authors
Top Kudoed Authors