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

Excel

13. Excel Dashboards

Build one Excel dashboard a manager can act on

Priyanka gets four files most mornings. One lists order lines, one has city totals, one shows order status, and one lists the delivery times that came in overnight. When she prepares the operations call, she asks the same three questions. How much approved order value did the team record? Which city needs attention? How reliable is the picture right now? Learning to answer those questions from one workbook is the purpose of this chapter. The workbook should let another person reproduce the answers after the next month loads.

Imagine a Blinkit-style grocery delivery operation in Pune and Mumbai. All figures, orders and decisions here are fictional. The company name is a reference to a familiar type of service. You'll first reconcile six order lines by hand, create one row for each completed order in the practice set, and check how summaries react to a city and period. Later lessons build the complete workbook in small steps. The first decision is what the manager wants to do with the information. Colors and shapes help her find it once the measures have clear meanings.

A trustworthy dashboard carries one checked story from recorded inputs to visible action. Start with the question, identify the unit of data, calculate a small set of meaningful measures, then test what the reader sees.

Give each component a job

  • Status cards give a few exact numbers such as delivered orders, recorded order value, average delivered order value and on-time rate. Each card has a unit and a definition.
  • A comparison chart answers which city contributed the recorded amount in the current selection. A separate trend shows what happened by month, ordered by true dates.
  • Visible filters let the reader pick a city, platform or time. They should clearly show their state and affect all intended reports.
  • A verified-through label explains the latest reliable period or time. A workbook can open at 9:00 and still show yesterday's input. Tell the reader what was actually checked.

Think of a dashboard as a short meeting agenda that points to reproducible calculations. If there is an unusual city result, a manager can look at the supporting table or check conditions. If the result has been confirmed, the team can decide whether to investigate staffing, delayed reports or platform differences. A graph alone cannot establish the cause. A useful workbook shows which dates, cities and verified records support the observation, so the next conversation starts from good evidence.

Decide which comparisons will inform an action

The manager needs to see whether a city has unusually low confirmed on-time delivery. The delivery coordinator needs the count of missing or pending timing records before they investigate. Both can read the same workbook, but a single rate without its coverage does not meet both needs. State the approved limit in the metric definition, give an as-of date, and record the number of timed and delivered orders. If the city has only one recorded order, a 100% score is true for that case and offers weak evidence about the next hundred orders.

Use visible cards for the totals people need most often. Keep detailed lists in a separate sheet so the top view stays quick to scan. Add a chart only when it answers a comparison or trend question. This chapter builds those decisions before arranging objects. A first sketch is fine with hand-written numbers and labeled rectangles. By the time the design is polished, every visible number should have a traceable source.

Know what one row means before counting it

Read the small order-line file

Below is an extract of six delivered-order item lines. “Recorded line amount” is the teaching value in rupees attached to the line. It could have a different meaning in a real source, so learn which charges and adjustments are included before calling it recognized revenue or profit. All lines of an order carry the same order date, city and platform in this exercise. One order can include several entries. Notice the first two entries: they share one order ID but have two different products.

Six fictional item lines for five delivered orders. The amount is recorded per line.
Order IDOrder dateCityPlatformProductAmount ₹
O10012026-01-05PuneAppRice1200
O10012026-01-05PuneAppOil800
O10022026-01-08MumbaiWebSugar1500
O10032026-02-02PuneAppRice700
O10042026-02-10MumbaiWebOil1800
O10052026-02-15PuneWebSugar500

The six recorded line amounts total ₹6,500. An ordinary count of the filled Order ID cells gives six. A count of distinct IDs gives five. The difference is the two O1001 items. Both counts can be correct for their own questions. Count lines if the work concerns packing-item rows. Count orders if the work concerns completed orders and order-level delivery times. Dividing ₹6,500 by six gives about ₹1,083.33 per line. Dividing it by five gives ₹1,300 per order.

Keep one known example in your checking notes. O1001 has Rice at ₹1,200 and Oil at ₹800. Together the order amount is ₹2,000. A useful check is “one order, two lines, ₹2,000.” It catches a chart that takes only the first matched line or a card that sums six lines correctly but calls them six orders.

Make a checked order-level source for the whole workbook

For the main chapter labs, use an Excel Table named tblOrders containing exactly one validated record per order. Derive it from the line extract and the order's delivery record. Date, city, platform and status belong to the order. The delivery minutes column belongs to that same grain, so O1001's time appears once. The small order list below is the expected source, which you can type manually after checking the line totals. Retain the line extract in a separate area so you can demonstrate the reconciliation.

Expected tblOrders. One row per delivered order. A blank delivery time is unknown.
Order IDOrder dateCityPlatformStatusLine countOrder amountDelivery mins
O10012026-01-05PuneAppDelivered2200012
O10022026-01-08MumbaiWebDelivered1150017
O10032026-02-02PuneAppDelivered170011
O10042026-02-10MumbaiWebDelivered11800
O10052026-02-15PuneWebDelivered150015

Before grouping a larger line file, check that fields you expect to be constant within an order agree. If O1001 had two city values, choosing the first row would silently misclassify an order. Escalate the inconsistent key or resolve it against a documented master source. An order number can also collide across regions or platforms if source systems mint keys independently. Verify the actual unique key before grouping. The six-line file has five nonblank unique order IDs and no conflicts in date, city or platform.

In a workbook with many lines, use a reviewed group-by process or a tested Data Model design. The one-order source is a simple compatible path for local PivotTables and their shared slicers. It supports order-level fields such as city and date. It drops the item-row product dimension by design. To answer “orders containing Oil,” a properly designed item-level model needs to count qualifying distinct orders under that product filter and define what amount follows the selection. A first-occurrence flag can lose an order when a filter hides the line carrying that flag.

Two lines for O1001, rice 1,200 and oil 800, become one checked order row, amount 2,000 and line count two.
One order can contain several recorded line amounts. Keep both original line evidence and one checked order-level row for this workbook.

Define the measures and their coverage

Name the unit and denominator for every card

  • Delivered order amount. Sum the verified order amounts for delivered orders in the selected scope. In the six-line example all five orders are delivered and all amounts are known. The approved amount is ₹6,500.
  • Delivered orders. Count validated order IDs once in the same delivered scope. The five rows in tblOrders represent five orders. If cancellations are included in a later dataset, use a status field to define separate placed and delivered counts.
  • Average delivered order value. Divide delivered order amount by delivered orders. The current answer is ₹1,300. Keep the numerator and denominator on the same scope. If no orders are eligible or the amounts needed for a complete cohort are unavailable, report that state.
  • Confirmed on-time rate. Use delivered orders with a verified numeric duration. In this example the limit is 15 minutes inclusive. There are three on-time orders, four timed orders, and five delivered orders. The confirmed rate is 75%, with coverage 4 of 5. The missing O1004 time is unknown.

The 15-minute limit belongs to the exercise. A real service may define “on time” relative to a promised delivery time for each order. That choice requires a consistent start and completion clock, a rule for events like scheduled orders, and a policy for missing, invalid or late arriving records. Here one order at exactly 15 is on time, one at 17 is late, and the blank is neither confirmed on time nor confirmed late. A business dashboard might be required to always report a separate missing-data rate. In this sample, one of five delivered orders lacks timing, so the missing share is 20%.

Pune has recorded amount ₹3,200 over three delivered orders, around ₹1,066.67 per order. Mumbai has ₹3,300 over two delivered orders, ₹1,650 per order. An equally weighted average of city ratios gives around ₹1,358.33 when calculated from unrounded values. The state dashboard cares about order-level average, so it combines amounts and counts and then divides. This gives ₹1,300, with each order receiving equal weight. It is normal for a district with fewer orders and a higher average to have less effect on the combined result.

Keep the larger March illustration separate

The original city dashboard exercise uses a different fictional March 2026 state summary with six cities. It reports ₹49,50,000 of delivered order amount, 14,000 placed orders, 13,200 delivered orders, 560 cancelled orders, and 11.6 minutes average for the delivered-order timing sample. The matching average delivered order amount is ₹375. The cancellation rate is 560 divided by 14,000, or 4.0%. The remaining 240 orders are outside the delivered and cancelled counts shown. The summary does not identify their statuses or supply the numerator and denominator for an on-time percentage.

Pune ₹18,42,500, Nagpur ₹9,86,300, Nashik ₹7,12,400, Sambhaji Nagar ₹6,05,900, Kolhapur ₹4,38,700 and Solapur ₹3,64,200 add up to the full ₹49,50,000. If you illustrate a dashboard with those numbers, label it March state summary. The small January–February lab has a different city list, time period and dataset. Its 75% rate and ₹1,300 delivered order value belong only to its six original item lines. Mixing values from the two examples will produce a coherent-looking page whose numbers describe unrelated populations.

Set up the workbook so the story can be traced

Separate input, summary and screen layout

  • Data sheet. Keep validated order rows in tblOrders with one header row, exact field names, real dates and clear types. Keep the original line file or its review copy and any source notes available nearby.
  • Calc sheet. Use compatible PivotTables and helper cells to turn rows into checked totals. Add a card cell per displayed measure and visible checks for scope and refresh. Allow enough room for each PivotTable to expand.
  • Dashboard sheet. Arrange the cards, charts, controls, scope and verified-through label. Link your displays to their calculations so the numbers update after the correct steps.

A chart and a card can use parallel results. For example, one PivotTable can group amount by city for a comparison and another can provide the total visible scope for the cards. The charts do not have to feed through the cards. The same compatible source and tested connections make the city filter consistent. A source Table's ordinary worksheet filter is a separate tool from a PivotTable's slicer. A normal SUM over all tblOrders amounts will not become city-aware just because a PivotTable's slicer changes.

Checked order table feeds compatible PivotTables. City and date controls filter those reports. Parallel branches create KPI cards and charts.
One checked source, tested PivotTable connections and two display branches. Verify each output after changing a filter.

Recognize chart wiring and shared filter boundaries

For a beginner build, create an ordinary PivotTable from tblOrders and create other compatible reports from the same source. Copying an existing compatible PivotTable can be an effective way to keep the intended source. Before you rely on this, check the field names and Report Connections. A worksheet can contain two visually identical PivotTables with different sources or a Data Model PivotTable disconnected from an ordinary report. The slicer only lists compatible reports. If one chart ignores a filter, test its underlying PivotTable and the selected connection before editing the shape.

For item-level analysis, Microsoft documents Distinct Count for Data Model PivotTables. An all-Model workbook can use appropriate relationships and measures when supported. Keep source architecture consistent for outputs that must share controls. Microsoft says Excel for Mac does not support the Data Model for creating these PivotTables. The regular order-level practice keeps counting understandable across platforms that support local PivotTables. Test Timeline and slicer authoring features in the desktop or web version your intended reader uses.

To connect a card to a visible PivotTable result, click the source result while creating its link or use an appropriate GETPIVOTDATA formula from a known pivot cell. The formula can work with visible report values and prompt useful errors when its pivot anchor or the requested item is unavailable. Make a separate status for no eligible orders. Don't turn every #REF or division error into an apparent zero. A card with a broken source and a card with a real measured zero should communicate different states.

Follow one order through the report

  1. Read the original lines

    O1001 contains Rice at ₹1,200 and Oil at ₹800. Both belong to Pune on January 5. The line file preserves both.

  2. Make the checked order row

    Put ₹2,000 and a line count of two in the unique order row. Attach the one confirmed 12-minute delivery time.

  3. Verify the summary

    Select one month and city in a small PivotTable. Pune in January includes O1001 alone, so amount is ₹2,000 and delivered count is one.

  4. Check everything the reader sees

    The card, city chart, period label and scope should all support a Pune January view. Compare the rate with its one timed order rather than reading 100% in isolation.

Practise a base report and a controlled update

Lab 1. Reconcile the base report

  1. Type both samples. Put the six item lines in a separate sheet or audited range. Create a Data sheet with the five checked order rows, format it as a Table and name it tblOrders. Verify every actually stored date, amount and status.
  2. Calculate three independent controls. Use =SUM(tblOrders[Order amount]), =COUNTA(tblOrders[Order ID]), and =SUM(tblOrders[Line count]). Expect ₹6,500, 5 orders and 6 lines. COUNTA is used here only after checking IDs are nonblank and unique at this source grain.
  3. Make the city summary. Insert a PivotTable from tblOrders. Put City in Rows, Order amount in Values as Sum, and Order ID in Values as Count. Expect Pune ₹3,200 and 3, Mumbai ₹3,300 and 2. Read both city rows and the grand total.
  4. Make a time summary. Build a second compatible PivotTable from the same Table. For a small two-month exercise, a source column Month start using =DATE(YEAR([@[Order date]]),MONTH([@[Order date]]),1) makes the month scope explicit. Keep it a true date, display with year, and put it in Rows. Sum Order amount. Expect January ₹3,500 and February ₹3,000.
  5. Try one city selection. Add a City slicer if supported, use Report Connections for the compatible summaries, then select Pune. The city summary shows ₹3,200 and the time summary shows January ₹2,000, February ₹1,200. Check the raw order list by hand for both months.
  6. Test timing separately. Confirm delivery minutes for four of the five orders using the source. Compare the validated values 12, 17, 11 and 15 against the 15-minute inclusive limit. The confirmed 3 of 4 is 75%, with one unknown.

One chart can show a city sum and another a monthly sum, and you can link simple headline cells from the same scope. Keep the first version straightforward enough to move one slicer, inspect the PivotTables and predict the result before beautifying the page. Every recorded amount in the baseline is a number. If your Values area uses Count on amounts, inspect imported types instead of changing the business interpretation. A table that mixes text and numbers can produce results that look closer to the order count than to sales.

Lab 2. Test what happens when an order arrives and a filter yields no orders

  1. Check the starting state. Clear supported filters. Save a disposable copy. Confirm ₹6,500, 5 orders, 6 lines, ₹1,300 average delivered order value and the current order cutoff of February 15.
  2. Add one approved row. Append O1006, February 20, 2026, Pune, App, Delivered, line count 1, order amount ₹1,000 and delivery minutes 14 to tblOrders. Also keep the corresponding item line in the evidence extract if you are tracking it. Check that the new row belongs to the Table and that its calculated Month start is February 1.
  3. Refresh and verify. Use the appropriate PivotTable refresh command and confirm completion. Expect ₹7,500 over six orders and seven lines, so AOV becomes ₹1,250. Pune becomes ₹4,200 over four orders, ₹1,050 per order. Confirmed timing becomes four on time of five timed, with coverage five of six.
  4. Check a defined empty selection. Use Pune and January 8 together if your timeline supports day-level selection for the true Order date and the controls allow that intersection, or apply equivalent Pivot filters in a practice copy. The only order that day was Mumbai. Expect no eligible orders. State “No eligible orders” under the card and show the applied scope.
  5. Clear the filters and verify again. Return to the refreshed full scope and reconcile ₹7,500 against the order rows. Check a known updated chart point, February ₹4,000 and January ₹3,500. Save and close your practice version with the intended opening selection.

The average falls even though order amount and order count rise. The new order at ₹1,000 is below the previous average of ₹1,300. The operation still recorded more total value. Report the two metrics independently. A manager wondering about a falling order value may follow up on mix, discounts or fulfillment, but this dataset can't prove those causes. It shows the specific new observation and the effect on the average.

In the empty selection the presence of a filter is known and the orders matched is zero. This differs from a verified order with an approved zero amount, which can legitimately produce a zero average at positive count under a matching policy. Both differ from a failed refresh, when the latest population is unverified. Keep those states separate in your labels and troubleshooting note. A dashboard that replaces every problem with zero can lead a manager to conclude there was no work to do while source records were still missing.

Compute the timing counts with two small, auditable fields

Add two columns to the practice order Table once the initial records agree with the expected list. Name them Timed and On time. Use explicit numeric indicators of 1 or 0 so you can add them in the same filtered PivotTable as the amount and order count. In this fixture a usable duration is numeric, nonnegative and part of a delivered order. If you use a live timing source, confirm a reasonable upper bound and definitions before choosing which values to accept. A three-day duration converted to minutes is numeric and could still be a data quality problem.

Timed
=IF(AND([@Status]="Delivered",ISNUMBER([@[Delivery mins]])),IF([@[Delivery mins]]>=0,1,0),0)

On time
=IF([@Timed]=1,IF([@[Delivery mins]]<=15,1,0),0)

Read the Timed flags down the baseline rows as 1, 1, 1, 0 and 1. The On time flags are 1, 0, 1, 0 and 1. The zero/zero pair for O1004 means “excluded from both counts” because the timing is unknown. The one/zero pair for O1002 means “timed and late.” They both contribute zero to the on-time numerator, and they differ in the denominator. The formula keeps the difference available for a useful rate and a separate coverage count.

For Pune all three durations are recorded and meet the limit. The rate is three out of three, with coverage three out of three. For Mumbai the one confirmed duration is 17 minutes and the other is missing. The confirmed on-time rate is zero out of one, with coverage one out of two. Show both figures while communicating that the second order's performance is unknown. If the only selected order is O1004, the delivered total is one while timed coverage is zero of one. The on-time share is unavailable. A positive count of orders alone does not make that timing calculation possible.

Check which displayed counts go with the rate. If the latest state is all cities, 75% over the four timed orders can appear alongside five delivered orders. If you filter Mumbai, the statewide 75% should stop showing and the updated display should say 0 of 1 timed, coverage 1 of 2 delivered. A card that still shows 75% while its count reads 2 is a signal to inspect the card's formula and source PivotTable connection. This test gives the reader a concrete way to investigate the report rather than guessing about chart colors.

Predict each result before you change a control

Write down an answer for several scopes and compare after every action. In January both cities record ₹3,500, with two delivered orders and ₹1,750 average. In February before the append there is ₹3,000 over three orders, with ₹1,000 average. If the workbook still shows one city applied, the monthly totals will be lower because the scope has narrowed. Clear that control or record the precise intersection you are testing. A visual filter makes the rule visible, while the underlying validated source lets you check the arithmetic.

Use an App filter as a second controlled example. Before the append, both App orders are in Pune, on January 5 and February 2. The amount is ₹2,700 over two orders, and the average is ₹1,350. The Web scope has three orders, ₹3,800 and about ₹1,266.67 per order. Both platform totals sum to ₹6,500, and both order counts sum to five. After adding the approved App order, App becomes ₹3,700 across three. Web totals should stay unchanged. A refresh that updates a city total without admitting the new App record in its platform view deserves investigation.

Try a delivered source row with date stored as text on a throwaway copy. It can appear visually similar to the real dates while staying out of a time grouping or preventing a date control from behaving as intended. Examine the source values, fix the parsing using a documented year and month order, then refresh and repeat the February check. Keep the original exported value in your evidence copy if you need to explain what was repaired.

Expose a legitimate mismatch in two metrics

Expect every shared city and time choice to apply consistently. Also expect some measures to use different population checks. Most cards are based on orders, while the on-time rate only uses orders with confirmed durations. A city can have increased recorded order amount and reduced timing coverage at the same time. That is a useful finding that warrants two different follow-ups. The manager can review amounts with finance and ask the delivery coordinator about incomplete timing data. A single overall traffic-light color would hide this distinction.

A simple handoff test is to ask a reader to predict what the view will show after choosing Pune on the city slicer and February on the date control. In the baseline the matching orders are O1003 and O1005, amounts ₹700 and ₹500, with both known times at or below 15. The report should show ₹1,200, two delivered orders, ₹600 average and 100% over two timed orders. In the refreshed data this scope includes O1006, so amount becomes ₹2,200 and count becomes three. Keep the source version and filter state clear whenever you compare the answers.

Build the complete dashboard in chapter order

Use a small evidence card at every transition

Start with the verified dataset version and write down one record you can find on both input sheets. Record the base amounts and counts, then a filtered amount and count you can check without Excel. Add the date you last confirmed all required source fields. During layout work, display the same records in the chart and cards. During refresh work, repeat the same checks against a known appended order. This makes it possible to spot where a changed report drifted from the source.

When you show a chart to a classmate, ask them what period is open, which cities are included and where the number came from. They should be able to point to the slicer state, table or chart label, and one calculation you can jointly inspect. Ask them to reset the view and repeat at full scope. This is a stronger test than seeing that the dashboard looks polished in the copy you created.

Write the handoff note the next analyst will need

Keep a short change note with the workbook. For this round write “Approved order-level source through February 20, six records, seven line items, status Delivered only, amounts in rupees.” Below it add “Default view all cities and both platforms.” The next analyst can compare those facts with the Table, even if a slicer held a different selection when the file was last saved. The note also tells them when to ask for an updated source.

Keep the example's assumptions nearby. There are no returns or cancellations in the small dataset, and recorded amounts are fully populated. A new load that includes allowed cancellations or missing amount values requires updated eligibility checks. Review those cases before copying the existing definitions into the next workbook. A reproducible dashboard explains what population it represents today and helps its owner decide when the original rule must evolve.

Check your understanding

Five quick checks

Is the sample six orders or six lines?

Six lines, five orders. O1001 appears twice with two products. A count of IDs in the line file counts entries while a validated order table has one row per order.

Which amount and count give the combined average?

₹6,500 divided by five delivered orders gives ₹1,300. City averages can be compared, but averaging them equally gives different weight to each order.

Why does confirmed on-time rate show 75% and coverage 4 of 5?

Three of four verified times met the 15-minute inclusive limit. Five orders were delivered, but the timing of O1004 is unknown. Coverage makes the denominator choice visible.

Why is the new average lower after an additional order arrives?

The new order amount ₹1,000 is below the previous average ₹1,300. The larger total of ₹7,500 divided by six orders is ₹1,250.

Why can a chart change with a city slicer while a card stays unchanged?

They may use different sources. An ordinary SUM of raw data does not automatically read a PivotTable's slicer. Check which reports are connected and which result each display uses.

Five interview questions with worked answers

Where do you start when designing a new dashboard?

I identify who will use it and what decision it supports. I agree the measured concept, exact data fields and scope, then choose a few displays and test them with known values.

How would you get a distinct order count when the export contains line items?

I validate keys and calculate the count in a coherent architecture. For these labs I derive one checked row per order. In a properly designed Data Model I can use a distinct measure under its supported filters.

How do you share one slicer across several supporting summaries?

I use compatible PivotTables on the intended source and connect each through Report Connections. I verify every chart and card with a city whose result I can compute independently.

What does latest source mean on a report?

It states the cutoff through which data was actually verified for display. A refresh command time or workbook opening time may be newer than the usable source. I keep both concepts separate.

How do you verify a no-data state?

I choose a real scope with no matching rows, inspect the base table or compatible report, and confirm the message says there are no eligible orders. Then I test a verified zero amount and a broken input separately.

Revision cards

  • Question first. Decide who reads the report and what action it should inform.
  • Grain. State what one row means before counting it.
  • Matched ratio. Sum valid inputs and divide by the corresponding count.
  • Data → Calc → Dashboard. Make each displayed number traceable.
  • Filter scope. Connect compatible reports and verify a known intersection.
  • Freshness. Confirm the source, summaries, visible state and cutoff after each update.

Keep the original chapter's dashboard totals and slicers card and dashboard checklist card for offline review. More exercises are available in the Excel Task Hub.

Microsoft references