ckanext-power-bi
CKAN Extension for Power BI integration. This plugin provides a new Resource View called Power BI. This plugin is meant for viewing Power BI Reports only. All embed tokens are only generated with View permissions.
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 |
Installation
Activate your CKAN virtual environment:
. /usr/lib/ckan/default/bin/activate
Clone the source and install:
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
Add power_bi_view to the ckan.plugins setting in your CKAN config file.
Restart CKAN.
Config settings
ckanext.power_bi.workspace_id — The Power BI Workspace ID (a.k.a. Group ID). Required.
ckanext.power_bi.org_name — The Power BI / Azure Organization (tenant) name. Default: myorg
i18n Support
ckanext.power_bi.internal_i18n — Enable internal i18n support. Default: False
ckanext.power_bi.locales_offered — Offered Locales. Default: CKAN Core available locales
ckanext.power_bi.required_locales — Required Locales. Default: CKAN default locale
MSI Configuration
This plugin uses ManagedIdentityCredential (MSI) on a system level to authenticate with Azure.
License
MIT (Crown Copyright, Government of Canada, 2012-2024)