This is a blog about how to use custom function with multiple condition logic to achieve switch in Power query.