This is a data action that includes:
- Reading the dashboard ID
- Getting each dashboard tile
- Running the query to get the data for each tile
- Inserting the data into each Excel tab based on the dashboard tiles.
- Sending Excel file through SMTP
- Checking each query to see if it has a table calculation or totals. The limit must be lowered to 100,000 rows if either of those are present.
- Comparing the tile filters and the dashboard filters. Tiles can have filters that aren't included on the dashboard.