Modules
1. GA4 Architecture
2. GTM Deep Dive
3. Server-Side GTM
4. BigQuery for Marketers
5. Event Taxonomy Design
6. Consent Mode v2
7. Meta CAPI Setup
8. Hubspot Architecture
9. CRM Data Modeling
10. n8n Workflows
11. Make.com Patterns
12. Technical SEO Fundamentals
13. Keyword Research Framework
14. Content Marketing Strategy
15. Marketing Attribution Models
16. Email Marketing Automation
17. Lead Scoring Models
18. Google Ads Campaign Structure
19. Programmatic SEO
20. Conversion Rate Optimization (CRO)
21. Marketing Mix Modeling (MMM)
22. Customer Data Platforms (CDP)
23. UTM Parameters & Campaign Tracking
24. A/B Testing & Statistical Significance
25. MarTech Stack Architecture
26. Zapier Automation Patterns
27. Looker Studio Dashboards
28. Schema Markup & Structured Data
29. Facebook Ads Pixel & Tracking
30. Marketing Analytics & KPIs
31. API Integrations for MarTech
32. Marketing P&L Fundamentals
33. P&L Component Details: Revenue, COGS & Marketing Expense
34. Managing the Marketing P&L
35. Measuring Marketing Effectiveness
36. Measuring Marketing ROI
37. Marketing Financial Planning & Budgeting
38. Improving Response Through Modeling & Analytics
39. Building a Marketing Financials Worksheet
40. What Marketing Automation Needs From Your Data
41. Integrating Financial & Marketing Information
42. Marketing Customer Information Management
43. Marketing Data Acquisition Strategies
44. Data Storage & Retrieval Architecture for Marketing
45. Data Warehouse Infrastructure for Marketing Automation
46. Marketing Data Access & Delivery Methods
47. Organizing Marketing Information for Self-Service
48. Building a Marketing Information Map
49. Using Information for Campaign Targeting
50. Using Information for Customer Segmentation
51. Direct Marketing Response Testing
52. Predictive Modeling for Marketing Campaigns
53. Optimizing Contact Strategy & Frequency
54. Strategic Marketing & Customer Lifecycle Planning
55. Cohort Analysis in Marketing
56. Funnel Analysis & Drop-off Diagnosis
57. Multi-Channel Funnel Reporting
58. BI Tool Comparison: Looker Studio vs Tableau vs Power BI
59. Web Analytics Fundamentals
60. Heatmap & Click Analysis Tools
61. Session Replay Tools
62. GA4 Explorations
63. Data Layer Design Patterns
64. First-Party Cookie Tracking
65. Cross-Domain Tracking
66. E-commerce Tracking in GA4
67. Meta Ads Campaign Structure
68. Programmatic Advertising Basics
69. Real-Time Bidding (RTB)
70. Demand-Side Platforms (DSPs)
71. Retargeting & Remarketing Strategy
72. TikTok Ads Fundamentals
73. LinkedIn Ads B2B Targeting
74. Amazon Ads Fundamentals
75. Google Shopping Ads
76. Ad Fraud Detection
77. Bid Strategy Optimization
78. Creative Testing & Ad Fatigue
79. Salesforce Marketing Cloud Basics
80. HubSpot Workflows Deep Dive
81. Drip Campaign Design Patterns
82. Customer Onboarding Automation
83. Churn Prediction Modeling
84. Win-Back Campaign Design
85. Loyalty Program Design
86. Referral Program Mechanics
87. Net Promoter Score (NPS)
88. Customer Health Scoring
89. Link Building Strategy
90. Local SEO Fundamentals
91. International SEO & Hreflang
92. Core Web Vitals Deep Dive for SEO
93. Featured Snippets & SERP Features
94. Topic Clusters vs. Content Silos
95. Content Gap Analysis
96. SEO Content Briefs
97. AI Search Optimization (LLM SEO)
98. Voice Search Optimization
99. GDPR & CCPA Marketing Compliance
100. The Cookieless Tracking Future
101. Data Clean Rooms
102. Consent Management Platforms (CMPs)
103. First-Party Data Strategy Deep Dive
104. Data Minimization in Marketing
105. Google Privacy Sandbox
106. Identity Resolution Deep Dive
107. Growth Loops vs. Funnels
108. The North Star Metric Framework
109. Pirate Metrics (AARRR)
110. Product-Led Growth (PLG)
111. Viral Coefficient & Referral Loops
112. Building an Experimentation Culture
113. Multi-Armed Bandit Algorithms for Optimization
114. Landing Page Optimization Framework
115. Pricing Page Optimization
116. Onboarding & Activation Metrics
117. MarTech Vendor Evaluation
118. Marketing Ops Team Structure
119. Campaign Management Workflow
120. Creative Asset Management (DAM)
121. Marketing Project Management
122. Agency vs In-House MarTech
123. The MarTech RFP Process
124. MarTech Stack ROI Audit
125. Email Deliverability Deep Dive
126. Email List Hygiene
127. Transactional vs. Marketing Email
128. Subject Line Optimization
129. Email Platform Comparison
130. SMS Marketing Strategy
131. Push Notification Strategy
132. Omnichannel Messaging Orchestration
133. Dunning Management for Failed Payments
134. Subscription Churn Analytics
135. XML Sitemap Optimization
136. Canonical Tags Deep Dive
137. Pagination SEO
138. JavaScript SEO & Rendering
139. SEO for Single-Page Applications
140. Site Migration SEO Checklist
141. Redirect Management & 404s
142. Crawl Budget Optimization
143. Log File Analysis for SEO
144. E-E-A-T & YMYL Content
145. GA4 vs. Adobe Analytics
146. BigQuery Cost Optimization
147. Looker Studio Calculated Fields Cookbook
148. Attribution Window Selection
149. View-Through vs. Click-Through Attribution
150. Geo-Lift Incrementality Testing
151. Marketing Mix Modeling Tools Comparison
152. Marketing Dashboard Best Practices
153. Executive Marketing Reporting
154. Marketing Data QA Processes
155. Lead Routing Rules
156. Lead-to-Opportunity Tracking
157. Sales & Marketing Alignment (SLA)
158. Account-Based Marketing (ABM) Strategy
159. Intent Data Providers
160. Sales Enablement Content
161. CRM Data Deduplication
162. Pipeline Velocity Metrics
163. RevOps Metrics Framework
164. Forecasting & Pipeline Coverage
165. Performance Max Deep Dive
166. YouTube Ads Strategy
167. Podcast Advertising
168. Connected TV (CTV) Advertising
169. Out-of-Home (OOH) Advertising Attribution
170. Affiliate Marketing Programs
171. Influencer Marketing Measurement
172. Native Advertising
173. Display Ads Creative Specs & Best Practices
174. Audio Ads & Spotify Ad Strategy
175. Brand Tracking & Awareness Measurement
176. Content Performance Scoring
177. Video Marketing Strategy
178. Podcast Marketing Strategy
179. User-Generated Content (UGC) Strategy
180. Community-Led Growth
181. Activation vs. Retention Tradeoffs
182. Expansion Revenue Strategy
183. Upsell & Cross-Sell Playbooks
184. Usage-Based Pricing Models
185. Cart Abandonment Recovery
186. Post-Purchase Marketing
187. Subscription Box Marketing
188. Marketplace Marketing: Amazon & Etsy
189. B2B E-commerce Marketing
190. CAN-SPAM Compliance
191. TCPA & SMS Marketing Compliance
192. Cookie Consent Banner UX
193. COPPA & Children's Privacy in Marketing
194. WCAG Accessibility for Marketing Sites
195. Segment vs. mParticle vs. RudderStack
196. Reverse ETL Deep Dive
197. Zapier vs. Workato vs. Tray.io
198. Marketing Data Governance Framework
199. Data Contracts for Marketing Teams
200. Braze vs. Iterable vs. Customer.io
201. Klaviyo Deep Dive
202. Marketo Deep Dive
203. Pardot (Salesforce Marketing Cloud Account Engagement) Deep Dive
204. MarTech Contract Negotiation
205. Localization Strategy for Marketing
206. Multi-Currency E-commerce Marketing
207. GDPR vs. Global Privacy Laws
208. Data Processing Agreements (DPAs)
209. Marketing Calendar Planning
210. Crisis Communication in Marketing
211. Marketing During a Rebrand
212. Freemium Conversion Optimization
213. KPI Metric Trees
214. Weekly Marketing Reporting Cadence
215. Search Ads 360 Basics
216. Microsoft Ads (Bing) Strategy
217. Pinterest Ads Strategy
218. Snapchat Ads Strategy
219. Reddit Ads Strategy
220. B2B Intent-Based Advertising
221. Marketing Attribution Vendor Comparison
222. Customer Journey Mapping
223. Voice of Customer (VoC) Programs
224. Competitive Intelligence for Marketing
Share Guide
MarTechQuick
Beginner

Looker Studio Calculated Fields Cookbook

10 min read

Learn
Quick Reading
Estimated 10 mins
Prereq
Foundational
No experience required
Interactive
Static Playbook
Static guide & reference tables

The gap between what your data source gives you and what the chart needs

Looker Studio's connectors — GA4, Google Ads, Sheets, BigQuery — hand you raw dimensions and metrics, but almost no report shows raw numbers unmodified. You need rates derived from two metrics, averages weighted by a third, and comparisons against a prior period. Calculated fields are formulas defined once (either on the data source, so they're reusable across every report using it, or scoped to a single chart) that compute a new field from existing ones using Looker Studio's formula language — a mix of arithmetic, aggregate functions, and a smaller set of string/date functions than a full spreadsheet, which is exactly why specific patterns come up over and over.

Blended conversion rate across mismatched sources

A "blended" rate — conversions from one source divided by sessions from another — is the single most requested calculated field in marketing reporting, and the one most likely to be built wrong. The trap is computing the ratio per-row before aggregation instead of letting Looker Studio aggregate the numerator and denominator separately and divide at render time. A calculated field written as conversions / sessions on a blended data source (one combining two connectors, e.g. GA4 and a CRM export) only works correctly if both metrics use the SUM aggregation and the join key between the two sources is clean — otherwise you get a per-row ratio that doesn't mean anything once summed across a table.

blended_conversion_rate.txt
text
Field name: Blended Conversion Rate
Formula:
  SUM(Conversions) / SUM(Sessions)

-- Applied to a blended data source joining GA4 (Sessions)
-- and CRM export (Conversions) on Date + UTM Campaign.
-- Using SUM() on both sides (not a per-row division first)
-- is what makes this correct when the table is grouped,
-- filtered, or has a date range control applied.

Never divide two raw fields without wrapping both in an aggregation

Conversions / Sessions without SUM() around each side will compute a row-level ratio before any grouping happens, and Looker Studio's default aggregation on the resulting calculated field (often SUM or AUTO) will then sum those per-row ratios — a number with no real meaning. Always decide explicitly whether a rate should aggregate its inputs first (SUM(a)/SUM(b)) or compute per-row and then average (AVG(a/b)); they produce different, both legitimate-looking, wrong-in-different-ways numbers if you pick the wrong one for the use case.

Weighted averages: don't let small samples skew the number

A simple AVG() of a rate column (like average conversion rate across campaigns) treats a campaign with 10 clicks the same as one with 100,000 — which is almost never what a stakeholder actually wants to see. A weighted average recomputes the rate from its underlying totals instead of averaging the rates themselves, which is the same "aggregate inputs, then divide" principle as the blended conversion rate above, applied to CPC, CTR, or ROAS.

weighted_average_cpc.txt
text
-- WRONG: averages the per-campaign CPC values equally,
-- regardless of spend or click volume
Field: Avg CPC (naive)
Formula: AVG(CPC)

-- RIGHT: weighted by actual clicks, via underlying totals
Field: Weighted Avg CPC
Formula: SUM(Cost) / SUM(Clicks)

Date comparisons without a second data source

Looker Studio's built-in date range comparison (comparing a metric against a prior period) works at the chart-control level, but calculated fields let you build custom comparison logic a standard chart control can't express — like a specific trailing-28-day-vs-prior-28-day delta that stays fixed regardless of what date range control a viewer selects, or a rolling classification of "this week vs. last week" for a scorecard.

period_over_period_delta.txt
text
Field name: Revenue Change %
Formula:
  (SUM(CASE WHEN Date BETWEEN
        DATE_SUB(CURRENT_DATE(), 28)
        AND CURRENT_DATE()
      THEN Revenue END)
   - SUM(CASE WHEN Date BETWEEN
        DATE_SUB(CURRENT_DATE(), 56)
        AND DATE_SUB(CURRENT_DATE(), 28)
      THEN Revenue END))
  / SUM(CASE WHEN Date BETWEEN
        DATE_SUB(CURRENT_DATE(), 56)
        AND DATE_SUB(CURRENT_DATE(), 28)
      THEN Revenue END)

-- Compares trailing 28 days to the prior 28 days, independent
-- of any date-range filter a viewer applies to the page.

Source-level fields beat chart-level fields for anything reused

A calculated field created on an individual chart only exists on that chart. The same formula created at the data source level (Resource > Manage added data sources > edit the source) becomes available to every chart and every report built on that source, and updates in one place if the logic ever needs to change. Build anything you expect to reuse — blended rates, weighted averages, channel groupings — at the source level from the start.

CASE statements for channel grouping and bucketing

Marketing reports constantly need custom groupings that don't exist in the raw data — collapsing twenty UTM source/medium combinations into five channel buckets, or bucketing order value into tiers for a distribution chart. CASE WHEN is the workhorse here, and it's worth building as a single reusable field rather than re-deriving the same groupings as filters on every chart.

channel_grouping.txt
text
Field name: Channel Group
Formula:
  CASE
    WHEN Medium = "cpc" THEN "Paid Search"
    WHEN Source = "facebook" OR Source = "instagram" THEN "Paid Social"
    WHEN Medium = "email" THEN "Email"
    WHEN Medium = "organic" THEN "Organic Search"
    WHEN Source = "(direct)" THEN "Direct"
    ELSE "Other"
  END

Common calculated field patterns at a glance

NeedFormula patternCommon mistake to avoid
Blended conversion rateSUM(a) / SUM(b)Dividing raw fields without aggregation wrappers
Weighted average cost metricSUM(cost) / SUM(volume)Using AVG() on a pre-computed rate column
Period-over-period deltaCASE WHEN date range THEN metric END, summed and diffedRelying on viewer-controlled date filter for a fixed comparison
Channel bucketingCASE WHEN source/medium THEN label ENDRe-deriving the same buckets separately on every chart
Reusable logicBuild at data-source level, not chart levelDuplicating formulas per-chart, drifting out of sync

What's next

Calculated fields make individual numbers correct; the next concern is whether the dashboard they feed is actually built for the person reading it. The dashboard best-practices module covers audience-appropriate design and avoiding vanity-metric layouts.

Next: Marketing Dashboard Best Practices →

I build these systems professionally.

Whether it's a RAG pipeline, analytics migration, or AI workflow — let's talk.

Need custom AI or MarTech setup? Let's build together.