In QuickSight Enterprise edition, you can email a report from each dashboard on a scheduled basis or based on a threshold set for KPI and gauge visuals. Scheduled reports include settings for when to send them, the contents to include, and who receives the email.
Scheduled email reports work with row-level security so that each user receives reports containing only data that is relevant to them. Alert reports include threshold value, alert condition, and the receiver’s email. To set up or change the report sent from a dashboard, make sure that you’re an owner or co-owner of the dashboard.
To receive email reports, the users or group members must be part of your QuickSight account. They must have completed the sign-up process to activate their subscription as QuickSight readers, authors, or admins.
In this post, we configure the email settings for a QuickSight dashboard for users and construct a custom email for each user or group based on their data permissions.
The solution includes the following high-level steps:
For this walkthrough, you should have the following prerequisites:
To configure scheduled emails for your reports, complete the following steps:
This option is displayed next to the user name of the dashboard owner.
A “Report scheduled” message briefly appears to confirm your entries.
The report is sent immediately, even if your schedule’s start date is in the future.
The following screenshot shows the PDF report visible to the user AlejandroRosalez
. They have access to data where the state is California or Texas, and the city is Los Angeles or Fort Worth.
The following screenshot shows the report visible to the user SaanviSarkar
. They can see data for any city, but only if the state is Texas.
The following screenshot shows the report visible to the user MarthaRivera
. Martha can see the data for any city or state.
The following screenshot shows that no data is visible to the workshop
user, which isn’t present in the permissions.csv
file.
To create an alert based on a threshold, complete the following steps:
For more information about viewing dashboards as a dashboard subscriber in QuickSight, see Exploring Dashboards.
The values that are available for this option are based on the values the dashboard author sets in the visual. For example, let’s say you have a KPI visual that shows a percent difference between two dates. Given that, you see two alert value options: percent difference and actual.
If the visual has only one value, you can’t change this option. It’s the current value and is displayed here so that you can use it as a reference while you choose a threshold. For example, if you’re setting an alert on actual, this value shows you what the current actual cost is (for example, $5). With this reference value, you can make more informed decisions while setting your threshold.
A message appears indicating that the alert has been saved. If your data crosses the threshold you set, you get a notification by email at the address that’s associated with your QuickSight account.
To view the history of when an alert was triggered, complete the following steps:
To configure emails alerts, if the your dataset refresh fails, complete the following steps:
To avoid incurring future charges, delete the QuickSight users and Enterprise account.
This post showed how to set up email scheduling of QuickSight dashboards for users and groups, as well as how end-users (readers) can configure alerts to be sent to them when a value surpasses or drops below a given threshold.
You can send dashboard snapshots as emails to groups of readers, and each reader receives custom reports as per the security configurations set on the dataset. For more information, see sending reports by email and threshold alerts.
You can try this solution for your own use cases. If you have comments or feedback, please leave them in the comments.