Extension Power BI


Extension Basics

Title
Power BI
Name
ckanext-power-bi
Type
Public extension
Description
CKAN Extentsion for Power BI itegration
CKAN versions
Download-Url (zip)
Last commit
4 months ago (2025-08-25 14:42:59)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

Tests

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:

  1. Activate your CKAN virtual environment, for example:

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

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

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

    “`

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-power-bi:

  1. Activate your CKAN virtual environment, for example:

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

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

4.

Plugins to configure (ckan.ini)
power_bi
CKAN Settings (ckan.ini)
# ckanext.power_bi.workspace_id = <Power BI Workspace ID>
# ckanext.power_bi.org_name = <Power BI / Azure Organization ID>
# ckanext.power_bi.internal_i18n = True
# 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