r/analyticsengineering • u/Ok-Emotion-5586 • 16h ago
r/analyticsengineering • u/Syftkogtech • 3d ago
Where Boundaries Break: The Metric With Two Definitions
reddit.comStart with the metric that has two plausible definitions, because that's where the boundary actually gets tested. Average order value is a good one: revenue divided by orders, or revenue divided by distinct customers, and does the numerator net out refunds or not. Both are defensible. Neither is "the" answer until someone writes it down.
That's the real dividing line. Not who can type a join, but whether the number has one owner and one definition that both the SQL and the English resolve to.
The setup I'd argue for has three tiers, and each tier only holds up if the one below it is in place. Postgres syntax below, but the shape is the same anywhere.
**Tier 1: plain-English answers for the business.** Safe only if the language layer reads from a metric store, not from raw schema. A definitions table is enough to start:
```sql
create table metrics.definitions (
metric_name varchar,
owner varchar,
sql_body varchar,
grain varchar,
updated_at timestamp
);
insert into metrics.definitions values (
'average_order_value',
'finance',
'sum(net_revenue) / count(distinct order_id)',
'order',
current_timestamp
);
```
If a question can't be answered from a row in that table, the honest reply is "we don't have that metric yet," not a confident guess. That one rule kills most of the drift.
**Tier 2: read-only SQL for analysts.** They need the grain and the filters documented, not just the tables. Column names lie. `status` on an orders table might mean fulfilment state or payment state, and whoever writes the query has to know which. Write it down once instead of re-explaining it in every thread.
**Tier 3: engineers on base tables.** Full access, because they maintain the definitions and rebuild them when the source schema moves. Tiers 2 and 3 cost real time to run, but that's the cost of keeping tier 1 honest.
Where it falls apart, in my opinion, is skipping straight from "we have tables" to "we have a chat box." Natural language over raw schema doesn't fail loudly. It answers confidently using a join you never intended, and the person asking has no way to tell.
So, for anyone here running a semantic or metric layer: who owns the definitions, the data team, finance, or the business unit? And has that ownership held, or does the metric drift back to whoever asks loudest?
r/analyticsengineering • u/Inner-Big-8814 • 3d ago
How to design a Snowflake data warehouse for a retail business with multiple sources of data?
reddit.comr/analyticsengineering • u/Syftkogtech • 3d ago
A number that got acted on: who owns the definition?
The case worth pointing at isn't a dashboard that broke. It's a number that got acted on. One widely shared account describes a company that ran for three months on invented analytics, with a VP of sales making territory calls on data that didn't exist. The model wasn't the failure point. Nobody owned the definition of the metric it was answering with.
Before anyone trusts a plain-English answer about a number headed for a board deck, I'd want three things in place:
- A named owner per metric, and it's a person, not a tool. If "what counts as churn" is answered with "whatever the export says," there's no definition, only a habit.
- The baseline stated inside the answer. Margin against plan or last year, before or after returns. Utilization against billable hours or available hours. Reasonable people pick different baselines, which is why the answer has to say which one it used.
- A path back to the rows. If you can't walk from the sentence to the records behind it, the answer is a guess with good grammar.
My read is that orgs spend the budget on the model layer and staff the definition layer with whoever sits closest to the spreadsheet. It's backwards. Bigger models don't fix a bad semantic layer; they make the wrong answer more fluent.
For those supporting orgs with no data team: do you require a named metric owner before a self-serve plain-English tool goes live? And who holds that role when the person asking is also the person who owns the numbers?
r/analyticsengineering • u/DifficultChef8195 • 3d ago
10+ yrs in Power BI. Where do you actually pivot next: LLMs/RAG, Data Engineering, or AI automation on top of BI?
reddit.comr/analyticsengineering • u/Logical-Novel4483 • 4d ago
Participate in a Databricks User Study
đ Hi r/analyticsengineering, I'm Connie from the Databricks UX research team!
We are conducting a user study to understand how data practitioners and business users build, use, and oversee dashboards, reports, and other data artifacts in the agentic era. We'd love to connect with individuals who are regularly using AI assistants and agents in their data workflows.
Study details are as follows:
Topic: Agentic authoring experiences
Duration:Â 75-min remote session over Google Meet
Study date(s):Â Dec 1, 2026âonwards (rolling)
Compensation:Â "Thank You" gift card for the study session, if your company policy permits.
Please fill out the screener survey if youâre open to participating in a 75-min meeting in the upcoming week or so, or can connect me with a member of your team who may be the right fit. Completing this screener survey does not guarantee eligibility into the study.
Thank you for taking the time to help us build better product experiences!
Connie Yang
UX researcher, Databricks
r/analyticsengineering • u/AgentReddi • 4d ago
Data Engineer working alone: Should I stick with Microsoft or move towards a Modern Data Stack?
Translated by ChatGPT
I've been working as a Data Engineer for two months in a company with significant technical debt.
Some of our tools are almost 10 years behind, others are reaching end of support, and we currently have two BI tools. A previous migration project was never completed.
I'm the only Data Engineer, so I'll be responsible for the whole data stack.
Here's what I found during my audit:
- Around 12â15% of employees use our BI tools (roughly 150 users).
- Business requirements include weekly/monthly/yearly dashboards, automated reporting (email and shared folders), and ad hoc data extractions.
- We need a more reliable and scalable data platform.
I'm currently considering three options:
- Microsoft stack: SSIS + SQL Server + Power BI Service.
- Qlik stack: Talend + Qlik Sense + NPrinting.
- Modern Data Stack: Python + dbt + Clickhouse + Dragster
I'm leaning towards staying within the Microsoft ecosystem because it seems like the most realistic approach given our current environment and resources.
However, I'm concerned about investing too much time in SSIS and legacy technologies.
I also want to keep developing my skills and remain competitive in the Data Engineering job market.
A few questions:
- Is SSIS still worth investing in from a career perspective?
- How valuable is the combination of SSIS, SQL Server and Power BI on the current job market?
- Would you recommend introducing dbt, Airflow or other modern tools alongside Microsoft technologies?
- Have you ever been the only Data Engineer responsible for an entire company's data platform? How did you manage it?
I'm looking for practical feedback from people who have faced similar situations.
Thanks!
r/analyticsengineering • u/Yellowbeauty_27 • 5d ago
Trying to figure out how to navigate it
reddit.comr/analyticsengineering • u/random_event_721 • 6d ago
advice for sharpening my skills
I took a several months-long break from work. I haven't coded or looked at anything related to the industry, and I'm worried that my skills have atrophied. What resources (training, trainings, books, newsletters, etc.) would you recommend for me to brush up on my skills and any new developments in the industry? Thank you in advance!
r/analyticsengineering • u/paiky1995 • 6d ago
I mapped all 4 places to put enterprise context in Databricks Genie (exact file paths, precedence rules, and the MRR bug I caught)
I tested Genie One and Genie Code in the same Databricks workspace to figure out where enterprise context should live. I found out why it matters when a weekly brief skill quietly saved the wrong MRR formula.
Hereâs the sorting rule that worked for me.
- Company-wide definitions go in Genie Ontology
This includes Unity Catalog metric views, domains, Pages, and certified assets, plus context learned from dashboards, SQL query history (including dbt runs), and Genie Agents. Modeled and certified definitions take precedence over learned snippets. Unity Catalog permissions also apply to external agents connecting via system.ai.genie_one_mcp.
- Team and workspace rules go in instructions
Genie Code reads .assistant_workspace_instructions.md and .assistant_instructions.md and auto-discovers AGENTS.md and CLAUDE.md. Workspace instructions override user instructions by default. Quick Fix and Autocomplete skip instructions. Genie One chat uses /Workspace/.genie_workspace_instructions.md. The limit is 20,000 characters per file.
- Repeatable workflows go in skills
Write the playbook in SKILL.md using the open Agent Skills format. Personal skills live in /Users/<email>/.assistant/skills/. Shared skills live in /Workspace/.assistant/skills/ or registered Databricks Git folders. Use /skill in Genie One or u/skill in Genie Code.
- Personal preferences go in memory
Memory is private to each user. You can save a preference by saying âRemember thatâŚâ and Genie One cites it when used. Iâd review saved memories once a month.
The biggest gotcha I hit
I asked Genie One to build a monday-brief skill in a shared workspace. It copied an MRR formula from another demo and saved the SQL in SKILL.md. It skipped dividing annual plans by 12, used calendar quarters even though our fiscal year started February 1, and counted plan upgrades as churn. Every Monday brief would have reused those mistakes.
The fix was to keep the workflow steps in SKILL.md and have the skill look up the KPI definitions in Genie Ontology each time it runs.
The full walkthrough includes diagrams, debugging and governance checks, comparisons with RAG, dbt, Palantir, Snowflake, and Glean, and an eight-step rollout checklist.
The GitHub starter kit has copy-paste templates. You can clone it as a Databricks Git folder and register the skills/ folder directly.
https://github.com/Praneeth16/databricks-genie-enterprise-context-kit
I work at Databricks. These are my own opinions, and all example data is fictional.
r/analyticsengineering • u/WiseWeird6306 • 7d ago
How to know if we should build data components as a code or use the available feature in Clause era?
Hi to all data folks and developers. In this era of LLM where everything can be build/configure as a code, what makes you decide if something should be build as a code or let's use the available components in the tech stack?
for example - we all use airflow and actual pipeline building tool to build the pipelines but the same thing can be constructed as a end to end code. norbooks can be orchestrated and configured how to run in code. So why would one choose to build it as a pipeline? (I personally feel we should use the pipelines cause why take the burden of the build when we have it?)
We ended up in this situation cause I guess maybe people in my team did not know how to build a little complex pipelines, fast so they might have ended up building things via script from Claude. - this is another question how do you manage these practices or what do you guys think about practice of building anything via Claude for fast delivery?
r/analyticsengineering • u/Common-Light-5010 • 7d ago
Seeking Supply Chain Professionals to Assist with Doctoral Research Field Test
reddit.comSeeking Supply Chain Professionals for Doctoral Research Interview Field Test ($50 Gift Card)
I am currently pursuing my Doctor of Business Administration (DBA) in Data Analytics at Grand Canyon University and am seeking supply chain professionals to assist with field testing my dissertation interview questions.
My research explores how mid-level supply chain managers address employee resistance when implementing AI, analytics, and other data-driven decision-making technologies.
You may qualify if you:
⢠Currently work in a U.S.-based supply chain management or supervisory role.
⢠Have at least six months of relevant mid-level management experience within the past five years.
⢠Have supervised employees during the implementation of data-driven technologies.
⢠Have experience addressing employee resistance or concerns during these changes.
Participation involves a virtual, one-on-one practice interview and providing feedback on the clarity and relevance of the interview questions.
This is a preliminary field test, not the formal dissertation study.
If you qualify or know someone who may qualify, please send me a private message. Referrals are also greatly appreciated.
Thank you for supporting my doctoral journey!
r/analyticsengineering • u/codingdecently • 9d ago
Enterprise Data Lakehouse for AI Agents: A Guide
r/analyticsengineering • u/Vivid_Frequentist617 • 10d ago
Resources or path to learn python for analytics engineering?
I really want to learn python for analytics engineering but I keep getting turned around on where to start, mostly interested in scripting and programming for data ingest and validation, but open to learning whatever is most helpful for this field
r/analyticsengineering • u/Abject-Schedule3832 • 10d ago
Experienced Power BI builders: how realistic is part-time freelance or consulting work with a domain-specific twist?
reddit.comr/analyticsengineering • u/WonderfulPepperino • 11d ago
What's the best embedded analytics platform for a multi-tenant SaaS
We're finally adding customer-facing analytics to our product instead of exporting CSVs for everyone. A few hundred customer accounts, each should only ever see their own data, and it needs to look like part of our app, not a bolted-on BI tool.
Would love yo hear what other people in the community are using in production
r/analyticsengineering • u/GoofyOnline • 15d ago
Purview Data Governance is being retired. If youâre on it, are you rethinking the program or just the tool?
r/analyticsengineering • u/Haan-wae • 15d ago
How do you actually find out about data quality problems? Before or after a stakeholder does?
reddit.comr/analyticsengineering • u/Any-Homework4133 • 16d ago
Vivanti Consulting Final Round for Senior Data Engineer
reddit.comr/analyticsengineering • u/Otherwise_Room2687 • 17d ago
Data science interview prep
reddit.comr/analyticsengineering • u/Brody-Vaughn-4 • 19d ago
How do you catch dbt descriptions that no longer match the SQL?
Someone added a filter to fct_orders that drops cancelled orders. The description still says "all orders". Nothing fails, the docs site looks fine and anyone reading the description would assume cancellations are in there. Right now the only check we have is someone noticing in review.
r/analyticsengineering • u/AbleBranch6 • 21d ago
power bi alternative: testing 5 open-source and code-first tools after getting tired of desktop .pbix files and Fabric license creep
For the past four years, our reporting ran almost entirely on Power BI. It did the job while our data team was small and stakeholders were happy receiving scheduled PDF exports and opening dashboard links inside Microsoft Teams.
Over the last 18 months, our engineering and analytics setup moved to Linux and Mac, our warehouse matured on Snowflake, and three specific friction points made Power BI painful to live with:
- The desktop-client bottleneck. Half our analytics engineers and product managers work on macOS or Linux. Power BI Desktop remains Windows-only. Having engineers spin up Windows VMs or cloud desktop instances simply to tweak a report or verify a measure felt absurd for a modern stack.
- Logic trapped in binary .pbix files. DAX measures, table relationships, and row-level security filters lived inside individual report files or workspace models. We could not run standard git pull request reviews on metric changes, track lineage across versions, or prevent two analysts from writing slightly different versions of the same retention calculation.
- License sprawl and the Fabric push. What started as $10/user/month Pro licenses steadily escalated with Premium-per-user upgrades, external viewer licensing constraints, and heavy pressure to commit to Microsoft Fabric capacity (F64+) just to access basic direct lake and copilot features.
and thing is that we spent the past month evaluating five open-source and code-first tools to replace Power BI. We wanted an architecture where metric logic lives in version-controlled code, dashboards run cross-platform in the browser, and numbers can be queried both by BI tools and by downstream applications or AI agents; here is the breakdown of our test setup, the comparison matrix, and where each option landed.
The Comparison Matrix
| Evaluation Dimension | Power BI (Baseline) | Apache Superset | Metabase (OSS) | Lightdash | Evidence.dev | Cube (Cube Core OSS) |
|---|---|---|---|---|---|---|
| Primary Mental Model | Desktop-first drag-and-drop report builder | Open-source web-based dashboard platform | Fast self-serve query builder and dashboards | dbt-native BI built directly on dbt models | Code-based reporting in Markdown + SQL | Headless semantic layer + open data APIs and web UI |
| Metric & Logic Storage | Proprietary DAX in .pbix files or Fabric semantic models | Virtual datasets and SQL Lab queries (stored in metadata DB) | Questions and Model objects in application database | Defined as metrics in dbt schema YAML files | SQL queries embedded in Markdown files | Code-first YAML/JS models in Git repositories |
| Git / PR Workflow | Difficult; Git integration requires Fabric / PBIP format | Rudimentary; requires export/import scripts or API sync | Serialization via YAML requires paid Enterprise plan | Native; metric definitions live inside your dbt repo | Native; entire project is markdown and SQL in Git | Native; repository-first with standard branch & PR workflows |
| Cross-Platform Access | Windows-only desktop client for authoring | 100% browser-based authoring and consumption | 100% browser-based authoring and consumption | 100% browser-based authoring | Browser-based, CLI local server on Mac/Linux/Win | Browser-based, CLI local server on Mac/Linux/Win |
| Downstream & API Access | Closed; XMLA endpoints require Premium capacity | REST API for metadata; chart data exportable | REST API (returns card query results) | Query API through dbt Cloud / Lightdash CLI | Static site export; not an API service | Universal SQL API (Postgres protocol) + REST/GraphQL APIs |
| AI / Agent Readiness | Copilot locked behind Fabric capacity commitments | Community AI plugins; mostly text-to-SQL over raw schemas | Metabot assistant; generates queries over Metabase models | AI chat grounded in dbt metric definitions | LLMs can generate Markdown/SQL files | Native remote MCP server and semantic layer context |
| Biggest Trade-off / Gotcha | Windows lock-in, proprietary DAX, per-seat licensing | Heavy Docker setup, permission model can get complex | Metric governance is light; joins duplicate easily | Requires dbt for everything; not independent | No ad-hoc drag-and-drop for non-technical users | You have to model data in YAML before building charts |
What We Learned Testing Each Option
- Apache Superset: Great for rich charting, heavy on operational maintenance
If your primary goal is finding an open-source tool that matches Power BI's extensive chart variety, Superset is the closest visual equivalent. It handles complex dashboards, geospatial visualizations, and slice-and-dice exploration without per-seat licensing.
* Where it worked: Solid out-of-the-box dashboards, zero Windows dependencies, and strong community support.
* Where it pinched: The permission system is intricate and requires careful role configuration. While Superset has virtual datasets, business logic still ends up scattered across ad-hoc SQL snippets in different charts rather than sitting in a centralized semantic layer.
2. Metabase: Unmatched for rapid self-serve, but lighter on modeling governance
Metabase remains the fastest tool for getting non-technical team members exploring data. The graphical query builder allows sales and product managers to ask questions without writing SQL.
* Where it worked: Onboarding takes less than an afternoon. Anyone comfortable with Excel filters can build their own cards immediately.
* Where it pinched: Metric logic is stored in Metabase's application database rather than in code. Version control via YAML requires higher-tier licensing, and managing row-level security across multi-tenant departments required duplicating questions once our role hierarchies became complex.
3. Lightdash: Ideal if your team is already 100% committed to dbt
Lightdash takes a dbt-first stance: your dbt project is your single source of truth, and Lightdash auto-generates your BI layer from your dbt schema YAML files.
* Where it worked: All metric definitions live in Git pull requests alongside transformation models. Clean versioning and developer workflow.
* Where it pinched: If an analysis doesn't fit your pre-compiled dbt DAG, you cannot easily explore it on the fly. You also cannot point other non-Lightdash tools or customer-facing apps at its metric engine without going through their specific query layers.
4. Evidence.dev: Excellent for data engineers, foreign to drag-and-drop business users
Evidence replaces traditional BI dashboards with code-generated analytical markdown documents. You write SQL queries in fenced blocks and render charts with declarative tags.
* Where it worked: Code-driven, fast static rendering, and versioned cleanly in Git. Our analytics engineers liked the developer experience.
* Where it pinched: It is fundamentally a publishing tool for analysts, not an ad-hoc exploration tool for business stakeholders. If a VP wants to drag a dimension into a pivot table on Friday afternoon, Evidence won't serve that workflow.
5. Cube dev and decoupling the metric layer from the visualization
We tested Cube Core as an open-source semantic layer sitting between Snowflake and our visualization tools. Instead of defining metrics inside each dashboard tool, we defined cubes, dimensions, joins, and measures in YAML files stored in our git repository.
* Where it worked:
- Universal consumption: We can connect Superset or Metabase to Cube's SQL API (which speaks the Postgres protocol). Both tools query the exact same governed metric definitions, so nobody argues over differing numbers.
- Performance and caching: Cube's pre-aggregation engine stores partitioned rollups, serving repetitive dashboard filter changes in sub-second response times without triggering live warehouse compute on every query.
- Multi-surface readiness: Because Cube provides REST, GraphQL, and remote MCP endpoints on top of the same model, our engineers can build embedded customer portal widgets and point LLM agents at governed measures without re-implementing business logic.
* Where it pinched:
- Upfront data modeling investment: Unlike Power BI where you can drag raw tables and click auto-detect relationships, Cube requires explicit modeling of join paths and primary keys in code. If your underlying schema has messy foreign keys, you must resolve them before metrics compile.
- Dashboard building requires picking a front-end: While Cube provides built-in workbooks and web exploration, teams wanting traditional heavy dashboards typically pair it with an open-source visualizer like Superset or custom React components.
---
so how we decided to structure our stack
Rather than trading one monolithic vendor for another single closed tool, we settled on a two-tier decoupled architecture:
- Semantic & Governance Tier: We use Cube Core as our open-source metric layer. All calculations (such as gross retention, ARR, and active seats), join topologies, and role-based access rules are written in code, reviewed in pull requests, and versioned in Git.
- Consumption & Visualization Tier: For internal exploratory dashboards and operations teams, we point open-source Superset at Cube's SQL API. For our engineering team's customer-facing portal and agentic workflows, we query Cube's data APIs directly.
as for questions! for analytics engineers who migrated off Power BI:
- Did you replace it with an all-in-one platform like Superset or Metabase, or did you decouple the semantic layer from visualization?
- How did your analysts adapt to modeling metrics in Git and YAML instead of writing DAX formulas in desktop files?
r/analyticsengineering • u/Due-Card-7808 • 21d ago
AI agent/skill hidden gems
Hey everyone,
Whatâs an AI agent or skill you built or found that helped you doing you AE work? Trying to find new creative ways to help me.
Even if itâs a silly thing i would love to hear it and how youâre using it
r/analyticsengineering • u/WiseWeird6306 • 22d ago
If every bit of code is not build by AI, how much importance should be given how things are build, in data side of things?
I agree that scalable processes depend on good engineering practices. But LLMs can now write clean, efficient code from plain-English instructions. You can tell them to follow best practices, and they can use what they know about each tool to do it.
If that holds, the whole workflow can be generated and controlled through code written from simple prompts. That includes building pipelines, curating data, and creating reports, even app-based ones.
So Iâd like to hear from people doing this work every day:
- Is it still worth learning how things happen under the hood
- Should we understand the code an LLM generates for a pipeline or an app-based report, or is it enough to review the output?