Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello everybody,
I want to merge differents excel woorkbooks in a power query but i have a differrents number of columns.
see example below :
My problem is that in power query, the columns number 5 (E in excel) will contain 0 in the Excel#1, a TOTAL in excel#2 and the qty of banana in the excel#3
Do you have a solution for this ?
Regards,
Romain
Hi @Romain_L
I have created two sample table and try to same job you want.
Please find the attached pbix file. Please follow highlighted 3 table and do same step in your file
If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos
Proud to be a Super User! | |
Hi,
Thanks for the aswer, yes it's working in that case but, the thing is that i have like 80 files like excel 1 and i need to be adble to add new excel in the folder and powerbi will upgrade automatically, thats why i don't want to charge every excel files but the entire folder.
Regards,
Romain
@Romain_L
When you uploading folder, my suggestion is you need to standarize the excel format for now and for future. So it will not create any issue for you.
Is excel generated from any software and manual fitted excel
Please fix the excel format like
FruitsName, Month, City of Apple, City of Benana, City of Orange, Total...
Please let me know
If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos
Proud to be a Super User! | |
To be more precise,
In my case, my company have a badge reader that count every person going inside the construction (using badges).
And every day this software generate automatically thoses excel files.
So to take back the exemple,
City is the company of the person going inside
Months are days
Fruits are statuts of the person (worker, foreman, ingeneer, client, other...)
So i can't change the new excel files and i already have hundreds of old files that i need to regroup.
i know that changing the excel will be way easier but sadlly i can't.
regards,
the main problem is that if there is no foreman the monday, i will not have the column "foreman" but if i have a foreman the tuesday, the software will create the column and push the other columns on the left
as an exemple
the site does not allow me to add excel files, i don't kow how to do
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
9 | |
8 | |
7 | |
7 |