title: How do I setup a Tableau alert for when a table contains data?
body: <p>I have a SQL query that usually results in zero records. Sometimes this query does show data and in those cases I need to send out an alert so that the responsible person can look at the table asap. Since there is normally not any data I am unable to "select a numeric axis" to create an alert. So far I've tried creating a calculated field: <code>IF ISNULL(ID) THEN 0 ELSE 1 END</code> and using that field as the numeric axis. Unfortunately, this did not resolve my issue. How can I setup this sort of alert in Tableau?</p>