In this blog, we will explore how to think and write complex M in Power Query while tackling a data cleansing problem. Whether you encounter a similar problem or not, you will find valuable insights and techniques that you can apply to your own data sets. Through this M language solution, we will discuss the logic and steps involved in problem-solving.