Edit

Share via


Create an alert in Power BI report

You can create alerts in Power BI reports to monitor changes in data values and receive notifications via email or Teams. Once your alert is ready, you can open it in Fabric Activator to refine it further with advanced capabilities like:

  • Setting more granular conditions
  • Integrating with Power Automate workflows
  • Expanding alert capabilities to meet specific business needs

This article describes how to access Power BI report alerts and refine those alerts in Activator.

Important

This article shows you how to create an alert in a Power BI report, not a dashboard. To learn how to set alerts on a dashboard, see Set alerts on a Power BI dashboard.

In Activator, an alert is referred to as a rule.

Prerequisites

Before you begin, make sure you have the following prerequisites:

  • Workspace access: A Microsoft Fabric workspace with enabled capacity
  • Report permissions: Edit access to a Power BI report published to your workspace
  • Tenant setting: The following setting is enabled: All Power BI users can see "Set alert" button to create Fabric Activator alerts

Create an alert for a report

First, see how to set an alert for a report by using the Set alert button on the ribbon for the report. When you use this option, it shows all the measures associated with the report. You use one of the measures to set an alert. Here are the detailed steps:

  1. Open your Power BI report in editing view in the Power BI service.

  2. Select Set alert button on the ribbon at the top. You see the Alerts pane to the right.

    Tip

    If you don't see the Set alert button on the ribbon, check the following:

    • Make sure you're in editing view, not reading view.
    • Your tenant admin must enable the setting: All Power BI users can see "Set alert" button to create Fabric Activator alerts. Contact your admin if you're unsure.
    • You must have Edit access to the report.
    • Your workspace must have a Fabric capacity enabled.

    Screenshot showing the Set Alert button on the ribbon or Add alert button in the Alerts window.

    If you already opened the Alerts window, select Add alert in the Alerts pane.

  3. To set the Fabric Activator item where you want to save the alerts, choose Select save location at the bottom of the Alerts pane.

    You might see an Activator item already associated with the alert at the bottom. An Activator item can have one or more alerts in it. You can use it to group a set of related alerts in one Fabric item. If you want to change the Activator item associated with the report, select the activator item and follow these steps. If you don't need to change the associated activator item, move on to the step after the next step where you select a measure from the list of measures.

    Screenshot showing the Alerts window with the link to change the location highlighted.

  4. On the Select the location of your alerts window, do these steps:

    1. For Workspace, select the workspace where you want to save the Activator item that will contain the alerts you're going to create.

    2. For Item, select Create a new activator item or select an existing activator item. The following screenshot shows the first option.

    3. If you select Create a new activator item, for Item name, enter a name for the activator item.

    4. Then, select Confirm.

      Screenshot showing the window where you can select the location for the activator item.

  5. In the Alerts pane, select +Add alert to get back to see all the measures associated with the report. Also, notice that the activator item you created in the previous step shows up at the bottom of the Alerts pane.

    Screenshot showing the Alerts window with the + Add alert button highlighted.

  6. From the list of available measures in the report to set up an alert, select the measure you want to use to set up the alert. As you select the measure, the associated visual is highlighted.

    Screenshot showing the Alerts window showing available measures in the report.

    In the following example, Average Gross Sales per Product is selected.

    Screenshot showing the Alerts window with the Average Gross Sales per Product measure selected.

  7. After you select the measure, you see the same user interface as you did when you set up the first alert. Follow the same steps to define a condition (select Changes or Becomes) and an action (send notification) for the second alert. Then, select Apply. Here's an example:

    Screenshot showing the Alerts window with the second alert definition.

  8. To minimize the second alert window, select at the top of it. The Alerts window shows the alert you created.

    Screenshot showing the Alerts window with both the alerts.

Create an alert for a visual in the report

In the previous example, you set up an alert by using the Set alert button on the ribbon at the report level. In this section, you learn how to set an alert at the visual level in a report.

  1. If the report isn't already open, launch your Power BI report in editing view.

  2. Close Alerts pane if it's already open. Choose a visual on the report to monitor. In the upper right corner of the visual, select the ellipses (...) > Add alert. You can also select the bell icon in the visual.

    Screenshot of sales by store in Power BI report.

  3. In the Alerts pane, at the bottom of the window, notice the Activator item associated with the alert at the bottom.

  4. You see two sections for the alert you're trying to create: Condition and Send notification with an action to take when the alert condition is met.

  5. In the Condition section, select one of the conditions: Changes or Becomes.

    • Select Changes, if you want the alert to trigger when the value changes, or changes by a certain amount or percentage, increases by a certain amount or percentage, or decreases by a certain amount or percentage.

      Screenshot showing the alerts window with Changes selected for the condition.

      In the following example, the alert triggers when the value increases by 10%.

      Screenshot showing an alert set up if the value increases by 10 percent.

    • Select Becomes, if you want the alert to trigger when the value is greater than, less than, equal to a specified value, or it's within or outside a range. If you select the range option, you need to enter the minimum and maximum values for the range.

      Screenshot showing the alerts window with Becomes selected for the condition.

  6. In the Send notification or Action section, follow these steps:

    1. For Via, select Teams or Email. The Teams option sends notifications to specified users via Teams, and the Email option sends notification via email.

      Screenshot showing the alert window showing the options for sending notifications.

    2. For Send to, specify users who need to be notified when the alert condition occurs.

      Screenshot showing the alert window showing send notification section.

    3. Select Apply.

    4. Confirm that you see 2 alerts on this report at the top of the Alerts window.

      Screenshot showing the alert message at the top showing the number of alerts in the report.

      Note

      In this example, you created an alert on the Gross Sales measure so that a Teams notification is sent to Testuser1 when the value increases by 10%.

      Power BI uses the filters in place at the time that you create your alert. Changing the filters on your visual after creating your alert has no effect on the alert logic. Select Show applied filters or the filter icon Small screenshot of the filter icon which has three horizontal lines. to see the filters on your visual.

Edit alerts in the Activator

  1. To open the Activator item, at the bottom of the Alerts window, select ellipsis (...), and then select Open in Activator.

    Screenshot showing the Alerts window with options to open the Activator item.

  2. The Activation window opens in a separate tab. You see the alerts you created in this Activator item. To make changes to conditions or actions of the rule (or alert), ensure that you're in the Edit mode.

    Screenshot showing the Activator window with both the alerts.

  3. Select an alert that you want to update.

    Important

    After you use the Activator user interface to update the alerts (or rules), you can't update them in the Power BI report user interface anymore.

    Screenshot showing the Gross Sales Alert definition.

  4. To stop the alert, use the Stop button on the ribbon.

    Screenshot showing the Stop button on the ribbon.

  5. In the Definition window to the right, make any changes you want. In this example, the value is increased from 10% to 15%. As soon as you modify the value, you see the following message. It asks you to confirm whether you want to upgrade to an advanced alert that you can edit only through the Activator user interface from now on. If you upgrade, you can't edit this rule in the Power BI report user interface anymore.

    Screenshot showing the upgrade window.

  6. Save the updated definition, or save and start the updated alert.

    Screenshot showing the Alert window showing the Save button.

    If you save the alert without starting it, you can start the alert later by using the Start button in the same window (Definition), or the Start button on the ribbon.

    Screenshot showing the Start button.

See alerts in Power BI

  1. Switch to the browser tab with the Power BI report open. Refresh the web browser page, and then select Set alert on the ribbon. Currently, it's the only way to see all alerts associated with the report.

    Screenshot showing the Set alert button on the ribbon of the Power BI report.

  2. In the Alerts window, close the Select a measure section.

    Screenshot showing the Measure section with the Close button highlighted.

  3. You see the alerts you created in the report.

    Screenshot showing the all alerts in the Alerts window.

  4. If you select the alert you modified in the Activator user interface, you see the message shown in the following image:

    Screenshot showing the Alerts window with an advanced alert that can be edited only in Activator.

  5. If you select the alert that you didn't modify in the Activator user interface, you can update conditions or notification actions in the Alerts window.

    Screenshot showing the Alerts window with an alert that can be edited in the Power BI user interface.

View Activator item in the workspace

You can see the Activator item with all the alerts you created in the workspace as shown in the following image. Select the item to open in an editor.

Screenshot showing Activator item in my workspace.

Limitations and considerations

  • If your visual has multiple series, Activator applies the alert rule to each series. In the example shown here, the visual shows sales per store, so the alert rule applies per store.
  • If your visual has a time axis, Activator uses the time axis in the alert logic. In the example shown here, the visual has a daily time axis, so Activator monitors sales per day. Activator checks each point on the time axis once. If the visual updates the value for a particular point in time after Activator checks it, Activator ignores the updated value.
  • You can create alerts on tables and matrix visuals. Activator applies the alert condition to each row in the table, or to each cell in the matrix. If your table or matrix has a column containing timestamps, Activator interprets that column as a time axis.
  • Activator uses the filters in place when you create your alert. Changing the filters on your visual after creating your alert has no effect on the alert logic. Select Show applied filters to see the filters on your visual.