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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BrandedSaiyan
Advocate I
Advocate I

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.


@ 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!:
The Definitive Guide to Power Query (M)

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

 


@ 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!:
The Definitive Guide to Power Query (M)

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.


@ 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!:
The Definitive Guide to Power Query (M)

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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