17. Interview Questions and Answers
17.6 Performance, Dashboards and Power Tools
Explain which operation is slow, how new records reach a dashboard, and what a scenario result assumes. Two small practice workbooks give you numbers and checks to use in an interview.
Q47. Find the slow operation before changing the workbook
Separate opening, calculation, refresh and rendering
Suppose a fictional Netflix-style support operations team says a workbook is slow. Ask them to show the exact action. Opening downloads and parses the saved file. Editing a dependent cell may trigger a calculation. Refreshing a query retrieves and transforms data. A selected chart or slicer can run its own updates. Saving can rebuild file content and sometimes recalculate. These steps can have different causes. In an interview, describe the one you would reproduce and how you would confirm it improved without changing the result.
On an authorized scratch copy, note the device and Excel version, row count and exact task. Start by timing three comparable recalculations after the workbook is open, using the same input change and restoring the original afterward. Compare comparable runs and separate first-open effects. Record three measurements and their units instead of a guess about speed. Check one controlled input, the known expected output and a subtotal through the exact same routine. The purpose is to distinguish a computational bottleneck from a file transfer or an unavailable service.
Choose the fix that changes the measured part
- Repeated calculations. If a difficult text extraction is repeated in hundreds of formulas, a checked helper field or appropriate LET expression can reuse intermediate work. Test the same results and boundary cases before removing old expressions.
- Expensive references. Some array calculations over whole columns perform much more work than needed. Use a bounded source or validated Table where appropriate. Audit expansion after a new member so a faster result still covers the input.
- Volatile dependencies. OFFSET, INDIRECT and multiple TODAY or NOW calls may participate in every recalculation. Replace expensive examples only where the alternative represents the same business rule. A deliberately current control may still need to recalculate.
- Saved file contents. Excess formatting and inflated used areas can increase file size or processing. Investigate on a copy. Test a different save format only if relevant to the measured problem and compatible with the recipients' workflow.
- External data work. If the slow step is the query, measure the source and load stages, inspect which columns and rows are actually needed, and reconcile the final loaded result. Optimising a worksheet expression cannot speed an unavailable external source.
Be careful with Manual calculation mode in desktop Excel. Calculation mode can affect other workbooks in the session. An apparently fast workbook that stops updating its outputs is an integrity problem. Keep measurement isolated, verify the active mode and restore expected calculation before trusting or sharing the result. Use an authorized fixture and the normal supported calculation control. Changing web or desktop settings on someone else's workbook is not part of this exercise. Say you would verify both performance and current outputs before approving a change.
Q48 to Q50. Explain import, combination and modeling separately
Describe a repeatable data preparation step
Power Query can connect to an approved source, apply saved transformations and load a result. You may hear it called an ETL tool, referring to extracting, transforming and loading data. In Excel the available connectors, authoring and refresh features depend on the client, source and permissions. A CSV from a practice folder can be a simple teaching source. The clean worksheet or Data Model is a destination. A saved step that filters incomplete records needs an independent output check on every relevant changed source.
Append stacks comparable source rows from multiple tables. For example, daily order extracts with the same fields can become one period dataset. Verify compatible column names, types, source period and order uniqueness. Having five files does not show each contains that day's distinct data. A duplicate file or monthly snapshot can repeat orders. Add source filename or a batch label to make lineage visible. Avoid loading unrelated exports, temporary files or the workbook's own saved result from a folder intended to contain only approved inputs.
Merge matches records by keys, combining related columns or detecting missing matches. For example, join each Order City Code to a verified City Code mapping table. If the mapping includes two rows for the same code and you expand the results, an order can repeat, potentially doubling its amount. Test the expected one-to-one or many-to-one direction and preserve the total before and after expansion. A misspelt key can have no match and need review rather than a guessed city. A data preparation interview answer should include a known duplicate and missing-key diagnostic.
State what a Data Model adds
A conventional worksheet-source PivotTable can summarize a flat source. Excel's Data Model can relate multiple tables and support measures in suitable versions, with Power Pivot providing modeling tools where supported. The orders table contains repeated city codes, while one clean city dimension row per code provides the label and region. A relationship links matching values so you can group order facts using the city dimension. The source orders are still separate records. Distinct order counting and measures can help with a dataset whose raw grain has line items. Do not claim the feature supports an arbitrary dataset size on any machine. Memory, model design, columns, client edition and licensing matter.
If someone says "Power Pivot is a bigger PivotTable", explain that the Data Model and its relationships organize the data, while the PivotTable can serve as an interface for querying or displaying summarized results. A Data Model measure can calculate a ratio over its current selection. For example, delivered rate divides qualifying delivered order count by all eligible order count in scope. Verify the denominator under a filter, then check that the overall ratio uses its own counts rather than averaging city percentages. Check which editions and clients support the required Power Pivot and Power Query actions before choosing an architecture.
Compare consolidation choices for the real layout
- Same schema across files. A supported folder combination can append rows using the documented import and sample transformation. Verify source filenames and missing or extra fields before loading.
- Matching summary layouts. An Excel 3-D reference such as
=SUM(Jan:Dec!B2)can add a corresponding summary cell across the worksheets in that span. It depends on sheet order and the same location meaning the same measure. Moving a worksheet into the range can alter the result. - Grouped summaries. A consolidation feature may combine aligned ranges, but needs a verified match between labels and units. A result based on per-order records may instead need an appended dataset and a separately grouped output.
- Different schemas. Map fields deliberately before appending. If one file's Amount is tax-inclusive and another is exclusive, a shared column name does not establish compatibility. Keep the source type and currency clear.
Test what happens after the next export arrives. In one scratch case add a valid new report and a known amount. In another add a malformed file with a renamed key header and verify it reaches a clear review outcome. Confirm reliable distinction between missing fields for a source file and a legitimate field with a blank record value. Look for the newly loaded key, reconcile its amount and verify a documented exclusion. An automatic refresh action still requires these checks in a publish workflow.
Q51 and Q52. Define a KPI someone can interpret and verify
Agree the business activity and reader first
A KPI is a key performance indicator that describes a particular activity or outcome. Imagine an operations lead in a fictional Blinkit-style order exercise wants to know which share of recorded orders were delivered. Here the numerator counts rows with Delivered status, and the denominator counts all accepted order rows in the selected city and batch. A confirmed delivered amount is another metric with a currency unit. A chart showing a percentage can support monitoring, while a list of exception IDs supports follow-up. Pick the measures and format that match the required action.
In Excel a dashboard can combine specific formula or PivotTable outputs with visuals and a few clear filters. The report title identifies the period and currency. Show counts and amounts where a percentage could hide the base. If different parts respond to different controls, make that clear and test each one. Put the data timestamp and active scope somewhere visible. Worksheet protection can help prevent accidental changes, but hidden sheets and visual filters leave the data present. Respect the file permissions and use a deliberately minimized approved output when a recipient should see only certain information.
Power BI has a specific product distinction. A report supports interactive pages bound to its semantic model. A dashboard in the Power BI service is a single-page tile view. Sharing and scheduled refresh depend on licensing, dataset configuration, credentials and possibly a gateway or tenant controls. Row-level security needs explicit setup and verification with the intended audience and roles. It is not obtained simply by building a visual or publishing a report. Excel can be a good choice for an interactive workbook whose users need direct editing or a compact offline model; a controlled shared refresh and managed access may favor a configured Power BI workflow. Clarify whether the question concerns a worksheet deliverable, a Power BI report or a service dashboard.
Lab one. Verify a source-to-dashboard handoff
On a disposable sheet create an Excel Table called tblKpi with columns Batch, Order, City, Status and Amount. Enter the four original B1 rows. Labels B1 and B2 in the fixture are batch identifiers, distinct from a referenced cell address. The fifth row is a later source append. Use one common fictional rupee unit. We define the later state as the cumulative two-batch training period rather than a standalone B2-only metric. The source field supports checking that the new data really arrived.
| Batch | Order | City | Status | Amount |
|---|---|---|---|---|
| B1 | R201 | Pune | Delivered | 240 |
| B1 | R202 | Pune | Cancelled | 140 |
| B1 | R203 | Mumbai | Delivered | 160 |
| B1 | R204 | Pune | Delivered | 60 |
| B2 | R205 | Mumbai | Delivered | 80 |
=COUNTA(tblKpi[Order])
=COUNTIF(tblKpi[Status],"Delivered")
=SUMIF(tblKpi[Status],"Delivered",tblKpi[Amount])
=COUNTIFS(tblKpi[City],"Pune",tblKpi[Status],"Delivered")
=SUMIFS(tblKpi[Amount],tblKpi[City],"Pune",tblKpi[Status],"Delivered")
- Use the first four rows only and check unique, nonempty keys before using COUNTA in this fixture. The denominator is four. The delivered count is three and amount 460. Overall delivered rate is 75 percent, and delivered average amount is 460 divided by three or about 153.33.
- Verify the Pune segment. The candidate keys are R201, R202 and R204. Two are delivered, giving about 66.67 percent. The amount for those two is 300 and delivered average 150. An ordinary average of 66.67 percent and the Mumbai 100 percent does not equal the unfiltered 75 percent. Check the total from exact counts.
- Add R205 as a true Table member after saving the baseline copy. Verify the batch and key and then check the independent calculations for cumulative B1 and B2. Expect five accepted, four delivered, 80 percent, delivered amount 540, and delivered average 135. Pune metrics should remain identical. A source refresh or report update needs to show the new period and full set of controls before publishing.
- In a supported client, optionally use a separate valid scratch folder with the original four rows in a CSV and the fifth in a same-header new file. Keep Order and Batch as text, Amount numeric, and verify loaded Table field names before copying formula references. Adding the file alone cannot change an existing cached report. Confirm loaded R205 and summary results after the intended refresh operation.
- If R205 exists in the directory but the old values persist, check the allowed files, transforms and actual load destination. Verify the displayed report is reading the loaded data and verify its current filter or refresh settings. Restore or discard all fixture copies after each rehearsal.
Verify three stages and the final fraction
Read the prior state
The accepted first batch has four orders. Three deliveries give 75 percent.
Verify new source
Batch B2 contains unique order R205, a Mumbai delivery with amount 80.
Confirm the output Table
The combined practice output has five rows and contains the R205 key.
Inspect revised measures
The rate is four out of five and 80 percent. Amount rises to 540, while the Pune amount stays 300.
Investigate two different failures even when the KPI seems unchanged
Suppose a new batch B2 arrives and has one delivery at the original overall average displayed to two decimals. The delivered average could remain the same, while both the delivery count and sum increase. Confirm the source key and revision, then report both measures rather than inferring no change from one rounded value. Conversely, a recalculation of the old file can refresh time information without loading any new order. Verify the input before announcing a fresh report. An age indicator tied to the refresh clock only measures the action being timed, not the source's business date.
When the incoming file creates a duplicate of R203, ask whether it is a correction or an accidental append. Blindly counting all rows could show six candidate orders and a changed rate while the true distinct identifiers remain five. Add a check for repeated keys before calculating the KPI. In a correct process, further relationships from the city mapping should not multiply valid records. Compare a known amount and the source row count after mapping and before calculating the report. With this fixture, Pune 300 is useful because the new Mumbai order must leave it stable.
Q53. Build a what-if analysis with a specific decision
Read the model before choosing a tool
A fictional meal delivery operation wants to know what order volume would cover its planned fixed costs. For one period assume a fixed cost of ₹9,000 and a contribution of ₹60 from each eligible order after variable costs. Profit in this model equals the number of orders times contribution per order minus fixed cost. These are purely fictional practice numbers. The exercise holds cost and contribution fixed for its simplest question. A higher order volume might change staffing or contribution in a real business. State that assumption before handing someone the result.
Goal Seek works backward from a desired result through a formula and changes one input cell. A scenario compares named sets of chosen inputs, possibly substituting several cells together. A what-if Data Table shows how a formula responds to a list of values for one or two selected variables. It is distinct from the Excel Table object used for source data. Solver in supported environments can solve a more elaborate objective with multiple decision variables or constraints. Start from the question, then choose a supported tool. A method's answer can still be infeasible in the real world, such as an unrealistic capacity or fractional units.
Lab two. Calculate break-even, then check scenarios and a series prediction
On a new practice sheet put eligible orders in B2 as 120, contribution per order in B3 as 60, fixed cost in B4 as 9000, and the profit formula below in B5. Check the original result of −1800. Use separate practice copies or keep the original inputs written down because Goal Seek and Scenario Manager may change the cells they control.
=B2*B3-B4
- On a client supporting Goal Seek, set the calculated B5 to zero by changing B2. Check the resulting order count of approximately 150 and residual near zero. Verify independently by dividing 9000 by 60. If Excel offers to accept a proposed value, do so only in the disposable copy. Restore B2 to 120 after the exercise.
- Define two named hypothetical input sets in a supported Scenario Manager. In Festival set B2 to 170 and B3 to 55, keeping fixed cost 9000. Profit is 350. In Monsoon set B2 to 180 and B3 to 50. Profit is zero. Compare both assumptions and outputs. Higher volume can coexist with lower modeled profit when contribution per order changes.
- After restoring B2 and B3 to 120 and 60, put 120, 150 and 180 in E3:E5. Put
=B5in F2 and leave E2 blank. Select E2:F5, open the supported What-If Analysis Data Table option, and set Column input cell to B2 with Row input cell empty. The three result cells should show −1800, 0 and 1800. Verify these results with one manual calculation each. - If the data table does not show these outputs, inspect B5 first. Confirm F2 links to it. Check that the trial inputs are in a column and Column input cell refers to B2. Review the current calculation behavior for what-if tables. In a client without the tool, verify the same three cases by changing only the input manually in scratch cells and recording the results.
| Test | Orders | Per order | Profit |
|---|---|---|---|
| Original | 120 | 60 | −1800 |
| Break-even | 150 | 60 | 0 |
| Upper volume | 180 | 60 | 1800 |
| Festival | 170 | 55 | 350 |
| Monsoon | 180 | 50 | 0 |
Use a limit test to explain when the model has no break-even result. If contribution per order is zero while fixed cost remains 9000, changing volume leaves B5 at −9000 in every case. A tool cannot change that equation. If an exact target requires 150.5 orders but orders are whole items, decide whether the accepted threshold means at least break-even. If it does, check that the next feasible whole order count meets the result, then verify the preceding count fails. Keep the available capacity in view as a separate constraint.
Q54. Check a forecast on a value you withheld from the fit
Use a model that can be checked in one minute
Regression estimates how a result variable relates to one or more inputs. A simple linear fit with one input estimates an intercept and a per-unit slope. A forecast uses a model to make a prediction, often for a later period. In this fictional exercise, let periods one through four have counts 100, 120, 140 and 160. Put period numbers in A2:A5 and counts in B2:B5 in a third cleared scratch area. The observed increase is consistently 20 cases per period in these four rows. Fit the existing values and predict period five. This is a simple demonstration, with no evidence of seasonality or future capacity.
=SLOPE(B2:B5,A2:A5)
=INTERCEPT(B2:B5,A2:A5)
=FORECAST.LINEAR(5,B2:B5,A2:A5)
The slope is 20, the intercept is 80, and the prediction for period five is 180. Check by multiplying 20 by five and adding 80. Draw a scatter chart if supported to read the numeric periods and associated values. A line trend for the training points fits them exactly by construction. If a genuinely later observed period five has 150, the residual defined here as actual minus predicted is −30. Keep the known fitting interval separate from the held-out observation used to assess prediction. If you add 150 to the fitting set before evaluating the earlier forecast, you change the question. Record the error on a frozen model first.
An R-squared metric describes how closely the fitted model accounts for variation in its fitting data. It does not prove that the fitted relationship caused the changes or that future periods will match. Check for blanks, input units, outliers and arithmetic before fitting. More realistic forecasts need sufficient history, comparable window and aligned intervals. Microsoft's Excel desktop Forecast Sheet for Windows uses a time series and documented exponential smoothing with options such as seasonality and intervals. Describe the specific available feature. A simple FORECAST.LINEAR with evenly spaced indices is a different method and has support documented separately.
- Record which rows train the model and which later row tests it.
- Check the observation at the input value in its actual units.
- Report the prediction, observed result and direction of error.
- Explain an assumption that might stop holding, such as constant staffing.
- Keep the forecast in an isolated workbook and restore or discard the practice data afterward.
Give a reproducible handoff across all the tools
Say whether a number is a known observed KPI, a modeled result under assumptions or a prediction. The KPI shows three of four deliveries in the original batch, then four of five after R205. The what-if exercise finds 150 orders under fixed costs and contribution. The forecast predicts 180 cases with a held-out value of 150. They need different checks and labels. An observed source row can be reconciled to its file, the what-if arithmetic can be rerun with specified assumptions, and prediction quality can be compared with a future observation. Avoid presenting a modeled number as an observed event.
Practise checking a bad merge and a changed profit assumption
Find why a loaded report gained an extra record
Return to the four original B1 rows in a scratch copy. Add a small city attribute mapping where Pune maps to West and Mumbai maps to Coastal. If the source key identifies the city uniquely in the mapping, adding those labels leaves four order rows and all recorded amounts total 600. The delivered amount remains 460. Check the two original Pune deliveries at 240 and 60, the Pune Cancelled row at 140, and the Mumbai Delivered row at 160. The model can display an additional regional label without changing each order's amount or identity.
Now add a second entry for Pune to the city mapping and review the join matches in the practice model before expanding. If every match is expanded and the source has three Pune rows, each of those can match twice. The combined worksheet can show seven order rows instead of four. The recorded amount becomes 1040 because the three Pune amounts total 440 and are each counted again. Delivered becomes 760 because the two Pune deliveries add another 300. A rate based on five delivered rows divided by seven gives roughly 71.43 percent. Neither simply clearing a report filter nor recalculating the existing formula repairs this duplicate expansion.
- Check the exact number of source records and whether each Order key occurs once before the match.
- Review the mapping's distinct City keys and investigate two rows for Pune. If the second row is a documented equivalent duplicate, prepare an approved unique lookup. If it is a meaningful distinction, expand the business key or adjust the model before joining.
- Recompute after correcting the controlled fixture. Verify loaded row count four, distinct order count four, amount 600, delivered count three and amount 460. Check R201 and R204 for their original values.
- Separate these facts from a security filter. A valid relationship and a report filter describe analysis and display context. Only supported access controls with tested role behavior determine what recipients are permitted to see.
This is a good scenario for a follow-up question about a report that became slower after adding fields. A duplicated merge can increase row count and calculation work simultaneously. Timing only the rendered pivot would miss the data growth at its cause. Check the row and column counts after each saved step. If an expanding result contains repeated keys, trace one to the original pair of matches and test a corrected mapping. Improvement is meaningful only when the calculations are still made over the intended records.
Translate a capacity result into a realistic threshold
The initial break-even question gives 150 orders at a contribution of 60. In a separate capacity exercise suppose the fixed expense is changed to 9030 and contribution remains 60. The equation gives 150.5 orders. The manager needs a whole number of orders and wants modeled profit at least zero. Verify 150 produces 9000 less 9030, or −30. At 151 the contribution is 9060 and modeled profit is 30. If the operation cannot fulfil more than 150 accepted orders in that window, even the lowest feasible threshold cannot be met under its current capacity and contribution. Explain the operational limit instead of presenting the solver's fractional answer as a committed plan.
If someone changes both the cost and contribution, a one-variable Data Table can still be used under one selected contribution setting, and the values must be interpreted alongside that setting. For two different volume and contribution inputs, the supported two-variable option may produce a grid of one target output. An independent corner check is capable of exposing swapped input axes. For example 150 orders at 60 gives zero in the original 9000 model, while 150 at 55 gives −750. If the same formula were accidentally pointed at the wrong contribution cell, two rows with distinct assumed inputs could display identical results. Check the referenced target and its dependencies.
Name what the chart does with an unknown date
A dashboard based on a short period can omit a month entirely because that file has yet to arrive. A graph connecting two observed periods might visually bridge the gap. Establish whether the relevant report needs a continuous time axis, and make the missing period visible. In a forecast, most methods need a deliberate policy for missing observations and irregular intervals. If someone adds a zero row merely to draw a line, the fitted result can move even though the workbook gained no verified observation. In the practise constant-increase series, change only a disposable variant and keep missing entries separate from observed zeroes. Describe which values entered the model before sharing a predicted point.
Finish by creating a compact note identifying the dataset, the refresh stage and the intended audience. Report rules are understandable when someone can reproduce one known input or output, such as R205 adding 80 to the delivered amount. Performance proof additionally needs measured timing, while a forecast needs a prediction labelled with its assumptions and a later held-out comparison. Keep these evidence types tied to their distinct workbooks, and restore the original practice conditions afterward.
Label the independent check beside its destination. On the later dashboard batch write that R205 contributes 80 to the Mumbai delivered amount and none to Pune. If the overall amount updates but Pune also rises by 80, the report may be applying its city condition incorrectly. If neither result moves, inspect source loading and report refresh before editing the calculation.
Quiz. Identify what has been checked
Which first step tells you whether to optimise formulas or a query?
Reproduce the exact slow task on a clean copy and time distinct actions. A delay during recalculation has different candidate causes from a blocked source connection. Compare the same workflow before and after a small change and keep the verified control result.
What does an append do to the later delivery batch?
It adds its valid record as another row under the same fields. B2 adds R205 to the four original records and brings the accepted count to five. A join instead matches keys to add related information or check membership.
What are the delivered count and share after R205 reaches the output?
Four of five accepted orders are delivered, giving 80 percent. The recorded delivered amount becomes 540. Pune stays at two delivered orders from three, with its delivered amount 300. Compare global and segment checks.
Which input changes when Goal Seek solves this break-even exercise?
B2, the order count. B5 is the result cell whose target is zero. Hold contribution per order at 60 and fixed cost at 9000. Check the approximate result 150 by independent division.
Why is the Festival scenario profitable at fewer orders than Monsoon?
Scenario inputs differ. Festival contributes 170 times 55, or 9350, leaving 350. Monsoon contributes 180 times 50, or 9000, reaching zero. A comparison of volume alone would miss another changed input.
Does a perfect linear fit on the first four points ensure period five is 180?
The four training values align with the line, so the model predicts 180. The later observed value 150 would have residual −30. Keep training and validation periods separate and describe uncertainty.
Model answers for performance and reporting questions
How do you troubleshoot a large workbook safely?
I isolate the slow task, measure reproducible attempts on a copy, identify likely redundant processing and test a small change. For an expensive repeated formula I can compare a bounded helper design, then rerun known controls. I restore the working calculation behavior and check output freshness before sharing.
What is a practical Power Query workflow?
I acquire an approved set of files, verify compatible schema and source period, then save typed transformation and append steps. I preserve the source identifier, load the intended destination and check two known rows and an independent aggregate. I try a rejected input to see where bad data appears.
What is the difference between Power Pivot and a PivotTable?
Power Pivot offers Data Model tooling in supported Excel versions, including relationships and DAX measures. A PivotTable can display an aggregate from a flat source or a supported model. In a model I would verify a unique dimension key and recalculate a metric under a deliberate filter.
How would you design a useful KPI dashboard?
I agree what qualifies, write the numerator and denominator, and record the source period. I show the measured value and a comparable control. In the practice one later delivery moves three of four to four of five. The new record and stable Pune segment verify the change.
When would you choose a scenario over Goal Seek?
I use Goal Seek when a target result and one changeable input are already defined. I use scenarios for named combinations of known assumptions, such as 170 orders at contribution 55 compared to 180 at 50. I can verify the two outcomes explicitly and compare which assumptions are plausible.
Recall cards
Measure the task
Time one reproducible operation and compare before and after with the same source and output checks.
Append versus merge
Append gathers comparable rows. Merge matches related records by agreed fields.
Model relationships
Verify keys and cardinality before using a measure across related tables.
Freshness evidence
Confirm a new source batch and known key in the loaded result, then verify the report.
What-if assumption
Know which input changes, which stay fixed, and whether the result is feasible in context.
Forecast validation
Evaluate predictions against held-out observations before adding them to the fitting data.
Official references
- Microsoft Excel calculation performance
- Microsoft Power Query and Power Pivot availability
- Microsoft folder combination
- Microsoft query load and editing
- Microsoft Power BI service dashboards
- Microsoft scenarios and what-if tools
- Microsoft what-if Data Tables
- Microsoft FORECAST.LINEAR
- Microsoft Excel for Windows Forecast Sheet
Continue practising: explore the existing Excel Task Hub for additional exercises.