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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sindrekb
Frequent Visitor

Add categories from one table to all values in another table

I am creating a P&L in PBI for a population of projects (Table1). Each projects has its individual P&L, each P&L set up with the same set of accounts (Table2). How can I merge the two tables, so that Table1 is set up with all P&L Categories from Table2? 

Table1:

sindrekb_0-1682319643227.png

 

Table2: (13 categories showing - total categories 36)

sindrekb_0-1682319344908.png

Sought-after output: 

sindrekb_2-1682319458400.png

Current solution is to copy the Project Sample 36 times and merge all tables before calculating each individual line item. 

 

Thank you. 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Are you asking to create the 'Sought after input' for every project row in Table1?

If so, it's not too difficult.

In Table1, Add a custom column which is just the name of the Table2 query.  The Intellisense will show you when you start typing.

Then expand the table from the column header

 

View solution in original post

2 REPLIES 2
sindrekb
Frequent Visitor

Thank you. Yes, I mistyped. It should say "Sought after output". This works. Thank you!

HotChilli
Super User
Super User

Are you asking to create the 'Sought after input' for every project row in Table1?

If so, it's not too difficult.

In Table1, Add a custom column which is just the name of the Table2 query.  The Intellisense will show you when you start typing.

Then expand the table from the column header

 

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 Kudoed Authors