Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
yasyasyas
New Member

how to update a power bi report automatically on the server

Hello !

 I'm working on a power bi report from a view. I connect to the postgreSQL database to retrieve it. I filed my report on the power bi server. How to refresh it automatically on the server please.

 

Thanks 

2 ACCEPTED SOLUTIONS
tmhalila
Resolver II
Resolver II

Hello, 

You need to follow these few steps:-

  • Hover over your report and click the three dots to open the menu.
  • Select Manage which is the last option.
  • From the left choose Data Sources.
  • Log into the data source by filling in Authentication Type which for me we are using Basic Authentication.
  • Enter your Username and Password then test the connection and Save ... these credentials are the same you used in connecting your Power BI report and the source (Database).
  • Go back to the left menu and select Scheduled Refresh then add New Scheduled Refresh Plan based on the  time you want.

View solution in original post

v-jianpeng-msft
Community Support
Community Support

Thank you tmhalila 

Hi, @yasyasyas 

First, I created a PowerBI report using postgresql and uploaded it to the Power BI report server, then you need to configure the schedule refresh by following these steps

1. To configure a datasource connection for your report, you need to install this Npgsql connector below:

vjianpengmsft_0-1725612292009.png

I tried Npgsql 4.0.10.0 and 4.0.9.0 and I was able to successfully configure the data source connection at 4.0.9.0:
After you have installed Npgsql, you need to restart your Report Server instance in Report Server configuration management.

Releases · npgsql/npgsql (github.com)

vjianpengmsft_1-1725612333745.png

vjianpengmsft_2-1725612341711.png

2. Next we configure a scheduled refresh:

vjianpengmsft_3-1725612373439.png

At this point, you need to start the SQL server agent:

vjianpengmsft_4-1725612390780.png

vjianpengmsft_5-1725612397016.png

We can run this schedule refresh manually or automatically when you set the time:

vjianpengmsft_6-1725612429985.png

vjianpengmsft_8-1725612467915.png

 

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jianpeng-msft
Community Support
Community Support

Thank you tmhalila 

Hi, @yasyasyas 

First, I created a PowerBI report using postgresql and uploaded it to the Power BI report server, then you need to configure the schedule refresh by following these steps

1. To configure a datasource connection for your report, you need to install this Npgsql connector below:

vjianpengmsft_0-1725612292009.png

I tried Npgsql 4.0.10.0 and 4.0.9.0 and I was able to successfully configure the data source connection at 4.0.9.0:
After you have installed Npgsql, you need to restart your Report Server instance in Report Server configuration management.

Releases · npgsql/npgsql (github.com)

vjianpengmsft_1-1725612333745.png

vjianpengmsft_2-1725612341711.png

2. Next we configure a scheduled refresh:

vjianpengmsft_3-1725612373439.png

At this point, you need to start the SQL server agent:

vjianpengmsft_4-1725612390780.png

vjianpengmsft_5-1725612397016.png

We can run this schedule refresh manually or automatically when you set the time:

vjianpengmsft_6-1725612429985.png

vjianpengmsft_8-1725612467915.png

 

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

tmhalila
Resolver II
Resolver II

Hello, 

You need to follow these few steps:-

  • Hover over your report and click the three dots to open the menu.
  • Select Manage which is the last option.
  • From the left choose Data Sources.
  • Log into the data source by filling in Authentication Type which for me we are using Basic Authentication.
  • Enter your Username and Password then test the connection and Save ... these credentials are the same you used in connecting your Power BI report and the source (Database).
  • Go back to the left menu and select Scheduled Refresh then add New Scheduled Refresh Plan based on the  time you want.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.