# PowerBIDataset

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset)

Create PowerBI engine from dataset ID and credential or token.

Use either the credential or a supplied token to authenticate.
If both are supplied the credential is used to generate a token.
The impersonated_user_name is the UPN of a user to be impersonated.
If the model is not RLS enabled, this will be ignored.

## Signature

```python
PowerBIDataset()
```

## Extends

- `BaseModel`

## Properties

- `dataset_id`
- `table_names`
- `group_id`
- `credential`
- `token`
- `impersonated_user_name`
- `sample_rows_in_table_info`
- `schemas`
- `aiosession`
- `model_config`
- `request_url`
- `headers`
- `table_info`

## Methods

- [`validate_params()`](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset/validate_params)
- [`get_table_names()`](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset/get_table_names)
- [`get_schemas()`](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset/get_schemas)
- [`get_table_info()`](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset/get_table_info)
- [`aget_table_info()`](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset/aget_table_info)
- [`run()`](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset/run)
- [`arun()`](https://reference.langchain.com/python/langchain-community/utilities/powerbi/PowerBIDataset/arun)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/utilities/powerbi.py#L29)