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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
amal_01
Helper I
Helper I

Can I add a button that refreshes the data in power bi server

I have created client's project then published it.
Now The client want to  add a button that refreshes the data when he click on it . How can I do this?

Note : I know that I can setup a scheduled refresh but the client want a button 
Any Help?

2 ACCEPTED SOLUTIONS
uzuntasgokberk
Super User
Super User

Hello @amal_01 ,

Yes you can with Power Autome , it is possible. Use the visualizaion "Power Automate for Power BI" in Power BI Desktop. Edit the Power Automate for Power BI with instant click. You need configure which semantic model needs to be refreshed etc. 

 

Example video: Using Power Automate to Refresh Data In Power BI (youtube.com)

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

View solution in original post

Anonymous
Not applicable

Your solution is so great uzuntasgokberk 

Hi, @amal_01 

Here's the whole process of configuring a refresh through automate:

vjianpengmsft_0-1731378916446.png

Make sure that your current report already exists in your workspace:

vjianpengmsft_1-1731378946997.png

You need to configure the gateway connection for this semantic model:

vjianpengmsft_2-1731379134218.png

 

Open the report in Power BI desktop and add a Power Automate button:

 

vjianpengmsft_3-1731379157924.png

vjianpengmsft_4-1731379200703.png

vjianpengmsft_5-1731379232887.png

Publish the report with the Power Automate button to the workspace and replace the original report.

vjianpengmsft_6-1731379298296.png

Then, share the report with your users:

vjianpengmsft_7-1731379388826.png

Here's what your current users are experiencing:

vjianpengmsft_8-1731379486871.png

To solve the current problem, we first need to give the user permission to the semantic model:

vjianpengmsft_9-1731379748567.png

vjianpengmsft_10-1731379765577.png

Then go to Power Automate web and give this user permission:

vjianpengmsft_11-1731379866260.png

vjianpengmsft_12-1731379908107.png

Then your user successfully triggers a refresh of the dataset:

vjianpengmsft_13-1731379961882.png

vjianpengmsft_14-1731379975922.png

While you're fulfilling the demand for your users, Power BI limits the semantic model on a shared capacity to 8 scheduled semantic model refreshes per day due to the Power BI refresh limit.

Data refresh in Power BI - Power BI | Microsoft Learn

vjianpengmsft_15-1731380291701.png

Refresh fails after your user clicks the button more than 8 times. Of course, you have the option to upgrade to Premium capacity, which limits the number to 48.

 

 

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

6 REPLIES 6
Anonymous
Not applicable

Your solution is so great uzuntasgokberk 

Hi, @amal_01 

Here's the whole process of configuring a refresh through automate:

vjianpengmsft_0-1731378916446.png

Make sure that your current report already exists in your workspace:

vjianpengmsft_1-1731378946997.png

You need to configure the gateway connection for this semantic model:

vjianpengmsft_2-1731379134218.png

 

Open the report in Power BI desktop and add a Power Automate button:

 

vjianpengmsft_3-1731379157924.png

vjianpengmsft_4-1731379200703.png

vjianpengmsft_5-1731379232887.png

Publish the report with the Power Automate button to the workspace and replace the original report.

vjianpengmsft_6-1731379298296.png

Then, share the report with your users:

vjianpengmsft_7-1731379388826.png

Here's what your current users are experiencing:

vjianpengmsft_8-1731379486871.png

To solve the current problem, we first need to give the user permission to the semantic model:

vjianpengmsft_9-1731379748567.png

vjianpengmsft_10-1731379765577.png

Then go to Power Automate web and give this user permission:

vjianpengmsft_11-1731379866260.png

vjianpengmsft_12-1731379908107.png

Then your user successfully triggers a refresh of the dataset:

vjianpengmsft_13-1731379961882.png

vjianpengmsft_14-1731379975922.png

While you're fulfilling the demand for your users, Power BI limits the semantic model on a shared capacity to 8 scheduled semantic model refreshes per day due to the Power BI refresh limit.

Data refresh in Power BI - Power BI | Microsoft Learn

vjianpengmsft_15-1731380291701.png

Refresh fails after your user clicks the button more than 8 times. Of course, you have the option to upgrade to Premium capacity, which limits the number to 48.

 

 

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.

 

 

 

uzuntasgokberk
Super User
Super User

Hello @amal_01 ,

Yes you can with Power Autome , it is possible. Use the visualizaion "Power Automate for Power BI" in Power BI Desktop. Edit the Power Automate for Power BI with instant click. You need configure which semantic model needs to be refreshed etc. 

 

Example video: Using Power Automate to Refresh Data In Power BI (youtube.com)

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

@uzuntasgokberk 
I did these steps but when the client click on the button it does not work , it is just work  with me 

Hello @amal_01 ,

 

You need to give a permission to the client. You can give an access with Share or Run Only Users.

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

@uzuntasgokberk 
I already gave him permission 
added him in Run only users , also in Co-owners 
when he click on the button it show message unsuccessful
Any Idea ?

Hello @amal_01 ,

 

You're probably missing something. İt should be worked because I've been using this method.

What is your license mode in the workspace?

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.