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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ImaKickUrBut
Frequent Visitor

reference column value from before Table.Combine step

Hello! I'm very new to PBI & need some guidance please. 

 

I am combining 6 excel workbooks together - each workbook has several sheets that show departments & items based on item status (intake or inventoried).

 

Workbook Sheets:

department1-intake, department1-inventoried, department2-intake, department2-inventoried, etc

 

* if departments dont have any intake or inventoried items, the sheet is not present in the workbook

 

the only place that the workbook shows the department & activity is in the sheet name. 

 

I am using Table.Combine to create a single aggrigated table from all the workbooks, but I'd like to show a column with the department and activity in the aggrigated table. What would be the best way to show which sheet (department & activity) the data came from? Could I reference the origin sheet name in a column? 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

yes, you can reference any of the prior steps and their data points via

 

#"step name"{row index}[column name]  etc.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

yes, you can reference any of the prior steps and their data points via

 

#"step name"{row index}[column name]  etc.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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