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

5. Data Cleaning A–Z

Excel

5.17 Unpivot: Wide to Long (Concept)

Turn repeated month columns into rows you can filter together

Think of a city operations intern receiving a sales sheet for three months. Pune is one row and Nashik is another. August, September and October each occupy a separate column. It's easy to glance across one city. The challenge arrives when a teammate wants a consistent month filter, a rolling chart, or the same report after November is added. A single Month field lets the report apply one definition across periods.

This lesson uses synthetic city and order values inspired by the kinds of reports you could build around services like Blinkit or Amazon Now. All values are practice figures. You will change how the same observations are arranged, check which fields identify a record, and verify that no sales disappear or repeat merely because you reshaped the table.

  • Read the starting grain. One source row can represent an entire city with several monthly slots.
  • Identify one repeated measurement. Each month column in the first fixture holds that same kind of measure: monthly sales in rupees.
  • Keep identifiers. Preserve City and any other needed label or key. Turn only the relevant measurements into new rows.
  • Reconcile after unpivoting. Check the new row count against populated measurement slots, and compare values and totals under the same scope.

Name the record before and after reshaping

Read one wide row

Wide describes the layout where repeated measurement slots are spread horizontally. The columns can represent periods, regions or another repeated dimension. In the first fixture there are three monthly sales fields. To answer "What were both cities' September sales?", you look at one particular source column and add the two rows.

That wide report is useful for reading a small seasonal comparison. Some charts and formulas work with a wide layout. Unpivot it when the intended analysis needs consistent period filters, an extensible set of periods, or a separate row for each observed city and month. Coded assumptions about specific columns then become data values you can inspect or extend.

Read one long row

Long describes the result where an observation occupies one row with a separate field identifying which month it belongs to. Pune and 2026-08 are together in a row alongside 412,500. Pune and 2026-09 have their own row. The layout visibly repeats Pune. That repeated label identifies a different period on each line.

Grain is a statement of what a row represents. The exercise source has one row per city. The result has one row per city and month, assuming the original city row is unique and each month has one column. City by itself no longer identifies a unique row. City and month together do. Count cities, city-month observations and individual customer orders with different rules. Pivoting or grouping these long records does not somehow turn a city total into order details.

Pune's wide sales row has Aug, Sep and Oct 2026 values 412500, 586200 and 495300. Unpivot repeats Pune in three rows and keeps the month matched to its original amount.
Read horizontally in the wide source and vertically across city-month observations in the result.
Why does Pune appear three times?

Each row represents a distinct city-month observation. The stable city label is repeated so each measurement remains attached to its source entity.

Trace one city and one month into the result

  1. Find the original address

    Locate the Pune source row and the heading 2026-09. Their intersection holds ₹586,200.

  2. Keep the identifying value

    The output row keeps Pune in the City field. Keep any other needed fixed identifiers before choosing the columns to unpivot.

  3. Store the heading as data

    The source heading 2026-09 becomes the Month field's value. The amount remains matched to that month.

  4. Verify the new row

    Find Pune, 2026-09, 586200. Together with Nashik's 196400 it produces September's total of 782600.

Lab 1 · Unpivot the original city sales and test an added month

Goal. Preserve the two source cities and the three original period amounts for each, and verify that a controlled new month can appear after refresh. Use a new scratch workbook and worksheet Wide Sales. Enter the table in A1:D3. Put the month headers in as text so their labels are exactly 2026-08, 2026-09 and 2026-10. Enter amounts as plain numbers without punctuation for typed labels or currency symbols. Format the amounts after comparing results.

Wide source for the city sales lab
City2026-082026-092026-10
Pune412500586200495300
Nashik148900196400162700

Transform a copy with Power Query where supported

Power Query records steps for importing and changing a table. Excel for Windows includes it in supported editions, generally under Data and Get & Transform. Microsoft documents capabilities for Mac and web separately, and the available editor, source and commands vary. You can complete both labs by hand if your edition does not offer the necessary editor. The checks still apply.

  1. Confirm the source table's borders. Select a cell in the source, then choose Data and the command for importing from Table/Range on an edition that provides it. If prompted, confirm that the first row contains headers and the range is A1:D3. Name or identify the corresponding Excel Table as CitySalesWide so you can verify the source later.
  2. Unpivot the intended measurement fields. In the Power Query preview, select just the City header. Choose Unpivot Other Columns under the Unpivot options on Transform, or use the available header menu. This command preserves the selected City field and transforms the other input columns into attribute-value pairs.
  3. Rename and check types. Rename the generated Attribute column to Month and Value to Sales. Here Month is a text label and Sales is numeric. Ensure that none of the six output values contains a type error. An incorrect header or mixed text amount can cause trouble in a later step even when row count looks correct.
  4. Load to a separate worksheet. Use the appropriate supported Close & Load option and keep the original Wide Sales input intact. Load the three output fields to A:C with headers in row 1 for the listed checks, or adjust formula addresses to the loaded table.
  5. Compare the exact observations. The original two cities and three populated months give six rows. Sort by City and Month if you want to compare row by row, and verify the individual amounts before checking the sum.
Long result to build with Power Query or by hand
CityMonthSales (₹)
Pune2026-08412500
Pune2026-09586200
Pune2026-10495300
Nashik2026-08148900
Nashik2026-09196400
Nashik2026-10162700

Build the same result without the editor

Create a separate sheet Long Sales with City, Month and Sales as A1:C1. In one row write Pune, 2026-08 and the original value 412500. Continue across the two remaining source cells in the Pune row, then repeat the process for Nashik. Format B as Text before entering month labels, to keep the exact format in the check. Verify each amount against the matching source heading and city. This manual exercise reproduces the shape and record grain. It does not create a refreshable Power Query.

Expected checks. Count six numeric sales values in C2:C7. =SUM(C2:C7) gives 2,002,000. The independent source range B2:D3 also totals 2,002,000. September alone gives 782,600, which you can check from the wide September column or with =SUMPRODUCT(--(B2:B7="2026-09"),C2:C7) on the long sheet with exact text month labels. The two August amounts sum to 561,400, and October sums to 658,000.

Append one source field under a fixed contract

In the scratch source add the text header 2026-11 and values 510000 for Pune and 170000 for Nashik. Confirm this new column is part of the actual source Excel Table, using its resize control if necessary. Refresh the query and check that its source and applied steps deliver the new column to the same unpivot stage. You should get two additional rows when the source contract remains City plus monthly numeric columns. In a manual practice version, append the two long rows by hand.

Expected extension. The output now has eight rows. November contributes 680,000, and the full amount increases to 2,682,000. The September check remains 782,600. If November is missing, inspect the source step and each intermediate table for a fixed range or a step that kept only some columns. If November appears but Sales contains a type error, inspect the new source type and the order of transformation steps. Restore the initial three-month scratch data or close the workbook when done.

Lab 2 · Reconcile category totals when zero and missing mean different things

Goal. Convert order-category slots into long rows and explain why the number of actual output rows can change. In the fictional training source each wide row has one order ID. The Fruit and Pantry columns hold portions of order value in rupees. A recorded zero is a measured value. An absent input arrives as a true null in the Power Query preview.

Order category source · add rows in the stated phases
Order IDFruit (₹)Pantry (₹)Phase
BK-20110050Initial
BK-2028040Initial
BK-203Missing0Add after initial check
BK-204MissingMissingAdd last

Use only Order ID, Fruit and Pantry in the practice source. Phase tells you when to add the row and does not belong to the input table. Leave cells marked Missing physically empty and verify that the query preview shows null at them. Typing the word Missing creates text. A formula returning empty text may also arrive differently, depending on the import. The documented null outcome in this lab depends on what the query actually sees.

  1. Start with two complete orders. In a new scratch table place BK-201 and BK-202 with their two numeric category amounts. In Power Query keep Order ID and unpivot the other columns. Rename Attribute to Category and Value to Category Sales. For a manual version type one result row for each of the four populated cells.
  2. Reconcile complete inputs. Expect four output records, two distinct order IDs and 270 in category sales. Fruit contributes 180 and Pantry contributes 90. At this grain, four is the number of order-category records.
  3. Add BK-203 and inspect the preview. Confirm the first source amount is null and the second is the number zero. After unpivot, the documented null behavior produces no Fruit row, whereas Pantry gets a row with sales 0. Expect five records and still 270. A manual version leaves out the absent observation and includes the explicit zero.
  4. Add BK-204 and inspect coverage. Confirm both source amount fields are null. In the simple unpivot it produces no output row. Expect the long source to still have five rows and three observed order IDs, while the original includes four orders.
  5. Record the missing states. The final source offers eight possible category slots across four order IDs. Three slots are missing, and five observations appear. Do not use the long table as an unconditional list of all orders. Preserve the four source IDs and explicit missing cells for completeness work.
For order BK-203 Fruit is null and has no output row; Pantry has a real zero and produces a Pantry output row with 0.
Reconcile the number of numeric observations and missing slots separately from total sales.

Recover and verify. If BK-203 has two result rows, inspect whether Fruit contains a string, empty text or another value rather than null. If the measured zero disappeared, check whether a source step filtered or replaced zero. If you see row count five and amount 270 but four order IDs are still needed for a coverage report, use the separate source order list. Close the scratch workbook or return it to the two complete base orders.

Choose which fields are allowed to become observations

Preserve every identifier needed for the intended row

The lab retains City because each city appears only once in its wide source. If the source separates stores or channels inside each city, keep the fields that distinguish those rows. A store-level source could have City, Store ID and Channel before its month fields. Preserve all three when the intended long table contains one observation per store, channel and month. Otherwise a field such as Channel could end up where you expect a month, or a report could group two distinct stores as one.

Inspect the source at the last step before Unpivot. If it has a Region descriptor in addition to City, and you keep only City, Unpivot Other Columns also turns Region into a generated Month value. If Region contains "West", the Sales field then receives West for that row. A later numeric type step may produce an error. The underlying issue is incorrect selection. Repair the kept columns or choose only the known measurement fields. After that change, verify actual month labels and numeric values.

Compare the three Power Query options

Choose an unpivot option based on what the source is allowed to add
OptionSelect before applyingUse when
Unpivot Other ColumnsThe fields to keep, such as CityEvery other field reaching the step is a measurement you intend to reshape.
Unpivot Only Selected ColumnsThe exact measurement columns, such as three specific monthsThe chosen measurement list is deliberately fixed. Review what happens to other columns, including future fields.
Unpivot ColumnsThe starting measurement columnsCheck the generated step and test an extra field. Microsoft's documented scenario also unpivots new columns at refresh.

The commands can give the same result for a simple initial table. Their behavior when new columns arrive matters more than a matching preview. Use the exact Unpivot Only Selected Columns option when you want a fixed set. With a complement-based selection, a newly added field can be picked up if it actually reaches the unpivot step. Keep or filter known descriptors deliberately. If the source adds unrecognised columns, have a process for confirming that they are acceptable periods.

In the known City fixture the conceptual Power Query step is Table.UnpivotOtherColumns(Source, {"City"}, "Month", "Sales"). Read each argument in order. Source supplies the table. City identifies the column to retain. Month is where the original headers go. Sales is where their corresponding values go. The worksheet menu creates the step for you. If you change a named input step you need to use that actual name instead of Source.

What happens if you add a numeric Store Code column without retaining it?

The complement-based rule can turn it into a measurement row. Numeric type checks alone can miss this because the code may itself be numeric. Verify allowed heading values and preserve the known descriptor.

Keep the time label, the date and the measure separate

Use a full month identity across different years

Month labels such as Aug and Sep are readable when all data belongs to one documented year. They become ambiguous if the query joins 2025 and 2026 results. The source can include a separate Year identifier, or put the year into the period headings as this lesson does. 2026-08 and 2025-08 then remain different observations. The display can still show August where a reader knows the intended year.

Text 2026-08 gives a stable label but does not by itself store a date. For a date-based chart or month grouping, add a separate typed Month Start field. In Power Query create a custom column where Date.FromText([Month] & "-01", [Format="yyyy-MM-dd", Culture="en-US"]) converts the approved label to the first day of its month. Set the custom field's type to Date and preserve the original label for reference. The expression assumes the lab's exact YYYY-MM format. If a new metadata row were accidentally included, it might fail this conversion. Check the heading whitelist before attempting it in production.

In a worksheet manual version where B2 contains exact text YYYY-MM, =DATE(LEFT(B2,4),RIGHT(B2,2),1) constructs a real date from the year, month and first day. The formula assumes the original text is valid. DATE can normalise out-of-range months, so use this only on verified labels. For Pune's first lab row the expected date is 1 August 2026. Display it like Aug 2026 while preserving the real date value for timeline operations.

Unpivot one measurement family at a time

Suppose a source has City, August Sales, August Orders, September Sales and September Orders. If you unpivot everything except City, the common Value field receives both money and counts. A sum across that raw Value column mixes units. Choose a clear design. One output may contain City, Month, Sales and Orders, each with its own type. Another may include City, Month, Measure and Value if the report filters each measure separately.

For the first design, you can reshape the sales and order columns separately, confirm uniqueness at each City and Month pair, then match those two long tables by their complete shared key. The key checks matter because a wrong join can repeat amounts or match a different month's counts. For the second design, split the known heading into a period and a measure field based on an explicit naming rule, and summarise each measurement family independently. Both designs keep the units readable. Together they explain why a convenient shape change is distinct from deciding what to aggregate.

A small control. A fictional city's August Sales is ₹1,000 and August Orders is 5. September Sales is ₹1,200 and September Orders is 8. Keep ₹2,200 as the two-period sales total and 13 as the order count. Calculating 2,213 merges incompatible units. If you want the rate across both months, compute 2,200 divided by 13, about ₹169.23. This weights by orders, whereas the average of monthly rates ₹200 and ₹150 gives ₹175. Preserve both numerator and denominator from the same complete groups.

Why keep a typed date when you already have a Month label?

The original label lets you trace the source heading. A typed date lets date-aware reports sort, group and filter by the actual period. The two fields have different uses.

Prove that reshaping kept values attached to the right keys

Check individual groups in addition to the overall sum

Summing the whole output can miss a key mismatch. If the two September city values in Lab 1 are swapped, September still sums to 782,600 and the complete file still sums to 2,002,000. Pune and Nashik would nevertheless each show incorrect September amounts. Check a few exact city-month groups and compare the partition totals by city and month to catch more kinds of mistakes.

  • Source controls. Record the number of input city rows, the original monthly labels and the numeric measurement count.
  • Observation keys. For the long output, verify that each intended City and Month appears once. If a source row legitimately repeats a city, first determine the missing part of its key or the aggregation rule.
  • Month comparisons. Identify a chosen source heading and compare its source subtotal with the subtotal for that label in the long result.
  • City comparisons. Pune totals 1,494,000 and Nashik totals 508,000 in the initial fixture. Clone those checks in the output.
  • Absence checks. Note which source slots are null. Check recorded zeroes separately because they remain observations in the example.

In the six-row long worksheet you can use =SUMPRODUCT(--($A$2:$A$7=A2),--($B$2:$B$7=B2)) in D2 as a small key count, then fill down. These arguments test the current City and Month against the same six fixed rows and count positions where both match together. Each result should be 1 for this starter fixture. If the count says 2, inspect the matching records and the expected row grain first. Do not simply remove one entry because it looks repeated. It could be a duplicate import or a legitimate extra store or channel that the key omitted.

Keep expected combinations when the report is about completeness

Lab 2's long measurement table only shows observed values. To display every expected category with an explicit missing status, build a separate grid of expected order and category pairs. Begin from the four original unique source IDs and the two confirmed categories. Make one record for each pair, giving eight rows. Match the five observed outputs to those pairs using Order ID and Category together.

Leave the three absent amounts unmeasured and label their status. BK-203 Fruit is absent and BK-203 Pantry is a recorded zero. Both BK-204 categories are absent. The resulting completeness table has eight expected slots, five observed measurements and three missing measurements. The amount remains 270 from observed values. Keep the original source IDs so the audit can still show all four orders. A completeness grid answers a different question from the unpivoted list of measured values.

If you later build this as a query, retain all expected pairs when matching observations and inspect the unmatched pairs rather than replacing them with numeric zero. Test the key before merging. If one output pair occurs twice, one expected pair can expand to multiple result rows. Compare the count and a specific known pair before relying on the grid.

Separate accumulating time periods from duplicate snapshots

If successive wide exports contain the full year so far, appending the long result of each export can repeat earlier city-month observations. Imagine September's export reports one August row for Pune and October's export repeats the same August result. The unpivot step faithfully produces two August observations across those versions. Pick a review rule based on what the source means. Use one confirmed snapshot for a current report, include a snapshot identifier for change tracking, or decide explicitly which version is authoritative.

When sources contain disjoint complete periods with the same field definitions, appending long tables can add rows over time. Align their field names and validate their grain and unit. Power Query Append aligns columns by name. A misspelling can create a separate column with nulls for records from another input. Confirm the resulting columns match the intended contract and that the newly appended periods remain unique under the complete key.

Why would the correct grand total fail to prove a successful unpivot?

Consider two amounts exchanged between city labels. A sum can stay constant while the observations are linked to the wrong city. Check the actual city-month keys and values.

Rehearse a source change before updating a report

  1. Inspect the Source step. Confirm it references the Excel Table with the added column. The table boundary matters even when a new header is visibly adjacent in the worksheet.
  2. Inspect each intermediate output. Look for a Removed Columns, selected-columns step or fixed source definition that blocks a new period. Use the actual applied steps for your workbook.
  3. Check the identifiers you kept. An unexpected descriptive column becoming an attribute signals a shape rule issue. Adjust the fixed fields or the accepted month list and then rerun your controls.
  4. Check types and error rows. A text label is suitable in Month under the starter rule. A source amount that still contains a token or a different unit needs its own review.
  5. Check where the query loads. Ensure the visible Excel table is the loaded output and that the dependent report uses it. A saved or named range elsewhere may still address the old output.
  6. Run a known-month check after refresh. The new November rows should add 680,000. The already verified September total and two city identities should stay consistent.

To demonstrate how a source update differs from a transformed output, make one controlled change at a time. Record the last known output and verify the input modification. If an old October value unexpectedly changes after adding November, pause and inspect the source modifications rather than assuming this is a normal reshape. Reconciliation can identify which period moved and whether a corrected source actually explains it.

Power Query can also pivot values into headings for a display layout. A pivot can aggregate multiple observations into one cell when the target coordinates repeat. That summarization may lose the ability to recover individual records. A presentation pivot is useful for a human-readable monthly report. Keep the original or stable long table for other analyses that need the detailed record identities.

Can you rely on a refresh to include a new month every time?

Confirm the real input contains that month, earlier steps carry it forward, the selection rule includes it, and the report reads the refreshed output.

Check headers and totals before choosing fields to reshape

Keep a total column separate from monthly observations

A monthly workbook often contains a convenient period total at the far right. Suppose you add Total Aug–Oct to the city scratch source and calculate 1,494,000 for Pune and 508,000 for Nashik. The new fields repeat amounts already available from the three period columns. If you retain only City and unpivot everything else, the long table contains eight rows. Its Value column includes the original six monthly observations and two three-month totals. The resulting sum is 4,004,000. It seems plausible because the column is entirely numeric, while the two additional measures duplicate the same scope.

Check the attribute label itself. Total Aug–Oct is a derived result, with different meaning from a label like 2026-09. Define the allowed month headings and either remove the redundant summary early or retain it deliberately as metadata in a separate check. If you keep it attached to every generated row, do not add that repeated summary value across months. It is a control, not a new observation.

Rehearse a source readiness test

  1. Check headings for uniqueness and one clear header row. Multiple headings or merged title cells can appear in designed reports. Put only the real fields in the rectangle given to the query. If Excel changes a duplicate heading name, compare the underlying period meaning in the source before you continue.
  2. Keep data rows at their declared grain. A totals row after the cities can be useful for an analyst. Remove it from the measurement input or identify it explicitly so it does not become a third city. The original two-row dataset has two independently traceable city labels.
  3. Keep derived totals out of period values. For each source of new columns, require recognized month labels or have the source owner approve the new names. Record a separate check for the intended total.
  4. Handle new fields as a controlled change. Add a legitimate fourth month and record the expected two new observations. Add a non-period column in a separate scratch copy and verify how the current query handles it. Roll back the scratch change after the test.

If you are the person exporting the data, keep the raw numbers and headings in a plain rectangular table and put display totals in a separate report. If you only receive the existing designed workbook, preserve its original, then prepare a rectangular staging range or filter explicit report rows in a query. Give any newly prepared field a stable unique name. This makes it easier to locate the cause when a future batch gains a new measurement.

Calculate two checks from the modified practice file. First, verify the long table contains only expected month labels. It should have three before November and four after November. Second, compare the total of measured monthly sales under the same scope. The original amount is 2,002,000. The different 4,004,000 output reveals the double inclusion. A valid numeric type alone cannot establish that a field belongs to the intended measure.

Explain the scope when you hand off the reshaped table

Write a short note that labels the source table and its period coverage, the fixed identifiers and the measurement, and the expected treatment of absent inputs. For the initial city sample, state that the output contains monthly city sales for August through October 2026, has six populated city-month observations and sums to ₹2,002,000. The November test is a different snapshot with eight records. Record its version separately if another report depends on the initial result.

If the same report uses the category exercise, note that it tracks observed amounts and preserves a separate order list for completeness. A filter on Pantry can show three measured lines after BK-203 is added. A count of orders across the source still includes BK-204 even if all of its slot measurements are open. Choose the source grain that answers the reader's question and record the check beside any exported count.

How can every row be numeric and the final sum still be wrong?

Derived totals and recurring monthly amounts can share a numeric type while referring to overlapping scope. Exclude derived summary fields from the repeated measures and inspect the label contract.

Check your understanding

1. What becomes a Month value after the city file is unpivoted?

A. The old month heading. B. The city's key. C. The original sales amount.

Answer A. The column heading supplies the attribute value. Its matched measurement becomes Sales for that city and month.

2. What identifies one record in the initial long sales table?

A. City alone. B. Sales alone. C. The City and Month pair.

Answer C. Each city and each month can appear more than once, but every expected combination is unique at the fixture's grain.

3. What does BK-203 contribute with Fruit null and Pantry 0?

A. One Pantry observation at zero. B. Two observations at zero. C. No observation.

Answer A. The documented unpivot omits a true null cell and retains the observed numeric zero. The two source slots are distinct.

4. Why does adding Region cause trouble with Unpivot Other Columns when only City is kept?

A. It removes the City label. B. Region can enter the attribute-value output as if it were a measurement column. C. It forces sales to zero.

Answer B. The complement-based operation transforms every other column that reaches it. Explicitly keep approved descriptors or specify the intended measurement set.

5. The full sales amount is 2,002,000. What other check helps catch two cities whose September amounts were swapped?

A. The number of output columns only. B. The chart colour. C. Compare each September city-month amount with its source cell.

Answer C. Reassigning values can preserve both full and monthly totals. Verify the complete output key and its exact measure.

6. Should four long order-category rows in the complete sample be reported as four orders?

A. Yes, because each row has an ID. B. No, there are two original orders and four category observations. C. Yes, because all values are numeric.

Answer B. The reshape changes the row grain. Count source order IDs or use a deduplicated order list for that independent metric.

Interview questions with worked answers

When would you unpivot a monthly export?

I do it when the output needs a consistent period field for filtering, comparison or repeated refresh. A wide file can remain convenient for reading. I create a long analytical result with the source identifiers, original month label and typed sales field.

How do you tell if a reshape changed the reporting grain?

I describe what each input and output row represents. The example starts with one row per city. After conversion the natural row identifies a city and month. I use that new key and check its expected distinctness before reporting totals or counts.

How do you make new columns work without including unintended descriptors?

I define the expected source schema, preserve identifier fields, and choose the fixed or flexible selection that matches the source contract. I test one valid next month and one unexpected descriptor. The validation checks the actual heading values that reach the result.

How do you show missing observations?

I retain the fixed source IDs and expected slots. An ordinary unpivot omits true nulls, so I reconcile the expected combinations to the observed rows and preserve missing as a status. Numeric zero remains a measured observation in the example.

What do you compare before publishing a new shape?

I check input counts, expected observations, row keys, type errors, a known row and several group totals. The raw and long totals should agree under the same set of valid measurements, and the group checks catch misplaced values the full sum could miss.

Quick recall cards

  • Starting grain

    Describe each wide row before choosing what it will become.

  • Attribute and value

    The heading becomes an attribute. Its original cell becomes the measurement.

  • Selection rule

    Keep the complete identifiers and confirm which new source columns should be included.

  • Missing and zero

    A typed null can disappear in an unpivot. A measured zero remains a recorded observation.

  • Totals and identity

    Compare each selected group plus the overall amount, and check the new composite keys.

  • Refresh

    Verify the worksheet table, applied steps, loaded result and known-period control.

The next lesson applies a complete cleanup to a messy order export. It keeps raw records and handling decisions identifiable before the output enters another report.

Official Microsoft references