You can do amazing things in Power Query! Maybe you think to create a function. But do you really need a function for that? Or is it over complicating things?