
ckanext-power-bi
CKAN Extentsion for Power BI itegration. This plugin provides a new Resource View called Power BI. This plugin is meant for viewing Power BI Reports only. As such, all embed tokens are only generated with View permissions. This also means that the panes inside of the embedded reports will be limited to the View Only panes (exception for the Bookmarks pane, for any existing Report Bookmarks).
Requirements
Compatibility with core CKAN versions:
| CKAN version |
Compatible? |
| 2.6 and earlier |
Not tested |
| 2.7 |
Not tested |
| 2.8 |
Not tested |
| 2.9 |
Yes |
| 2.10 |
Yes |
| Python version |
Compatible? |
| 2.9 and earlier |
Yes |
| 3.0 and later |
Yes |
Installation
To install ckanext-power-bi:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Clone the source and install it on the virtualenv
git clone --branch main --single-branch https://github.com/open-data/ckanext-power-bi.git
cd ckanext-power-bi
pip install -e .
pip install -r requirements.txt (requirements-py2.txt for Python 2)
Add power_bi_view to the ckan.plugins setting in your CKAN
config file
Restart CKAN
Config settings
The Power BI Workspace ID (a.k.a. Group ID).
Required: True
Default: None
ckanext.power_bi.workspace_id = <Power BI Workspace ID>
The Power BI / Azure Organization (tennant) name. This option is more for future proofing the Power BI API endpoints within this code. Currently, the Power BI API does not support specific tennant/organization targeting.
Required: False
Default: myorg
“`