cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Arnault_ Resolver II
Resolver II

Consolidation of 3 CSV with different column structure

Dear All,

 

I am requesting your help. Despite different topics I checked out in the forum I didn't find an easy way to solve my problem.

 

I have created a template with a standard structure (columns are identified with a standard name). I receive flat files based on this template (CSV, TXT) from my partners and I combine the files within Power BI. All the files are located in a specific folder, then I used "get data / folder" and "load and edit the files", to get it in Power BI.

 

It used to work until one of my partner decided to add additional columns in its file. This shouldn't be a problem since I still have the columns I want. The fact is that these news columns have changed the order of the columns (not the name) and the process of loading is not working anymore, Power BI seems to not recognize the new columns and stops loading...

 

I was wondering how I could fix that effectively without creating several queries (which is an option). I thought about importing an empty table with the "desired headers" only, to force Power BI to only accept the specificied columns and ignore the additional ones.

 

Well, I am looking for advices. What would you recommend?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Consolidation of 3 CSV with different column structure

Hi @Arnault_ ,

 

Below links may helpful to your scenario:

Combine files with structure change

Load file from folder with different column names

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Consolidation of 3 CSV with different column structure

Hi @Arnault_ ,

 

Below links may helpful to your scenario:

Combine files with structure change

Load file from folder with different column names

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We've launched a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Top Solution Authors
Top Kudoed Authors