Skip to main content
Version: 0.18.3

PowerBITable

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_configs: List[great_expectations.core.batch_config.BatchConfig] = 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_config(name: str) great_expectations.core.batch_config.BatchConfig#

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

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

Parameters:

name (str) – Name of the new batch config.

Returns:

The new batch config.

Return type:

BatchConfig

delete_batch_config(batch_config: great_expectations.core.batch_config.BatchConfig) None#

Delete a batch config.

Parameters:

batch_config (BatchConfig) – BatchConfig to delete.