Ravindra BagaleCourses & study guides मराठी Track your progress

24. Power Pivot and the Data Model

Excel

24.9 PivotTables from the Data Model, and CUBE Functions

1. Give one dashboard number a traceable source

You are preparing a one-page update for a fictional quick-commerce project. A working PivotTable already shows every city and month. The organizer wants a compact page with Pune and Nashik totals at the top, a short note to the right and an all-city figure beneath it. The business calculation should still come from the relationship model. Copying amounts manually would freeze figures from the day you copied them. A worksheet formula linked to the model lets you place a checked value where the layout needs it.

Start with the fictional FreshGo and MarketRush sample. The approved Orders table has 12 rows from October and November 2026. Stores gives City and Calendar gives each date and period label. The model already has Total Sales, which adds numeric Amount for the current context. In this lesson you will generate model-aware worksheet formulas from supported Excel and keep a separate interactive PivotTable for comparison. The lab includes the original Pune ₹940, Nashik ₹670 and November Nashik ₹490 results.

Decide which part of the report needs flexibility

  • Use a PivotTable to explore. Put City on rows, change the month selection, compare products, and check all categories together. Refresh the report and inspect new member values as the data changes under its configured filters.
  • Use a CUBE formula to place a known result. Put Nashik November sales in a chosen worksheet cell. Reserve another cell for notes. Get both figures from the same approved model, even when the layout places them apart.
  • Use a worksheet snapshot when you need a fixed record. A labeled release snapshot records what readers saw at an approved cutoff. Store the version and evidence. A live model-connected cell and a snapshot serve separate handoff needs.
  • Keep the review view beside the presentation view. A CUBE formula’s visible caption can hide the identifier it actually uses. Compare it with an independent PivotTable and with the supporting source rows.

Online Analytical Processing, or OLAP, is a way of requesting aggregates by several fields at once. In this example the report asks for sales by city and month. Excel supports CUBE worksheet functions for the compatible model connection. A common local Data Model connection identifier is ThisWorkbookDataModel. Always copy the exact connection and member expressions that Excel generated for your workbook. Feature availability and connection behavior can vary with version and platform. The setup and conversion in this lesson use supported Windows desktop Excel.

Write the full question for each card. “Nashik, November 2026, accepted sales in rupees” is a reproducible request. Match the connection, measure and model members to that caption.

2. Confirm the matrix before formatting the cards

Create an independent PivotTable from the Data Model

  1. Make a working copy and open the model built in previous lessons. Check the expected tables and active relationships from Stores and Calendar to Orders. Confirm the correct source and run the approval checks from the folder-receipt lesson.
  2. Choose Insert › PivotTable › From Data Model when available. Select a new worksheet and name it ModelCheck so a reviewer can locate the control view quickly. Use the model, whose tables and measures should appear in the field list.
  3. Add Stores[City] to Rows. Add a year-aware Calendar month field to Columns, or use Year and Month with the appropriate restrictions to isolate 2026. Choose the labels from the date table that the relationships use.
  4. Add the named Total Sales measure to Values and display the approved October and November months. Clear filters that would narrow the accepted city and date scope. Leave the totals visible for evaluation.
  5. Reconcile the four city results and three totals below. In a workbook with more years, check exactly which member represents November 2026. A label showing only Nov can group November from multiple years according to the field you used.
Original model PivotTable for the approved October and November 2026 orders
CityOctober ₹November ₹Both months ₹
Pune540400940
Nashik180490670
Nagpur195160355
Solapur90260350
Grand Total100513102315

Trace three cells by their contributing orders

For Nashik November, the city relationship selects store BLK-NSK-01. The date selection leaves O-108 for ₹220 and O-112 for ₹270. Those amounts give ₹490. Nashik across the two months also includes O-102 for ₹180 in October, bringing the amount to ₹670. At the all-city total, the full twelve approved rows yield ₹2,315.

For Nagpur in November, one matching order, O-109, contributes ₹160. The city total adds O-103 for ₹195 in October and becomes ₹355. Take that fixed pair into the practice lab. It gives a positive financial check in one period plus a broader check at city scope. If a result accidentally includes October or the wrong city, that pair can expose the error even when the all-city total remains correct.

3. Identify the difference between a caption and a model member

Model elements have identifiers that the worksheet can request

A member is one identifiable item in a model field or hierarchy, such as Nashik from the City field. A measure is a stored calculation such as Total Sales. When Excel requests one aggregated result, it identifies the measure and the set of matching member constraints. The formula needs the identifiers the model recognizes. A reader can see “Nashik.” The connection may use a more specific expression naming the field and its key. The generated expression is written in MDX, the multidimensional expression syntax used by the CUBE worksheet functions to refer to these model items.

CUBEMEMBER evaluates a member expression and can display a friendly caption. CUBEVALUE accepts the member expression directly or a reference to a cell containing a suitable CUBE function. In the second case it uses that cell’s underlying member expression. Changing the caption to “Nashik region” can change the visible label while leaving the selected model member fixed. Replacing the cell with plain text “Nashik” presents the same word but discards the generated member expression. Test the cell formula whenever a report label looks right and its aggregate does not.

The Total Sales measure and Nashik plus November 2026 members select 220 and 270 rupees, shown together as 490.
The grand total leaves City and Month unspecified. The Nashik November cell adds both member constraints before asking for the same measure.

Keep the measure definition separate from the report syntax

The base model defines sales as Total Sales := SUM(Orders[Amount]) in DAX. The report requests that named measure through a worksheet function. If several cards request Total Sales, they can all share that model definition while providing different members. The workbook location of a card determines its placement. The connection and arguments determine its result. Copying a card beside another city label only changes the selected city if the formula now refers to that city member.

4. Let Excel generate a trustworthy starting formula

Convert an eligible copy and inspect the resulting cell

Use ModelCheck to keep your interactive report. Create another PivotTable from the same model in a safe working copy of the workbook and reproduce the known October and November view there. This second instance is the one you will convert. Start with a simple layout without custom Show Values As calculations and without a report-filter field or slicer active. This keeps the first extraction focused on the known model members and the positive amounts.

  1. Click in the second model PivotTable. Look for OLAP Tools › Convert to Formulas in the contextual PivotTable ribbon. The group can have a different label in different Excel releases. The command applies to supported OLAP PivotTables. If absent, confirm the selected report comes from the workbook Data Model and use the interactive and paper versions of the lab until you have the required client.
  2. Convert the second matrix. Some conversions with report filters offer a choice to convert them or leave a small PivotTable containing the report filters. Decide how you want to use filters after conversion. For the first practice, start without such filters so the generated labels and numbers show the core connection and model members directly.
  3. Click the generated Nashik label and examine its formula bar. Copy the exact connection and member expression into a control note. Locate the November period label and inspect the corresponding expression. If Excel generated multiple arguments for your chosen source hierarchy, retain the complete generated form.
  4. Click the generated Nashik November amount. Identify its measure and member arguments or referenced helper cells. Trace any cell reference back to the correct city, month or measure. Confirm it matches the control PivotTable’s ₹490.
  5. Change one argument in a scratch formula by pointing to the generated Nagpur member, leaving November and the measure intact. It should now show ₹160. Changes in result can then be explained by a single known difference in filter context.

A worksheet reference to the generated expression can be more maintainable than repeating a long member string. Excel’s formula suggestions can also help locate connection, measure or member choices where supported. Prefer the validated member copied from the current workbook over guessing the syntax from a label. A model may expose different table and field names, key formats or hierarchy levels. Keep a small known working formula to check the model connection before building the dashboard.

Handle a blocked conversion with a smaller report

If Excel says it cannot convert the PivotTable, Microsoft notes that filtered items must be visible and some custom calculations cannot be converted. Use a second simple report with the ordinary measure and visible model members. Expand relevant levels or restore applicable subtotals when the conversion needs them. Record which member keys the working conversion produced. Where the report already meets the need, keep its interactive features and retrieve a displayed value with GETPIVOTDATA. That approach still depends on the PivotTable and its visible data context.

5. Keep model inputs stable when you rearrange cells

Design a small report with separate control references

On a worksheet named Report, suppose H2 holds your workbook’s exact connection text. Let H3 hold the generated Total Sales member definition. In A3 and A4 use the generated Pune and Nashik members, and in C2 use the exact year-aware November member. Cells B3 and B4 show the city totals. Cells C3 and C4 show November for those cities. B6 asks for the measure at the full model scope. In the original approved workbook, the full model contains only the two sample months.

H2   ThisWorkbookDataModel
H3   =CUBEMEMBER($H$2,"[Measures].[Total Sales]")
A3   =CUBEMEMBER($H$2,"[Stores].[City].&[Pune]")
A4   =CUBEMEMBER($H$2,"[Stores].[City].&[Nashik]")
C2   Copy the exact generated November 2026 CUBEMEMBER here.

B3   =CUBEVALUE($H$2,$H$3,$A3)
C3   =CUBEVALUE($H$2,$H$3,$A3,C$2)
B6   =CUBEVALUE($H$2,$H$3)

Use only the expression on a line as the worksheet formula. The first example identifiers are patterns from the original lesson. Substitute the exact generated connection and member syntax from your workbook. A generated month member may need its accompanying year context depending on the field chosen. Using a validated unique month key keeps that context identifiable. Copy B3 to B4 and C3 to C4. Mixed references keep the city column fixed while the city row changes. The month row stays fixed when copying the November formula down. Absolute references keep the same connection and measure cells.

Original worksheet card checks using the verified model
CellScope requestedSales ₹
B3Pune, both accepted months940
B4Nashik, both accepted months670
C3Pune, November 2026400
C4Nashik, November 2026490
B6All facts currently in the model2315

Check the intended source if the period changes later

Imagine a report whose caption stays “October and November 2026” after December receipts arrive. The bare B6 formula asks for the measure without an explicit Month constraint. It can then include December even though its caption still points to two months. Decide whether B6 is intended as a current all-data figure or a stable period figure. If it should remain a two-month amount, pass that approved date scope through the formula with a verified member or appropriate set, or choose a model measure implementing the scope. On a two-month exercise, the naked total gives the original answer because the source is deliberately limited.

After moving an assembled report or copying formulas to a new location, inspect their dependency cells. A copied partial layout might still point to temporary helpers or a deleted report. Check that the model connection remains available in the workbook you open. Copying a sheet into a different workbook requires its own connection and matching model. Keep the source dimensions and measure definitions in a deliberate refresh path before giving the worksheet to someone else.

6. Give a ranked list its own explicit scope

Rank controlled members using the approved measure

Suppose the organizer wants a small highlight for the highest sales city across the two approved months. CUBESET defines a set of model members. In a scratch area, place four verified City member cells in D4 to D7, one for each city in this sample. In H5 keep the exact MDX text identifying the Total Sales measure, copied from the generated expression. The third argument of CUBESET is its displayed caption. The fourth argument, 2 here, requests descending order by the fifth argument, the specified sales expression.

H5   [Measures].[Total Sales]
J2   =CUBESET($H$2,D4:D7,"Cities by sales",2,$H$5)
J3   =CUBERANKEDMEMBER($H$2,$J$2,1)
K3   =CUBEVALUE($H$2,$H$3,J3)
J4   =CUBERANKEDMEMBER($H$2,$J$2,2)
K4   =CUBEVALUE($H$2,$H$3,J4)

Across this workbook’s existing two months, the expected first two city members are Pune, ₹940, and Nashik, ₹670. The result ranks the members supplied in D4 to D7 when evaluated with the specified sales definition. The order could differ if the data, qualifying set or comparison period changes. A helper range listing four current members will continue to describe that set after a new member arrives until you update it. A dynamic named set requires a checked set expression and context rather than the fixed range in this lab.

Sorting by sales among four cities for November separately gives Nashik ₹490, Pune ₹400, Solapur ₹260 and Nagpur ₹160. Changing only the caption to “November leaders” would leave the sort expression unchanged. Build the ranking and value retrieval for the same month scope, or use the already verified November PivotTable and sort that column. Choose a deliberate tie policy for an operational scoreboard. Two equal values can require a shared rank or a secondary ordering rule. The sample has different amounts for all four cities in both the full and November scopes.

7. Test value changes and layout changes separately

Refresh an allowed correction and see which values move

The CUBE cells use the model data available through the connection. When the order data changes, refresh the query or model table from the actual source, verify completion and recalculate the report as needed. Pressing a refresh command is one step. The evidence is the model control and the report value after a known change. If the query reads a folder file, edit a disposable copy of that input rather than changing an output cell that the query can overwrite. Stay within the working workbook and its designated practice source files.

In a correction copy, suppose the approved O-112 order contains four packs of grapes rather than three, at the sample price of ₹90 per pack. Update the quantity and recorded Amount to ₹360 in that controlled input. The original order contributed ₹270, so the correction adds ₹90. In the refreshed model, Nashik November becomes ₹580 and Nashik across both months becomes ₹760. All-city November becomes ₹1,400 and the full amount becomes ₹2,405. Pune retains ₹940 across both months because the correction is in a different city. The count of order rows stays 12.

An O-112 correction adds 90 rupees. Nashik November becomes 580 and the total becomes 2,405. Adding Satara in another test requires a card in the fixed report.
Refreshing can change the number in an existing card. A fixed report needs a separate layout decision when the business adds another city.

A new report member can exist without a new card

Start again from the uncorrected baseline in a separate copy. Add a fictional store BLK-SAT-01 in Satara under FreshGo and one approved order on November 29 for two units of P01, with an Amount of ₹64 and a new valid OrderID. Include a fictional customer ID C07. Confirm the new key relationship input is clean. After refreshing, the model PivotTable with no limiting city filter can show Satara with ₹64. All-city November rises to ₹1,374 and the model total to ₹2,379. The Pune and Nashik cards remain the same. Their calculation scope did not change.

The worksheet will retain its existing cell positions. It cannot infer where the dashboard designer wants to place Satara. Adding a new card requires a verified Satara member and a chosen formula placement. If the layout needs a list that automatically includes future members, design a model-based listing and test its size or continue using a PivotTable. A fixed list of city helper cells is appropriate when the report explicitly highlights chosen cities. Test the list for completeness whenever the caption promises every city.

8. Trace a report cell through four stages

Follow C4 from the caption to the purchase rows

  1. Find the source PivotTable amount

    In ModelCheck, find Nashik in Rows and November 2026 in Columns. Total Sales for that position is ₹490. Record it before converting a second report.

  2. Capture the exact connection and members

    The converted report exposes working CUBE arguments. Trace the connection, the measure, Nashik and the date member. Keep the identifiers from the current workbook.

  3. Place the card in the small report

    C4 uses the saved measure, A4 for Nashik and C2 for November. The layout can place this cell anywhere as long as the dependencies refer to the intended helpers.

  4. Prove it from the two OrderIDs

    Under the approved source, O-108 carries ₹220 and O-112 ₹270. Sum both to get ₹490. The report caption, the PivotTable value and the raw evidence describe the same scope.

9. Build, move and validate the report

Lab A — Create five reproducible cells

  1. Start with the original 12-order workbook data, a connected date table and approved Total Sales. Save a working copy and create the ModelCheck PivotTable. Verify the base city and date control matrix before using Convert to Formulas.
  2. Convert a separate version of the model PivotTable. Copy the exact Pune, Nashik and November references into the helper cells above. Use the full generated measure expression. Build B3, B4, C3, C4 and B6.
  3. Document what each cell requests. Compare the result with the card checks table. H2 is the connection, H3 the sales measure, A4 the city and C2 the period. When a number seems wrong, inspect the asked-for scope before copying another answer over it.
  4. In a scratch cell, create a Nagpur by November figure using its exact generated city member and the same November member. Expect ₹160. Remove the date member to request the city total across the current two-month model. Expect ₹355. Preserve the original formulas for their separate scopes.
  5. Move or recreate the five report cells in a copy of the layout if desired. Use the formula bar to inspect the references after relocation and rerun the original checks. Keep the worksheet and model in the same workbook for this lab.

Expected state. B3 gives Pune ₹940, B4 Nashik ₹670, C3 November Pune ₹400, C4 November Nashik ₹490 and B6 the model total ₹2,315. A card’s date or City filter matches its caption. Put your observed values next to the expected results. If your Excel environment lacks conversion, name each member context on paper and trace the matched OrderIDs to verify the same amounts.

Lab B — Verify classification, refresh and error behavior

  1. Run the O-112 correction in a separate practice copy and record the result of model refresh. Compare it with the known expected values, including C4 ₹580 and B6 ₹2,405. Keep 12 orders in the receipt evidence. If the output still returns ₹490, confirm the updated source was read before editing card formulas.
  2. Reset to the baseline and run the separate Satara case. Confirm a PivotTable with the city list eligible shows the additional city and a full total of ₹2,379. Check that existing fixed cards for Pune and Nashik retain their original values. Add a Satara member and a new November card if the layout needs to show it.
  3. Return to a clean baseline. Generate a valid December 2026 member from the model, showing items with no data where required, or derive it with the model’s valid year-aware month member syntax. Ask for Total Sales using that valid December member. The sample has no accepted December sales records. Record how the CUBE cell represents the empty result in your Excel client and model.
  4. Make a disposable formula copy before deliberately testing an invalid member in it. Replace the member with an unmistakably invalid model identifier. Compare the result with the valid December request. An invalid member can give an error such as #N/A. A valid selection with no data can give an empty-looking result.
  5. Restore known working formulas. Save one note stating what you changed, the verified refresh result, the number of approved rows and what each test proved. Close the disposable inputs to avoid shipping experimental sales data.

Expected state. You can separate a source correction that changes existing values, a member arrival that requires a layout decision and an invalid report request. Verification needs more than a screenshot. Keep the control PivotTable, the formula references and the source changes with their checks.

10. Interpret the cell before modifying the formula

Use the type of response to choose a diagnostic

  • #GETTING_DATA… Excel may display this while the CUBE query is still retrieving results. Wait for completion and verify the control view before drawing conclusions. If it persists, inspect the active connection or outstanding refresh and test a known minimal request.
  • #NAME? Confirm the first argument identifies a valid workbook connection. If the report uses an external OLAP source, verify its availability and authorized connection. Use the working generated example from the same workbook to distinguish an unavailable connection from a caption mistake.
  • #N/A. Check the exact member expression, whether it exists and whether the combination is valid. For example, combining Pune and Nashik as two arguments from the same city hierarchy is not the way to express “either city.” Use a model report selection or a deliberately defined set for multiple city members.
  • #VALUE! A CUBEVALUE request can contain an invalid element in a tuple. Arithmetic downstream can also fail if a CUBE result contains zero-length text. Inspect which formula produced the error and whether the dependent cells supply proper numeric or model inputs.
  • Looks empty. A valid CUBE query returning OLAP null can appear as a zero-length string. A formula returning such a string remains a formula cell. Model and receipt checks still tell you whether that scope has no approved facts or whether a missing source needs attention.
  • A plausible number at the wrong scope. A plain sales result of ₹670 can look right for Nashik and wrong for Nashik November. Trace the period member, then compare with the ₹490 control. Correctness includes scope, value and stated unit.

Test empty presentation separately from model logic

See what happens if two valid result cells contain ₹220 and ₹270 while a third valid request returns an empty string. When a query has returned that representation, a direct series of plus operators can encounter text and return a worksheet error. For a defined reconciliation where empty matches are permitted, SUM can add the numeric values and ignore zero-length text, giving ₹490. That policy would also ignore text deliberately stored in the range. Inspect the source separately so the check does not hide invalid data. Keep request errors visible during development and review them before deciding what to show in a published report.

=SUM(K8:K10)
=IF(K9="","No value returned",K9)

The first example assumes K8:K10 contains the intended numerical contributions and possibly a valid empty result. The second shows how a numeric card can label an empty-looking return in a presentation cell without changing the raw model response. Avoid wrapping all queries in an automatic fallback to zero. A removed city, an expired connection and an approved zero carry different meanings. In a classroom copy, deliberately induce one known error before restoring it so you recognize the distinction.

Retain a readable release record

Use one worksheet or designated records sheet to log each report’s source model, approval cutoff, member scope and observed value. If the printed layout is intended only for October and November, label that exact date range consistently and constrain scope after a new receipt becomes available. If the report is designed as an all-current-data summary, pair it with a visible received-through date and reconcile it after each refresh. Keep row, column and measure definitions visible at least in the control PivotTable. A teammate can then reopen an old report and understand which definition and version its reviewer approved.

Now imagine a manager wants the page to include both accepted sales and order count. Starting with one validated currency card, duplicate its structure and point to the approved Order Count measure. In Nashik during November, the count returns two orders and the amount returns ₹490. Each card needs a unit and the field names should be easy to trace. The CUBE layout can combine these figures with explanatory text, while the model retains a clear definition for each.

The next revision could show the distinct customer measure too. Nashik’s November orders both use C06, so that result is one. This is a useful release check because three correct cards for the same city and month now give different numerical values. Switching a reference accidentally from Customers to Order Count would give two and can be caught against the expectations even when both values have whole-number formatting.

Test what a nearby filter actually controls

A visually nearby slicer can look like a filter for every card on the page. In a scratch report, connect a Calendar slicer to ModelCheck using the available report connections. Click November 2026 and confirm the PivotTable shows ₹1,310 across all cities for that month. Independently inspect B6. In the example formula B6 still asks for the full model because it has no date member or explicit slicer-set input. The slicer’s physical position beside the cell cannot supply that missing argument. If the layout requires a dynamic card, bind it to a verified selection argument or retrieve the desired visible value from the connected PivotTable. Test changing the selection and clearing it to confirm the caption explains all states.

For a simpler linked report, type an equals sign in an empty cell, then click a visible value in ModelCheck with Generate GETPIVOTDATA enabled. Excel can build the appropriate formula for the clicked context. Inspect the generated request and repeat after changing the PivotTable layout. A generated lookup depends on that report’s field availability and visible data. For example, if an audience chooses a filter that excludes Nashik, verify how your lookup behaves instead of assuming you can still retrieve every original city result. Give a presentation sheet one clear statement of which controls apply to its figures.

Use ordinary cell text for the meaningful captions even when the visual layout includes color or shapes. A printed or exported card stays intelligible when the underlying controls are outside its crop. “Nashik sales, Nov 2026, ₹490” states the scope, measure and unit, and the model audit identifies the accepted orders. Reserve short notes for material cutoff changes, especially when the workbook includes several periods and a viewer may export only its first page.

11. Explain the report without opening the workbook

Quick checks

1. Which cells in the report represent Nashik across both months and Nashik in November?

B4 requests Nashik with no explicit month and gives ₹670 in the two-month model. C4 includes the November member and gives ₹490. The ₹180 difference comes from October.

2. Can plain text with the caption “Nashik” replace the generated member cell?

The caption can remain visible, but the member identity used by CUBEVALUE would be lost. Keep the generated member definition or use the exact MDX expression.

3. What does a new Satara store do to a fixed Pune card?

The approved Satara order raises the all-city sum by ₹64. A specified Pune card remains ₹940, and the worksheet will need its own Satara card if the design requires that city.

4. How much does Nagpur contribute in November?

₹160 from O-109. Across the full sample Nagpur also has O-103 in October, giving ₹355. Use the one-month member for the narrow report card.

5. How do you recognize a connection issue?

Try a known generated formula and inspect its connection argument. CUBEVALUE can return #NAME? when the exact connection is unavailable. Fixing the caption will not repair that connection.

Interview practice

1. Why retain a PivotTable after crafting the worksheet report?

The PivotTable supplies an interactive source of check values and a way to inspect new members after refresh. The worksheet formulas provide fixed placement for chosen questions. Keeping both allows each report to serve its purpose.

2. What evidence proves the dashboard pulled the intended month?

Inspect the model member key or reference for the exact year and month. Match it against the same cell in the control PivotTable and trace at least one accepted source record. For Nashik November the evidence is O-108 plus O-112, totaling ₹490.

3. Why could the full-model card change when new months arrive?

It requests Total Sales without a specific date member. That scope includes all qualifying facts currently available. To report a fixed period, supply that date scope and test it after importing a new accepted month.

4. How would you build a top-two city card?

Pass the approved city member range to CUBESET, sort it by the known measure in descending order and request ranks 1 and 2. Fetch the corresponding values using those members. In the full sample they are Pune ₹940 and Nashik ₹670. Use the same scope for ranking and results.

5. How do you test refresh between the source and presentation?

Make one approved change in a disposable input. Refresh the actual model connection and verify the updated data and control PivotTable before checking cards. For the O-112 change, Nashik November increases to ₹580, while unrelated Pune cells retain their values.

Six revision cards

  • Report cell. The connection selects the model, the measure defines the calculation and members set the scope.
  • Caption and key. Keep the generated member definition in a helper cell. Its visible label is only the displayed description.
  • ModelCheck. Keep an interactive PivotTable with the same source to trace the fixed worksheet cards.
  • Refresh twice tested. Verify an existing value changes when data is corrected and check where a new city should appear.
  • Ranked set. Choose eligible members, sorting definition and current period before selecting rank 1 or 2.
  • Null and error. Distinguish empty results, connection failures and invalid members before writing presentation fallbacks.

Use the original city-and-month report illustration when reviewing the worksheet layout. You can find more Excel practice in the Task Hub. The next lesson asks whether the report should stay in Excel or move to Power BI.