Skip to main content
Version: 1.4.0

PowerBIMeasure

Signature

class great_expectations.datasource.fluent.fabric.PowerBIMeasure(
*,
name: str,
type: Literal['powerbi_measure'] = 'powerbi_measure',
id: Optional[uuid.UUID] = None,
order_by: List[great_expectations.datasource.fluent.interfaces.Sorter] = None,
batch_metadata: Dict[str,
Any] = None,
batch_definitions: List[great_expectations.core.batch_definition.BatchDefinition] = None,
measure: Union[str,
List[str]],
groupby_columns: Optional[List[str]] = None,
filters: Optional[Dict[str,
List[str]]] = None,
fully_qualified_columns: Optional[bool] = None,
num_rows: Optional[int] = None,
use_xmla: bool = False
)

Microsoft PowerBI Measure.

Methods

delete_batch_definition

Signature

delete_batch_definition(
name: str
)None

Delete a batch definition.

Parameters

NameDescription

name (str)

Name of the BatchDefinition to delete.

get_batch_definition

Signature

get_batch_definition(
name: str
) → great_expectations.core.batch_definition.BatchDefinition

Get a batch definition.

Parameters

NameDescription

name (str)

Name of the BatchDefinition to get.

Raises

TypeDescription

KeyError

If the BatchDefinition does not exist.