Skip to main content

Power BI

Needs Votes

Import API for Templates with Parameters

Vote (41) Share
Alexander Boersch's profile image

Alexander Boersch on 01 Mar 2017 04:15:09

Create an endpoint that allows you to import a PowerBI Template (.pbit) while specifying templates at the same time.

E.g. I would like to publish a Report into a users account. The user has their own (filtered) Azure SQL View with a corresponding user and I can specify this view as a parameter.

Since I can ecify the connection string using the API if I could specify the view during import I would be done.

Comments (3)
Alexander Boersch's profile image Profile Picture

Miro Maraz on 19 May 2022 13:34:16

RE: Import API for Templates with Parameters

This is a must for any serious company using PowerBI to be able to automate deployment, especially when using Import storage mode and refresh. We want to use PBIT files that are checked into git repo to automate deployment, PBIX is not suited for this purpose.

Alexander Boersch's profile image Profile Picture

Trenton Tamura on 18 Jan 2022 19:16:22

RE: Import API for Templates with Parameters

I need this last year, how is this not upvoted more?

Alexander Boersch's profile image Profile Picture

Sau D on 04 Mar 2021 00:29:55

RE: Import API for Templates with Parameters

I need this yesterday. How are we going to automate the deployment of Power BI without this? We want to have a system where we add our PBIT to source control and CI/CD picks up the PBIT and deploys it to a Workspace.