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.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-07 21:24:36 +0000
Seen: 18 times
Last updated: Jun 07 '23
How can you create an OpenGL plot without relying on external libraries, starting from scratch?
How can I use iText7 to create a PDF that includes a pie chart?
How can I create a monitor in Datadog that includes multiple resources' metrics in one monitor?
Create a regular expression for the following format.
How to create GS1-128 using ZXing.Net?
Is it advisable to create event handlers in a separate method rather than inline all the time?
How to implement a leaderboard in Flutter?
How to create a plot using mplfinance and PyQt5 that includes a volume graph?