Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iankitnegi/master-mlanguage


https://github.com/iankitnegi/master-mlanguage

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

# Master M Language of Power Query

### How to create LIST {}:
List: ={1,2,3,4,5}
List 1 to 100: ={1..50}

### How to create RECORD []:
= [A=1, B=2, C=3, D=4]

### How to create TABLE ():
= #table(
{"Column1", "Column2", "Column3"},
{
{1, "A", true},
{2, "B", false},
{3, "C", true}
}
)

### How to create Invoked Funn => :
= (x,y) => x+y/2
____________________________________

### How to use Let & In Expression
let
// Define variables
Variable1 = 10,
Variable2 = 20,
Result = Variable1 + Variable2
in
// Return the result
Result