cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SPipsen
New Member

Appending sample file

Hi!

The files that I have to work with have 2 column rows. Therefore, in "Transform Sample File" I transpose the 2 column rows to make each file have 1 column row. Before I do that though, I duplicate my "Transform Sample File" to be able to append the rest of the sample table later (to that 1 column row that I create). The result though looks like this:

File A has 1 column row and attached rows of File A

File B has 1 column row and attached rows of File A

File C has 1 column row and attached rows of File A

File D has 1 column row and attached rows of File A

 

Desired result:

File A has 1 column row and attached rows of File A

File B has 1 column row and attached rows of File B

File C has 1 column row and attached rows of File C

File D has 1 column row and attached rows of File D

 

How do I make it work? Thanks in advance!

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @SPipsen ,

 

I'm not sure why you're duplicating your Transform Sample File query. The whole point of the folder combine process is that Power BI performs exactly the same transformations on every file in the folder (based on your Transform Sample File steps) then appends them for you.

If you don't want to do exactly the same transformations on each file, then you should just be importing them as individual sources/queries into Power Query and transforming them separately.

 

Pete

View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @SPipsen ,

 

I'm not sure why you're duplicating your Transform Sample File query. The whole point of the folder combine process is that Power BI performs exactly the same transformations on every file in the folder (based on your Transform Sample File steps) then appends them for you.

If you don't want to do exactly the same transformations on each file, then you should just be importing them as individual sources/queries into Power Query and transforming them separately.

 

Pete

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!