The powerbi
utility is used to trigger a refresh of a PowerBI dataset. Usually this is run in a pipeline following a transformation (i.e. dbt) step that altered the data that PowerBI is connected to.
EDK Based Plugin
Getting Started
Prerequisites
If you haven't already, follow the initial steps of the Getting Started guide:
Installation and configuration
-
Add the powerbi utility to your
project using
:meltano add
-
Configure the powerbi
settings using
:meltano config
meltano add utility powerbi
meltano config powerbi set --interactive
Next steps
- Create a PowerBI Service Principal and retrieve your
tenant_id
,client_id
andclient_secret
. To generate such secret and allow it to deal with your instance, follow Azure documentation
If you run into any issues, learn how to get help.
Capabilities
This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!Settings
The
powerbi
settings that are known to Meltano are documented below. To quickly
find the setting you're looking for, click on any setting name from the list:
You can also list these settings using
with the meltano config
list
subcommand:
meltano config powerbi list
You can
override these settings or specify additional ones
in your meltano.yml
by adding the settings
key.
Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.
Client ID (CLIENT_ID)
-
Environment variable:
POWERBI_CLIENT_ID
PowerBI Service Principal Client ID
Configure this setting directly using the following Meltano command:
meltano config powerbi set CLIENT_ID [value]
Client Secret (CLIENT_SECRET)
-
Environment variable:
POWERBI_CLIENT_SECRET
PowerBI Service Principal Client Secret
Configure this setting directly using the following Meltano command:
meltano config powerbi set CLIENT_SECRET [value]
Dataset ID (DATASET_ID)
-
Environment variable:
POWERBI_DATASET_ID
ID of the dataset to refresh
Configure this setting directly using the following Meltano command:
meltano config powerbi set DATASET_ID [value]
Tenant ID (TENANT_ID)
-
Environment variable:
POWERBI_TENANT_ID
PowerBI Service Principal Tenant ID
Configure this setting directly using the following Meltano command:
meltano config powerbi set TENANT_ID [value]
Workspace ID (WORKSPACE_ID)
-
Environment variable:
POWERBI_WORKSPACE_ID
ID of the workspace containing the dataset to refresh
Configure this setting directly using the following Meltano command:
meltano config powerbi set WORKSPACE_ID [value]
Commands
The powerbi utility supports the following commands that can be used withmeltano invoke
:refresh
-
Equivalent to:
refresh
Refresh a PowerBI Dataset
meltano invoke powerbi:refresh [args...]
Something missing?
This page is generated from a YAML file that you can contribute changes to.
Edit it on GitHub!Looking for help?
#plugins-general
channel.