10

Creating Custom Functions in Power Query

In this chapter, we will learn how to create custom Power Query functions in Power BI, covering the planning process, parameters, and the actual creation of the functions. We will start by understanding data requirements and defining the function’s purpose and expected output, then we will learn about the different types of parameters and how to use them to make functions more flexible and reusable, and finally, we will see step by step how to write M code functions, and test and debug them.

Specifically, the following topics will be covered in this chapter:

  • Planning for your custom function
  • Using parameters
  • Creating custom functions

Overall, this chapter will provide a comprehensive guide to creating ...

Get Data Cleaning with Power BI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.