Hi chin hong lai. VizAlerts cannot respect that setting because of the way CSV exports of vizzes work on Tableau Server. For any trigger viz that is a dashboard, the sheet that comes first alphabetically will be the data that it uses to determine whether the alert is triggered. Maybe there is a sheet on your dashboard whose data is hidden that is triggering the alert? You can test this quickly by simply navigating to the URL for your VizAlert and appending ?:format=csv to the end, like so:
When you downloaded the CSV, what fields did it have in it? What values? I get the impression that we're going to need some more information, ideally pictures or a twbx, to investigate this more.
Hi Matt Coles, the .csv file that i downloaded is empty. There is no data in it.
If there is data present, it would show as below:
However, during normal times, this worksheet will be empty, showing only the Title.
Do you think that the default Title is causing the trigger?
I have attached my workbook.
GP Paste Thickness (1).twbx 45.1 KB
1 of 1 people found this helpful
I think I understand what is going on here.... Matt Coles, please correct me if need be.
In VizAlerts we're using Tableau views to a) identify who gets alerts and b) the content of those alerts. So we need to be clear about what we're referring to and how they work, the two types of views are:
a) the VizAlerts trigger view (the Vizalert sheet in the workbook)
b) the content reference view(s) to be sent (the Alert sheet in the workbook)
VizAlerts will always send an alert based on the row(s) in the *trigger view*, and when it sends an alert it will include all the content references, empty or not. So in this case even though the Alerts sheet is blank there's a row in the trigger view and that's going to cause an email to be sent (with a blank content reference viz).
In order to prevent alerts from being sent when there is no data you need to configure the *trigger* view appropriately with filters...in this case you might be able to use a data blend, when I can't use a data blend then I'll do additional data preparation work so my trigger view can have the necessary field(s) to filter out when emails shouldn't be sent.