PowerQueryFormulaParameter

PowerQueryFormulaParameter class

Represents the parameter of power query formula.

class PowerQueryFormulaParameter extends PowerQueryFormula;

Constructors

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

Properties

PropertyTypeDescription
valuestringGets the value of parameter.
groupNamestringReadonly. Gets the name of group which contains this power query formula.
namestringGets and sets the name of the power query formula.
descriptionstringGets and sets the description of the power query formula.
powerQueryFormulaItemsPowerQueryFormulaItemCollectionReadonly. Gets all items of power query formula.

Methods

MethodDescription
getValue()@deprecated. Please use the ‘value’ property instead. Gets the value of parameter.
setValue(string)@deprecated. Please use the ‘value’ property instead. Gets the value of parameter.
isNull()Checks whether the implementation object is null.
getGroupName()@deprecated. Please use the ‘groupName’ property instead. Gets the name of group which contains this power query formula.
getName()@deprecated. Please use the ’name’ property instead. Gets and sets the name of the power query formula.
setName(string)@deprecated. Please use the ’name’ property instead. Gets and sets the name of the power query formula.
getDescription()@deprecated. Please use the ‘description’ property instead. Gets and sets the description of the power query formula.
setDescription(string)@deprecated. Please use the ‘description’ property instead. Gets and sets the description of the power query formula.
getPowerQueryFormulaItems()@deprecated. Please use the ‘powerQueryFormulaItems’ property instead. Gets all items of power query formula.
getType()Gets the type of power query formula.
getFormulaDefinition()Gets the definition of the parameter.

constructor(PowerQueryFormula)

Constructs from a parent object convertible to this.

constructor(obj: PowerQueryFormula);

Parameters:

ParameterTypeDescription
objPowerQueryFormulaThe parent object.

value

Gets the value of parameter.

value : string;

groupName

Readonly. Gets the name of group which contains this power query formula.

groupName : string;

name

Gets and sets the name of the power query formula.

name : string;

description

Gets and sets the description of the power query formula.

description : string;

powerQueryFormulaItems

Readonly. Gets all items of power query formula.

powerQueryFormulaItems : PowerQueryFormulaItemCollection;

getValue()

@deprecated. Please use the ‘value’ property instead. Gets the value of parameter.

getValue() : string;

setValue(string)

@deprecated. Please use the ‘value’ property instead. Gets the value of parameter.

setValue(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getGroupName()

@deprecated. Please use the ‘groupName’ property instead. Gets the name of group which contains this power query formula.

getGroupName() : string;

getName()

@deprecated. Please use the ’name’ property instead. Gets and sets the name of the power query formula.

getName() : string;

setName(string)

@deprecated. Please use the ’name’ property instead. Gets and sets the name of the power query formula.

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getDescription()

@deprecated. Please use the ‘description’ property instead. Gets and sets the description of the power query formula.

getDescription() : string;

setDescription(string)

@deprecated. Please use the ‘description’ property instead. Gets and sets the description of the power query formula.

setDescription(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getPowerQueryFormulaItems()

@deprecated. Please use the ‘powerQueryFormulaItems’ property instead. Gets all items of power query formula.

getPowerQueryFormulaItems() : PowerQueryFormulaItemCollection;

Returns

PowerQueryFormulaItemCollection

getType()

Gets the type of power query formula.

getType() : PowerQueryFormulaType;

Returns

PowerQueryFormulaType

getFormulaDefinition()

Gets the definition of the parameter.

getFormulaDefinition() : string;