Power BI Interview Questions (DAX, Data Modeling, Scenarios) | OfferBull

Power BI Interview Questions (DAX, Data Modeling, Scenarios)
They share a report. West is selected on the slicer. The total at the bottom is not the sum of the visible rows. Then they ask you to walk them through why.
If you start listing DAX functions, you have not answered. They want the grain of the fact table, the path the filter took, and whether someone totaled a ratio that was already computed row by row.
That is what Power BI interview questions feel like. Star schema modeling, DAX context, and a stakeholder who does not care which function you memorized. This is a spoken question bank for a Power BI loop, not a generic analyst tour of SQL, Excel, and statistics. If they also sit you down at a SQL prompt, use how to prepare for SQL and database interviews. If the model is served from a warehouse, a light companion is Snowflake interview questions.
The answers below are illustrative. Practice them out loud. You will hear the slogans you lean on only when you have to say them to someone.
Data modeling and the star schema
I’d draw this before I write a measure. A fact table holds events at a declared grain: one row per order line, per day and store, per invoice, whatever the business actually records. Dimension tables describe the things you filter and group by: date, product, customer, store. Relationships are usually many-to-one from the fact to each dimension, and filters flow from the one side to the many side. That shape is a star schema, and it is the model Microsoft’s guidance starts from, because report visuals are already doing filter, group, and summarize.
Grain is the question hiding under “why is this total wrong?” If Sales is one row per order line, and someone related it to a target table that is one row per month and region, a visual at week level will mislead you unless you planned for that. I say the grain out loud before I defend a number.
Cardinality and filter direction come next. One-to-many is the usual case: one product, many sales rows. Both-direction, or bidirectional, filtering is optional on that relationship, and I treat it as a caution, not a default. It can be the right tool when a slicer on one dimension needs to filter another dimension through a fact, or through a bridge. It can also create ambiguous paths and slower queries. The old habit of “always make it both” is a myth I would not repeat. If I need both directions for one measure only, I would rather use CROSSFILTER in that measure than flip the model for every visual.
A snowflaked dimension in the source, such as Product to Subcategory to Category, is not automatically a good Power BI model. In the semantic model I usually flatten those attributes into one Product table so a hierarchy is easy to use and the filter path stays short. I might leave a snowflake in place if the tables are huge and already well used that way, but I’d say why, not treat it as the goal.
Date tables are the other modeling tell. For classic time-intelligence functions you want a real date table: one row per date, unique values, no blanks, no gaps, covering full years. Then you mark it as a date table. Role-playing dates, such as order date and ship date, usually mean two relationships to the same date table, one active and one inactive, and USERELATIONSHIP in the ship-date measure. I would not import two nearly identical date tables if one table and an inactive relationship will do.
A spoken diagnosis I’d rehearse: “This total is wrong, walk the relationships.”
“I’d start with the grain of the fact, then I’d follow the filter from the slicer. If Region sits on Store and the relationship is one-to-many toward Sales, West should filter sales rows and the measure should add only those rows. If the total doesn’t match the rows, I look for a many-to-many that is double-counting, an inactive relationship the visual isn’t using, a bidirectional path I didn’t expect, or a measure that isn’t really a sum. I wouldn’t start by rewriting the visual theme.”
-- Ship date is the inactive relationship to the same date table
Sales by Ship Date =
CALCULATE(
[Sales Amount],
USERELATIONSHIP(Sales[ShipDateKey], 'Date'[DateKey])
)
I’d talk through why the active relationship stays on order date, and why this measure opts into ship date only when the question needs it.
The star I’d draw first: one fact, four dimensions, filters flowing inward.
DAX: context, CALCULATE, and measures versus columns
DAX interviews are less about the function list than about context. Row context is “the current row,” which is how a calculated column is evaluated, and how an iterator such as SUMX steps through a table. Filter context is the set of filters coming from visuals, slicers, relationships, and the DAX you write. Measures evaluate in filter context. The confusion starts when you need one to become the other.
CALCULATE is the function that evaluates an expression in a modified filter context. If a column is already filtered, a new filter on that column in CALCULATE replaces it, unless you wrap the filter in KEEPFILTERS. Used with no extra filters, CALCULATE also performs context transition: it turns the current row into an equivalent filter so a measure can be evaluated from inside row context. I would rather diagnose a wrong total with that vocabulary than recite the reference.
Measures versus calculated columns is a frequent trap. A measure is computed at query time and is what I want for a sum, a ratio, or anything that must respect the visual’s filters. A calculated column is stored, evaluated row by row, and is useful when I need a value I can put on an axis, in a slicer, or in a relationship. A column that computes a margin percent on every row will not give you the right total if someone later sums or averages that column. The percent of the total must be a measure: the sum of the margin divided by the sum of the amount, in the current filter context.
Sales Amount =
SUMX(
Sales,
Sales[Qty] * Sales[Unit Price]
)
Margin % =
DIVIDE(
SUM(Sales[Margin]),
SUM(Sales[Amount])
)
SUMX is the iterator example I’d give: it walks rows, computes a line amount, then adds. SUM(Sales[Qty]) * SUM(Sales[Unit Price]) is a different question, and usually the wrong one. DIVIDE protects you from a divide-by-zero without a long IF.
A broken measure I would fix out loud: last year’s sales is blank, or it ignores the slicer in a way I didn’t intend.
-- Fragile if the date table is incomplete, unmarked, or not related
Sales Amount LY =
CALCULATE(
[Sales Amount],
SAMEPERIODLASTYEAR('Date'[Date])
)
The function is fine. The model often isn’t. I’d check that 'Date' meets the date-table rules, that it is marked for classic time intelligence, that the relationship to Sales is on the date column I think it is, and that the visual is grouping by that date table, not by a raw date column on the fact. If the result is still wrong, I look at whether another filter in CALCULATE wiped a slicer I meant to keep.
A short spoken diagnosis:
“If the total is wrong, I ask whether I’m summing a fact or totaling a ratio that was stored in a column. Then I ask what the filter context actually is: slicer, page filter, relationship path. If I need a different path, I use CALCULATE, not a second copy of the table. I’d rather get that diagnosis right than name ten functions.”

The board I’d use for a context question: arrows for filter flow, empty boxes, no function list.
Visualization and storytelling questions
“Walk me through this report” is not a request for a visual catalog. I start with the question the page is supposed to answer, then the grain, then the filters that are already on. A line is a good default for a trend over time. A bar is a good default for comparing a modest set of categories. A table or matrix is what I reach for when the stakeholder needs exact numbers they can check. I would not put a pie on a twenty-segment breakdown just because the requirement said “share.”
Then they play the stakeholder: “This number doesn’t match Finance.” I do not defend the visual first. I ask which number Finance is looking at, at what grain, and through which filters. Common gaps: order date versus ship date, tax included or not, cancelled rows still in the fact, a fiscal calendar versus a calendar year, a stale refresh, or a page-level filter the executive cannot see in a screenshot. I’d reconcile a small example out loud, one region and one week, before I touch color or layout.
Refresh mode belongs in this conversation at practical depth, not as a licensing lecture. Import is the usual starting point: data is in the model, DAX is flexible, and you schedule a refresh. DirectQuery leaves the data in the source and sends queries at view time, which helps when the data must be fresh or is too large to import, and it costs you source load plus some DAX and modeling limits. Composite models mix the two, with some tables imported and some live. If the source is a warehouse, I might mention Snowflake as the place the fact is curated, and I’d still design a star in Power BI rather than report straight off of staging tables. I would not invent service-tier or pricing claims to justify a mode.
Row-level security comes up when the question is “can West see East?” I keep it high-level: you define roles that filter tables, and those filters apply when that user views the report. I’d test as the role, and I’d be careful with bidirectional relationships, because they can change what a security filter reaches. I would not design RLS in the room as a full policy document.
If they ask how the data got there, a short pointer is enough. Refresh and pipeline logistics sit with how to prepare for data engineering interviews. If they contrast a semantic model with a Spark job, that’s a boundary question, not an invitation to turn this into a Spark loop.
A spoken “walk me through this report” I’d actually use:
“This page is weekly orders for the region you pick. The fact is one row per order line. The slicer filters Store, which filters Sales. The card is a measure, Sales Amount, not a column that was pre-averaged. If Finance’s number is higher, I’d check whether they include tax, whether they use ship date, and when this model last refreshed. Then I’d put both numbers on a matrix at the same grain and find the first week they diverge.”

I’d walk the page from the question it answers, then the grain and the filters, not from the visual catalog.
Night-before drill
I’d run these out loud, timer on, no notes after the first pass:
- Fact grain, a star versus a snowflaked dimension, and why I’d flatten Product
- Relationship cardinality, single-direction filters, and when bidirectional is justified
- A date table you’d mark, plus an inactive role-playing relationship and
USERELATIONSHIP - Row context versus filter context, and what
CALCULATEchanges - A measure versus a calculated column, and why you do not total a stored ratio
- One iterator, such as
SUMX, and one broken last-year measure you’d debug - “This number doesn’t match Finance,” including date, grain, filters, and refresh
- Import versus DirectQuery at practical depth, and a one-sentence RLS answer
If a pass is sloppy, repeat those two items, not the whole list.
Practicing with OfferBull
A list of DAX functions will not tell you whether you paused before defending a total.
OfferBull is an AI mock interview app, available on iOS and Android. A voice interviewer asks questions aloud. You answer by speaking. Paste a Power BI developer, analytics, or BI job description, or upload a resume, for tailored questions. Follow-ups based on what you said and what’s on the resume. While you practice, you get answer suggestions and STAR structures. English and Chinese. It’s for rehearsal before the interview, not a helper during one.
FAQ
Should every relationship be bidirectional?
No. Default to single direction from the one-side dimension to the fact. Use bidirectional filtering only when you can explain the path and the risk, or confine it to a measure with CROSSFILTER.
When is a calculated column the right tool? When you need a stored, row-level value for a slicer, a group, or a relationship. Totals, ratios, and anything that must follow the visual’s filters belong in a measure.
Do I have to use DirectQuery? No. Import is the usual starting point. DirectQuery is for when you need live source queries or cannot import the data, and you accept the source load and the modeling limits.
Is a snowflake schema wrong? Not in the warehouse. In the Power BI model, I’d usually flatten those dimension tables into a star so filter paths stay short and hierarchies are easier to use.
Do I need to memorize every DAX function?
No. Know filter context, row context, CALCULATE, a couple of iterators, and how you’d debug a wrong total. Name the function you’d actually write.
Practice This Out Loud
Tonight, talk through the star schema and a wrong-total diagnosis, a measure versus a calculated column, and a last-year measure you’d repair, each in under a minute. Then walk a report with no screen in front of you: grain, filters, why Finance might disagree, and when you’d use Import. Record it and listen for filler, and for answers that stop at a slogan. After that, run the same questions in a voice mock that pushes back, and close the app before any real interview. → Practice Now
Take Control of Your Career Path:
- Official Site: www.offerbull.net/mock-interview
- iOS App: Download for iPhone/iPad
- Android App: Download for Android