This article will help you learn about the fields available in the Email File Size History - Daily view, the field types, descriptions and how the fields are calculated
Key Topics
Click on the links below to take you to the section where you can learn more about this View and where it is used and how it is created
View Definition
This view is created as a real-time query that runs within Looker against the database and has the following fields available/visible for use:
Field Name | Field Type | Description | Source / Calculation |
File Size Date | Filter | Date calculating the notifications file size | Date entered retrieves all the members that were in the email/SMS platform on or before the entered date |
Domain Name Group | Dimension | The Domain Group: Gmail, Yahoo, hotmail/msn/outlook/live as Microsoft, me/mac/icloud as Apple, Comcast, AOL | CASE WHEN TRIM(SUBSTRING(email, POSITION('@' IN email)+1, POSITION('.' IN SUBSTRING(email, POSITION('@' IN email)+1, LENGTH(email))))) IN ('gmail.','googlemail.') THEN 'gmail' WHEN TRIM(SUBSTRING(email, POSITION('@' IN email)+1, POSITION('.' IN SUBSTRING(email, POSITION('@' IN email)+1, LENGTH(email))))) IN ('yahoo.') THEN 'yahoo' WHEN TRIM(SUBSTRING(email, POSITION('@' IN email)+1, POSITION('.' IN SUBSTRING(email, POSITION('@' IN email)+1, LENGTH(email))))) IN ('hotmail.','msn.','outlook.','live.') THEN 'microsoft' WHEN TRIM(SUBSTRING(email, POSITION('@' IN email)+1, POSITION('.' IN SUBSTRING(email, POSITION('@' IN email)+1, LENGTH(email))))) IN ('aol.','aim.') THEN 'aol' WHEN TRIM(SUBSTRING(email, POSITION('@' IN email)+1, POSITION('.' IN SUBSTRING(email, POSITION('@' IN email)+1, LENGTH(email))))) = 'qq.' THEN 'qq' WHEN TRIM(SUBSTRING(email, POSITION('@' IN email)+1, POSITION('.' IN SUBSTRING(email, POSITION('@' IN email)+1, LENGTH(email))))) = 'comcast.' THEN 'comcast' WHEN TRIM(SUBSTRING(email, POSITION('@' IN email)+1, POSITION('.' IN SUBSTRING(email, POSITION('@' IN email)+1, LENGTH(email))))) IN ('me.','mac.','icloud.') THEN 'apple' ELSE 'Other' END |
Notification Status | Dimension | Subscribed, unsubscribed, or pending | status |
Count Members | Measure | Count number of members | COUNT(DISTINCT contact_id)) |
Explores
This view is part of the following explores:
- Email File Size History - Daily
Transformation Code
This view is created within Looker as part of a Dynamic query which selects the following data from source tables to generate the final output from the query
and leverages the following joins