Use when you need a repeatable report, dashboard design, or executive-ready narrative.
Metric Discrepancy Investigation AI Prompt
This prompt helps turn business data into reports, dashboards, and reporting systems that support decisions. It is best used when you need a clear reporting structure, an audience-specific narrative, or a specification that can be handed to analysts, BI developers, or leadership. It emphasizes clarity, consistency, and usefulness over raw data dumps. It helps diagnose why two reports disagree on the same metric and how to align them.
Investigate why two reports are showing different values for the same metric: {{metric_name}}
Report A shows: {{value_a}} | Report B shows: {{value_b}} | Difference: {{difference}}
Systematically investigate each possible cause:
1. Definition differences:
- Is the metric formula identical in both reports?
- Are the same inclusion/exclusion filters applied?
- Are the same business rules applied (e.g. how refunds are treated)?
2. Date range differences:
- Are both reports using the same date range?
- Is one using event date and the other using processing date?
- Is one using UTC and the other using local time?
3. Data source differences:
- Do both reports pull from the same source table?
- If different sources, when were they last synced and could there be a lag?
4. Aggregation differences:
- Is one report double-counting rows due to joins?
- Is one report deduplicating differently?
5. Access differences:
- Does one report include data the other user doesn't have access to?
For each hypothesis: confirmed / ruled out / needs investigation.
Return: investigation log, root cause finding, and recommended fix to align both reports.When to use this prompt
Use when different audiences need different levels of detail from the same data.
Use when report quality, consistency, and clarity matter more than raw analysis output.
Use when you want a specification that can be handed off to BI, analytics, or leadership.
What the AI should return
The AI should return a clean reporting artifact with the requested structure, audience tone, and presentation logic. Metrics should be organized clearly, narrative sections should emphasize the main story, and any recommended actions should be concrete. The result should feel ready for a report, dashboard spec, email, or leadership update.
How to use this prompt
Open your data context
Load your dataset, notebook, or working environment so the AI can operate on the actual project context.
Copy the prompt text
Use the copy button above and paste the prompt into the AI assistant or prompt input area.
Review the output critically
Check whether the result matches your data, assumptions, and desired format before moving on.
Chain into the next prompt
Once you have the first result, continue deeper with related prompts in Reporting and Dashboards.
Frequently asked questions
What does the Metric Discrepancy Investigation prompt do?+
It gives you a structured reporting and dashboards starting point for business analyst work and helps you move faster without starting from a blank page.
Who is this prompt for?+
It is designed for business analyst workflows and marked as advanced, so it works well as a guided starting point for that level of experience.
What type of prompt is this?+
Metric Discrepancy Investigation is a single prompt. You can copy it as-is, adapt it, or use it as one step inside a larger workflow.
Can I use this outside MLJAR Studio?+
Yes. The prompt text works in other AI tools too, but MLJAR Studio is the best fit when you want local execution, visible Python code, and reusable notebooks.
What should I open next?+
Natural next steps from here are Anomaly Narrative Writer, Board-Level Report, Dashboard Specification.