A scenario for a data engineer · Principal and up
Two dashboards, two numbers
Chief · Your manager
Tuesday, 09:00
Two Databricks dashboards disagree: Sales reports 41,000 active customers and Finance reports 38,500. Both are right by their own definition, and the board has asked which one is true.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Agree one definition with both teams, define it once as a metric view, and have both dashboards read it.
One number, with one owner. A new dashboard gets the same answer without copying any logic.
Why
A number that matters should be defined in one governed place, not in every dashboard's query. Metric views in Unity Catalog hold the measures and dimensions once, and every tool that queries them gets the same result.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Keep both, and label each dashboard with the definition it uses.
- Honest, and the board still gets two numbers. Soon a third team adds a third.
- A poor call. Tell both teams to use the Sales number, since it is higher.
- Finance keeps its own query in a spreadsheet. There are still two numbers, and one of them is now hidden.
Go deeper on brickster.ai
- Metric Views: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Drill data quality in PracticeShort questions with the reason after each answer.
More scenarios
- Gold has orders with no customer · data engineer
- An order for minus three items · data engineer
- The primary key did not stop the duplicates · data engineer
- All 47 scenarios
Had one like this at work? Send it to us: the best tickets come from real incidents.
Checked against the Databricks documentation on . brickster.ai is independent and is not affiliated with Databricks.