Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
528 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Monitoring Power BI data and adding an alert using Power Automate |
---|
You can set basic alerts in Power BI to send emails when your data exceeds a threshold. If you need more complex responses, actions other than email or to respond to more complex data changes, you can use Power Automate to achieve this. |
In this blog
Power BI has the facility to add email alerts to data presented in cards, gauges or KPIs pinned to dashboards when they reach a certain threshold.
If your data isn't only in a dashboard visual, you need to trigger more complex processes or you need to trigger the alert based on more complex criteria, you can use a Power Automate flow.
I want to set an alert on the underlying production cost of the Jackdaw toy if it exceeds a specified threshold.
From within Power Automate create a new flow by selecting New flow | Scheduled cloud flow.
We want a Scheduled cloud flow so that our data will be continually monitored.
Name the flow and set the schedule for your data checks.
You can schedule checks to take place from seconds to months.
Add an action and search for Run a query against a dataset.
If you don't know the exact action name, you can search for Power BI but don't expect it to be the first option returned.
Configure the action by setting the Workspace, Dataset and Query text to return the values you want to monitor.
You will need a DAX query to filter the data to return the row that contains the data you want to test.
Add an action and search for Control and choose the Condition action
This action will allow you to test whether the production cost has exceeded a specified threshold.
Choose fx to write the expression to return the ProductionCost field that contains the value you need to test.
The left-hand side is the value you want to test and the right-hand side is the threshold value to trigger your next action.
Add the expression that returns the value you want to test.
You have to name several levels before you get down to ProductionCost.
If you run your flow before you add your condition you can view the JSON output from your Run a query against a dataset action to help you find the level that your field sits at.
Choose the correct operator and set the threshold.
This will trigger the next action if the cost of the product rises above 7.65.
Add a Send an email action inside the True part of the Condition and configure it.
If you want to include the current production cost value, copy the expression from the Condition action.
Update the underlying data so that it exceeds the threshold and Save and Test the flow.
You should receive an email alerting you that the production cost has been exceeded.
You can add any number of actions to take place when a data threshold is breached including updating tables, sending teams alerts, triggering other flows to run.
Some other pages relevant to the above blog include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2025. All Rights Reserved.