Concept 7 of 15Unify and analyse

Calculated insights, streaming insights and semantic models

Calculated insights with SQL dimensions and measures, streaming insights over time windows, where insights are used, Tableau Semantics for governed metrics, and how to keep insights cheap and correct.

Your confidence:Not rated

Simple explanation

FeatureWhat it doesTypical use
Calculated insight (CI)SQL over DMOs producing dimensions and measures, refreshed on a scheduleLifetime value, order count, churn risk inputs
Streaming insightAggregates engagement over time windows as data arrives"3 failed logins in 10 minutes", "viewed product 5 times today"
Semantic models (Tableau Semantics)Governed business metrics and definitions shared by analytics and AIOne definition of "active customer" everywhere

Where insights go

  • Segments (filter on measures).
  • Data graphs and agent grounding.
  • Data actions and flows (streaming insight thresholds).
  • CRM (related lists, enrichment) and analytics.

Tips

  • Aggregate at the right grain (usually unified individual).
  • Use incremental logic where available; avoid scanning all history on every run.
  • Reuse CIs rather than duplicating SQL in many places.

Real-world analogy

Calculated insights are the monthly statement summarising your account; streaming insights are the fraud alert text that fires when something unusual happens right now.

Worked example

A subscription business creates a CI for 12-month revenue and days since last login per unified individual. A streaming insight counts cancellation-page visits in the last hour; when it reaches two, a data action alerts the retention team and the service agent offers help.

Diagram

Rendering diagram…

Key points

  • CIs: SQL dimensions and measures on a schedule.
  • Streaming insights: time-window aggregates in near real time.
  • Semantic models give one governed definition of metrics.
  • Insights feed segments, graphs, actions, CRM and analytics.
  • Design the grain and refresh with cost in mind.

Limits and gotchas

  • CI SQL has constraints (supported functions, required dimensions) βš‘ verify.
  • Frequent refreshes of heavy CIs drive credits.
  • Streaming insights work on engagement data with event times; late-arriving events need consideration.
  • Keep metric definitions in one place to avoid conflicting numbers.

🎀 How to say this in an interview

Distinguish batch CIs from streaming insights, give a use case for each, and mention semantic consistency and cost.

Common follow-ups

A marketer wants lifetime value updated every 15 minutes. What do you say?

Ask what decision needs that freshness; daily or hourly is usually enough. If needed, compute incrementally or use streaming insights for recent activity and a daily CI for history.

Why define metrics in a semantic model?

So dashboards, segments and agents use the same definitions and changes happen once.