PowerQueryFormulaFunction

PowerQueryFormulaFunction class

Represents the function of power query.

class PowerQueryFormulaFunction extends PowerQueryFormula;

Constructors

NameDescription
constructor(PowerQueryFormula)Constructs from a parent object convertible to this.

Methods

MethodDescription
getType()Gets the type of power query formula.
getF()Gets and sets the definition of function.
setF(string)Gets and sets the definition of function.
isNull()Checks whether the implementation object is null.
getName()Gets and sets the name of the power query formula.
setName(string)Gets and sets the name of the power query formula.
getPowerQueryFormulaItems()Gets all items of power query formula.
getFormulaDefinition()Gets the definition of the power query formula.

constructor(PowerQueryFormula)

Constructs from a parent object convertible to this.

constructor(obj: PowerQueryFormula);

Parameters:

ParameterTypeDescription
objPowerQueryFormulaThe parent object.

getType()

Gets the type of power query formula.

getType() : PowerQueryFormulaType;

Returns

PowerQueryFormulaType

getF()

Gets and sets the definition of function.

getF() : string;

setF(string)

Gets and sets the definition of function.

setF(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getName()

Gets and sets the name of the power query formula.

getName() : string;

setName(string)

Gets and sets the name of the power query formula.

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getPowerQueryFormulaItems()

Gets all items of power query formula.

getPowerQueryFormulaItems() : PowerQueryFormulaItemCollection;

Returns

PowerQueryFormulaItemCollection

getFormulaDefinition()

Gets the definition of the power query formula.

getFormulaDefinition() : string;