Reply
ImaKickUrBut
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

 

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

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)