{
  "kind": "workbook",
  "sample": "/agents/tableau-calculations-to-dbt-models/sample.twbx",
  "question": "Which formula belongs at row grain, and which is an aggregate?",
  "title": "Definitions before dbt",
  "prompt": "Separate row-level calculations from aggregate metrics.",
  "flowLabel": "Worked example · authored synthetic data",
  "dimension": "Region",
  "measure": "Revenue",
  "formula": "SUM([Revenue])",
  "definition": "Adjusted Revenue := [Revenue] * 0.9\nRegion Revenue := SUM([Adjusted Revenue])",
  "expected": [],
  "provenance": "Authored synthetic public sample; not customer data or host-integration proof"
}
