disableComputeRatio()
Home > @gooddata/sdk-model > disableComputeRatio
disableComputeRatio() function
Disables compute ratio if set on a simple measure. Does not do anything for other measures.
Signature:
export declare function disableComputeRatio<T extends IAttributeOrMeasure>(item: T): T;
Parameters
Parameter | Type | Description |
---|---|---|
item | T | maybe a simple measure where compute ratio should be disabled |
Returns:
T
an instance of measure with compute ratio disabled