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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Losing Column Values when Using 'Combine' for CSV values

Using Combine .csvs for 5 identically formatting CSV files in powerquery. I have a field called 'DATE' which is the first column in the files, and the row values are loading correctly for the first csv file, but for the following 4 files, I'm losing the row values in the column DATE in the other csv's. They are blank, but in the source file csvs they are not.  Any ideas? 

SourceInventory List.PNGList of Steps Combine.PNG

1 REPLY 1
ImkeF
Super User
Super User

Power Quey is case sensitive. So an easy explanation would be that there is a slight deviation in writing. (also spaces and non printable characters could cause problems - Text.Trim and Text.Clean would help.)

 

Another troublemaker are additional columns, as the automatic expansion that you're using here creates a hardcoded value of columns to expand. Removing that solves that problem.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors