March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have recently answered a lot of forum posts about sending alerts to their contacts about KPI rules. I have read about it and found out it can't just be with Power BI alone. We will use free Power Automate components to build this. Let's see how the process is done.
The first thing we need is a tile in a dashboard pinned from a visualization in a report. Let's keep in mind that the only visualizations that allow alerts are gauges, KPIs and cards. In this example, we are pinning a card to a dashboard. Follow the arrows to go through.
There you have “Manage Alerts”.
We can configure the conditions clicking "+ add alert rule" and saving it. Let's open the alert again to check it has successfully created. Check the bottom hyperlink on the screen. Microsoft is showing a message that we can chain this behavior with an action with the Power Automate tool. In order to start Power Automate, click on the hyperlink:
From now on, the work is in Automate. The flow starts with a Power BI connection, in which we can pick up alerts created. In my case, the alert's name is "Alerta de Alerta".
In the email case, there are five different ways to do this. The difference is in the "From" sending the mail.
The configuration is straight forward except for the smtp option. You can use one or more of them in parallel. This post will pick the 5th email option. At the end, save the flow.
NOTE: Keep in mind that you can use the alert title in the body of the mail.
Now we are ready. Our contacts will receive an email each time the data is refreshed with the rule working. It's important to mention that all the components we have used in Automate are free. You don't need an additional license for this at the moment.
I hope you can alert your mates faster now!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.