To create an M function, follow these steps:
In the formula bar, enter the name of your function followed by the parameters in parentheses. For example:
MyFunction(parameter1 as text, parameter2 as number)
Press "Enter" to create the function header.
Your function is now created and can be called from other queries or expressions within your report. You can also save the function as a separate file with an extension ".pq" for future reuse.
Asked: 2023-06-07 21:24:36 +0000
Seen: 18 times
Last updated: Jun 07 '23