March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
03-29-2017 16:11 PM - last edited 03-30-2017 10:28 AM
If you've got column headers that are all messed up, cleaning them can be kind of a drag. It can be done all at once using M, but it can take a fair amount of fancy M; often you end up caving and just one-by-one renaming the columns manually. However, if you're lucky enough to know about List.Zip() you can write a much much simpler bit of M to handle that problem nice and quick. In this video, we'll show you exactly how that's done.
watch?v=dzZyLaCX4vk