Data
Explain why two dashboards disagree
Ask Merlin in #data why two dashboards show different numbers. You get the difference in how each one counts and the numbers on both sides, with the SQL.
@Merlin from now on, when someone in #data asks why two dashboards disagree, find the dbt models and queries behind each one and compare their filters, joins, time zones and definitions. Run both with read-only access and reply with what differs, the numbers on each side and the SQL. Don't change either dashboard or model, and when an analyst says which one is right, remember it for this channel.
- Starts whenSomeone asks
@Merlinin#datawhy two dashboards show different numbers for the same metric Merlin worksClaude Code or Codex compares the dbt models and queries behind each one, then runs both read-only in Databricks or Snowflake
- You getWhat differs (filters, joins, time zones or definitions) and the numbers on both sides, with the SQL
Tools
- Slack
- dbt
- Databricks
- Snowflake
Capabilities
- Integrations
- Memory
- Your agent's MCP
How it works
From two dashboards that disagree to the reason, with both numbers.
Mention
@Merlinin#datawith the two dashboards and the number that doesn't match.Claude Code or Codex finds the dbt models and queries behind each dashboard and compares their filters, joins, time zones and definitions. Then it runs both read-only.
The reply says what differs and gives the numbers on both sides, with the SQL. When an analyst says which one is right, Merlin remembers it for
#data.
Mention @Merlin in #data with the two dashboards and the number that doesn't match.
Claude Code or Codex finds the dbt models and queries behind each dashboard and compares their filters, joins, time zones and definitions. Then it runs both read-only.
The reply says what differs and gives the numbers on both sides, with the SQL. When an analyst says which one is right, Merlin remembers it for #data.
Acme
Channels
general
eng
product
support-eng
data
finance
it-help
legal
Direct messages
Merlin
Nora
Leo
data
24
Today
Nora11:20
@Merlin the Growth dashboard says 1,412 new paid workspaces in September. Finance's says 1,357. Why the gap?
Message #data
Before and after
Two numbers stop turning into a week of back and forth.
Without Merlin
An analyst opens both dashboards, digs out the SQL behind each and diffs them by hand.
- 01Get asked which number is right
- 02Open both dashboards
- 03Find the model behind each
- 04Diff the two queries
- 05Rerun each query
- 06Account for the gap row by row
- 07Ask Finance which one they report
- 08Explain the difference in #data
- 09Write the decision down
With Merlin
One mention gets the gap explained with the SQL, and the decision is remembered.
@Merlinin#dataWith both dashboardsCompares both definitions on the data team's Mac miniCodex with dbt and Databricks, read-only
- The difference and both numbersDecision saved to #data memory
Setup
Give your agent dbt and the warehouse, then ask in #data.
Set these up once and anyone in #data can ask why two numbers differ. Memory is optional; notes saved in a public channel like #data can inform runs across the workspace.
- 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
- 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 03Add dbt to your agentYour agent's MCPConnect the dbt MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 04Add Databricks or Snowflake to your agentYour agent's MCPConnect the Databricks or Snowflake MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 05Give the warehouse read-only accessYour agent's MCP
Sign the Databricks or Snowflake MCP server in with a role that can only read, so running both queries can't change a table.
- 06Turn on memoryOptionalMemoryMemory is off by default. When an owner or admin turns it on, every run gets the facts your team saves in public Slack channels. A private channel also keeps its own store for its members.
- 07Paste the setup promptGuidanceAn owner or admin sends the prompt below to @Merlin once, and it becomes workspace guidance for every future run.
Prompt
Tell Merlin how to explain a mismatch, once.
@Merlin from now on, when someone in #data asks why two dashboards disagree, find the dbt models and queries behind each one and compare their filters, joins, time zones and definitions. Run both with read-only access and reply with what differs, the numbers on each side and the SQL. Don't change either dashboard or model, and when an analyst says which one is right, remember it for this channel.
Once, when you paste it
- PromptYou paste the prompt to @Merlin
- GuidanceMerlin saves your rules as workspace guidance
Every time someone mentions Merlin in Slack
- IntegrationThe Slack app spots the mention
- RuntimeMerlin picks an available machine
- ContextThe run gathers context
- WorkClaude Code or Codex compares the two definitions
- SteeringYour team steers the work in the thread
- ResultMerlin replies with the difference and both numbers
Related use cases
More data tasks you can hand to Merlin.
- IntegrationsSkillsMemoryYour agent's MCP
Data
Answer a data question on agreed definitions
Ask Merlin for a number in #data and get it from your agreed dbt models instead of raw tables. The reply shows the SQL, the models used and the caveats.
@Merlinin#dataThe number with its SQL and caveats - IntegrationsMemoryYour agent's MCP
Data
Investigate a metric alert
Mention Merlin under a PostHog alert to learn whether a drop is real or broken tracking. It checks the breakdowns, flag changes and recent code before it answers.
@Merlinunder a PostHog alert in#dataThe likely cause in the alert thread - IntegrationsYour agent's MCP
Data
Document a table nobody understands
Ask Merlin in #data to explain a confusing table. It writes descriptions for the model and every column from the code and the data, and opens a pull request.
@Merlinin#dataA docs pull request linked in the thread
Bring your coding agents into the tools your team already uses.
Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.