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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
nok
Advocate II
Advocate II

Merge files keeping additional created columns

Hi!

I'm racking my brain over something I thought would be simple. These are all the files I have inside a sharepoint folder(they all have the same structure, only the row values ​​change):

nok_3-1759518730250.png

In this initial step of my PowerQuery, I needed to create two new columns:

  1. "FileDate" column (coming from the column "Name").
  2. "Year.Quarter" column (based on the "FileDate" column).

This two columns allows me to filter only the files I need to merge to create a single table. However, when I click the merge files icon in the "Content" column (marked in red in the image), PowerBI merges only the rows of the files I need, but without the "FileDate" and "Year.Quarter" columns I created earlier. Not even the "Name" column, with the origin file names, appears. If it were present in these merged tables, I could create "FileDate" and "Year.Quarter" columns again, but it doesn't appear, and I can't tell which file each row in my merged table belongs to.


How can I create a merge of the tables that maintains the "FileDate" and "Year.Quarter" columns I needed to create in the steps prior to this merge?

 

 

1 ACCEPTED SOLUTION
GeraldGEmerick
Super User
Super User

@nok In your Applied Steps area, look for a Removed Other Columns step. Click the gear icon and select the other columns that you want to include and not be removed.

GeraldGEmerick_0-1759521451596.png

 

View solution in original post

1 REPLY 1
GeraldGEmerick
Super User
Super User

@nok In your Applied Steps area, look for a Removed Other Columns step. Click the gear icon and select the other columns that you want to include and not be removed.

GeraldGEmerick_0-1759521451596.png

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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