cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nikkum09 Frequent Visitor
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.


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

stretcharm Senior Member
Senior 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
Frequent Visitor

Re: Is there Any way to automate power BI reports

It worked for me.

nikkum09 Frequent Visitor
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

Highlighted
saykasku Regular Visitor
Regular Visitor

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
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 Regular Visitor
Regular Visitor

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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!