PowerBIDax
class great_expectations.experimental.datasource.PowerBIDax(*, name: str, type: Literal['powerbi_dax'] = 'powerbi_dax', 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, dax_string: str)#
Microsoft PowerBI DAX.
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.
- Parameters:
name (str) – Name of the new batch definition.
partitioner – Optional Partitioner to partition this BatchDefinition
- Returns:
The new batch definition.
- Return type:
- delete_batch_definition(name: str)None #
Delete a batch definition.
- Parameters:
name (str) – Name of the BatchDefinition to delete.