Skip to main content
Version: 1.0 prerelease


class great_expectations.experimental.datasource.PowerBITable(*, name: str, type: Literal['powerbi_table'] = 'powerbi_table', 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, table: str, fully_qualified_columns: bool = False, num_rows: Optional[int] = None, multiindex_hierarchies: bool = False, mode: Literal['xmla', 'rest', 'onelake'] = 'xmla')#

Microsoft PowerBI Table.

add_batch_definition(name: str, partitioner: Optional[great_expectations.core.batch_definition.PartitionerT] = None) great_expectations.core.batch_definition.BatchDefinition#

Add a BatchDefinition to this DataAsset. BatchDefinition names must be unique within a DataAsset.

If the DataAsset is tied to a DataContext, the BatchDefinition will be persisted.

  • name (str) – Name of the new batch definition.

  • partitioner – Optional Partitioner to partition this BatchDefinition


The new batch definition.

Return type:


delete_batch_definition(batch_definition: great_expectations.core.batch_definition.BatchDefinition) None#

Delete a batch definition.


batch_definition (BatchDefinition) – BatchDefinition to delete.