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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
BrandedSaiyan
Advocate II
Advocate II

Turn Off a Refresh Schedule Using XMLA Endpoint?

Hello, 

I have a user group requesting that we turn on a refresh schedule in the service during quarter end reporting, with a water mark over the report showing the data isn't signed off on yet. Then they want a button on the report for when they are comfortable with the numbers that they can press that will both remove the watermark and turn off the refresh schedule. 

 

 

Can I accomplish this using a web URL button in combinatation with the XMLA endpoint? We are using premium capacity.

 

Thank you,

1 ACCEPTED SOLUTION

@BrandedSaiyan What I would recommend would be to use Power Automate to fire off a flow. You can call the REST API or use PowerShell as a task within the flow. You can tie a button to the flow using the Power Automate visual.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

@BrandedSaiyan You could use the REST API/Power BI PowerShell cmdlet.

Datasets - Update Refresh Schedule - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler can I allow the user who is consuming the report call the REST API endpoint through use of a button?

Thank you! We need to register our tenant still to make use of the API. 

@BrandedSaiyan What I would recommend would be to use Power Automate to fire off a flow. You can call the REST API or use PowerShell as a task within the flow. You can tie a button to the flow using the Power Automate visual.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler Thank you!! I think this work work. I'll implement this and let you know. I appreciate it very much!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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