web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Want to trigger automa...
Power Automate
Unanswered

Want to trigger automated refresh for different Power bi datasets based on scheduled refresh failure.

(1) ShareShare
ReportReport
Posted on by 6

Hi,

We have different datasets and related workbooks in Power bi Service Workspace
Eg:

Dataset Name (Report name)
1. Sales Dataset (Sales Report)
2. Revenue Dataset (Revenue Report)
3. Orders Dataset. (Orders Report)
Whenever a scheduled refresh failed, we receive mail notification with following Subject.

Eg: 

Subject: Refresh failed: Sales Report

Reason for failure: Timeout error or .............

 

Subject: Refresh failed: Revenue Report

Reason for failure: ........................

.

.

.

.

I can create a different automated flows to trigger a refresh for dataset based on mail notification.

AshDil_0-1642497895878.png

 

But I want to create single flow which can trigger refresh for a dataset  that is failed. (i.e., the flow must be dynamic to trigger refresh for failed dataset)

Eg: If Sales dataset refresh failed, then that flow must trigger refresh for Sales dataset

If Revenue dataset refresh failed, then the same flow must trigger refresh for Revenue dataset................

 

Please help me to do it.

 

Thanks,

AshDil 

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @AshDil ,

     

    Could you please share more details about your scenario?

     

    As I can see, there is no action to retrieve the dataset id to use for the refresh action. So as the alternate, you need to create a variable and append a hardcoded dataset ID inside a Switch control based on the email subject, and use this variable in the refresh action, enter custom value of the Dataset.

    vjefferni_0-1642754295949.png

     

    You can get the dataset ID from the URL, check below blog:

    https://carldesouza.com/how-to-get-the-workspace-groupid-and-datasetid-from-the-url-in-power-bi/

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • scnutr Profile Picture
    3 on at

    How do you get the dataset group and id dynamically from the email? I'm currently stuck on this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard