cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nikkum09
Frequent Visitor

Is there Any way to automate power BI reports

Hi
I have power BI report server and I have done the report server configuration. Now to see the reports generally we do upload the reports and to sync with database. We are providing the credential and scheduling it.
All those thing we are doing it manually. Is there any way we can automate the manual steps.

 

Thanks

Nikkum

7 REPLIES 7
Super User IV
Super User IV

Re: Is there Any way to automate power BI reports

There is an API for the Service where you can do this kind of thing, not sure if there is an equivalent for Report Server.


---------------------------------------

Not the Power BI thought police...

I have NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

stretcharm Memorable Member
Memorable Member

Re: Is there Any way to automate power BI reports

sqldbawithabeard has some powershell to help

https://sqldbawithabeard.com/2018/08/21/deploying-to-a-power-bi-report-server-with-powershell/

 

Not tried them but looks useful.

nikkum09
Frequent Visitor

Re: Is there Any way to automate power BI reports

It worked for me.

nikkum09
Frequent Visitor

Re: Is there Any way to automate power BI reports

Solutions works fine till data source. But how to automate till auto schedule.

 

Thanks,

Nikkum

saykasku Resolver I
Resolver I

Re: Is there Any way to automate power BI reports

Hi,

 

what kind of database are you using as source?
If it's MS SQL Server u can do something like this:
1. Create .ps1 scripts to automate whings.

2. Create SQL Server Proxy Account with cmdExec perms.

3. Create Job

   a) create step with CmdExec type

   b) and use Proxy Account as executor

4. Create scheduler for job (it's your automatic execution)

 

I used this solution and it's working fine for me.

 

nikkum09
Frequent Visitor

Re: Is there Any way to automate power BI reports

Thanks for your response. I am using SQL 2017. Can you please send me the sample .ps1 script for PBIRS.

 

Thanks,

Nikkum

saykasku Resolver I
Resolver I

Re: Is there Any way to automate power BI reports

I can't but try to use script from link above and create job to schedule.

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors