Extension Power BI


Extension Basics

Title
Power BI
Name
ckanext-power-bi
Type
Public extension
Description
CKAN extension for Power BI integration, providing a resource view for embedding and viewing Power BI Reports with view-only permissions.
CKAN versions
Download-Url (zip)
Last commit
a month ago (2026-02-09 22:40:56)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

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

  1. Activate your CKAN virtual environment:

    . /usr/lib/ckan/default/bin/activate

  2. 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
    
  3. Add power_bi_view to the ckan.plugins setting in your CKAN config file.

  4. 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)

Version
0.0.1
Version release date
2025-08-25
Contact name
Open Government Canada
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Add ‘power_bi_view’ to ckan.plugins. Configure workspace_id (required). Uses Azure ManagedIdentityCredential for authentication.

Plugins to configure (ckan.ini)
power_bi_view
CKAN Settings (ckan.ini)
# ckanext.power_bi.workspace_id = <Power BI Workspace ID>
# ckanext.power_bi.org_name = myorg
# ckanext.power_bi.internal_i18n = False
# ckanext.power_bi.locales_offered = en es fr
# ckanext.power_bi.required_locales = en fr
DB migration to be executed
(not set)
<< back to Extensions