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 / Refreshing Power BI ba...
Power Automate
Unanswered

Refreshing Power BI based on KPI Value

(0) ShareShare
ReportReport
Posted on by
Hello, 
 
I am trying to see if the flow I am attempting to build will work. What I want to happen is that my Power BI dataset refreshed at 9am, but since we have occasional data delays, I want the flow to check one of my KPIs. If the KPI equals zero, the dataset refreshes again. I want it to refresh until the KPI is greater than zero. Is something like this possible with power automate? Here's a little more detail, if needed: 
 
The data: So the KPI I want to "read" is daily sales for yesterday. If the data is ready, it will give me a value anywhere from 1K - 12K. If there is a delay, the KPI will be 0. 
 
Current Flow: So my current flow will take the PDF of the report refreshed at 9am, attach it to an email, and send it to a specific list of people. This works 90% of the time, but if there is a delay in data at 9am, then the report will send out with just zeros for sales. 
 
Goal: I want to create a flow that will "read" the Sales KPI and have the report refresh again if Sales were 0, but stop if they are greater than zero. I keep hitting deadends with this. 
 
Thanks in advance! 
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    1. Run a query against a dataset - check if the KPI  value is 0
    2. Initiate a dataset refresh request
    3. STAND BACK AND WAIT.  Dataset refresh requests are ASYNCHRONOUS!!!.  Implement  a polling (get refresh status) every five minutes or longer.
    4. Once the refresh has completed run the query again
    5. STAND BACK AND WAIT.  There is in point running these refreshes right after each other. Better have a trigger from the original data source that can tell you when it has been refreshed.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard