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

10. Power Query in Excel

Excel

10.8 Parameters

Change a report input without rebuilding its steps

A useful report should survive ordinary changes. A training folder moves to another location. A manager changes the minimum order amount from ₹199 to ₹200. The preparation steps remain sensible, but one input is different. A parameter gives that input a clear name and a deliberate place to change it.

Think of a report with a small control panel. One input selects the approved source folder. Another sets an amount threshold. The query reads those values and applies its existing instructions. Students should understand both halves: what the input means and exactly where the query uses it.

All records and amounts in the following labs are fictional. The order example resembles a minimum-basket-value analysis that a team might discuss for an app such as Blinkit or Amazon, but it does not represent their actual policies or data. The statement files contain invented training transactions and no real bank-account information.

1. Understand the input before opening Manage Parameters

A named value replaces a repeated literal

A literal is a value written directly into an expression, such as 199 or a folder path inside quotation marks. If several queries repeat the same path, a relocation may require several edits. A shared parameter can provide that path to every query that actually references it.

Creating a parameter alone does not update old expressions. A query that still contains the original literal remains independent of the new value. After replacing the relevant arguments, trace the dependency and test a change. Do not assume that matching names or descriptions create a connection automatically.

  • Name: identifies the input in the query system.
  • Value: the actual text, number or date supplied to a step.
  • Type: describes the kind of value expected.
  • Meaning: explains its unit, scope and accepted business rules.

The name is not the text of the name

In M, Folder.Files(StatementFolder) uses the value represented by StatementFolder. By contrast, Folder.Files("StatementFolder") supplies the literal text StatementFolder as the path. The latter does not look up the parameter and is not a valid absolute folder path in this example.

Likewise, numeric 199 differs from text “199” when a step expects a number. A worksheet cell can look numeric while storing text. Formatting a cell as Currency changes its appearance; it does not by itself prove that the stored value is a valid numeric threshold.

Two input mechanisms serve different users

A native parameter is created and managed in Power Query. It has parameter metadata and appears in Manage Parameters. A worksheet-driven scalar query reads a value from a workbook Table or named range and returns one value. Both can supply an argument to another query, but they are configured differently.

Use a native parameter when the report maintainer works in the editor. A clearly labeled worksheet input can be easier for someone who only needs to change a threshold and refresh. In either case, explain whether the report has been refreshed since the latest input change.

2. Lab 1: create the original StatementFolder parameter

Prepare two small approved training files

The original lesson uses a Text parameter named StatementFolder with a Windows example path of D:\Statements\SavingsAC\. Keep that name for this lab. The path is an example, not a promise that a D drive exists on your computer. Create your own practice folder using a location you are authorized to use, and enter its actual absolute path.

In that folder, save two plain CSV files with the following exact content. Use June.csv and July.csv as their filenames. Each file has a header and two transactions. Debit and Credit are numeric amounts in INR. In this deliberately simplified fixture, an inactive debit or credit leg is explicitly recorded as zero.

Date,Reference,Debit,Credit
2026-06-01,JUN-001,0,65000
2026-06-02,JUN-002,412,0

The first block is June.csv. The second is July.csv. Do not paste both blocks into one file or include the surrounding explanation as file content.

Date,Reference,Debit,Credit
2026-07-01,JUL-001,0,65000
2026-07-02,JUL-002,500,0
  • Approved files: two, named June.csv and July.csv.
  • Transaction records: four after the two headers are handled as headers.
  • Total Credit: 130,000.
  • Total Debit: 912.
  • Net movement, Credit minus Debit: 129,088.

Net movement is not a closing balance. The fixture has no opening-balance field, so you cannot infer the account's ending balance from this number alone. This small distinction keeps the parameter lab from teaching an incorrect financial interpretation.

Set the parameter properties

  1. Open Power Query Editor through the available Get Data or query-editing command in desktop Excel.
  2. Choose Home → Manage Parameters → New Parameter.
  3. Set Name to StatementFolder.
  4. Add a description such as “Absolute path of the approved fictional statement folder.”
  5. Set Type to Text and Suggested Values to Any value for this first experiment.
  6. Enter the actual folder path as Current Value and confirm it.

For the Windows folder-filter example below, keep the trailing backslash in the value because Folder Path metadata includes that separator. If you use another supported environment or connector, inspect its actual path representation instead of copying a Windows path literally. Connector availability and editor commands differ by Excel platform and edition.

Connect the folder query to the parameter

Use the From Folder connector to inspect the practice folder and choose the transformation option before combining files. Replace the literal Source argument with the parameter. If the source dialog exposes a Parameter selector, select StatementFolder there. Otherwise, inspect and edit the relevant Source expression carefully.

Source = Folder.Files(StatementFolder)

Folder.Files returns a file inventory containing file metadata and content references. It includes files in subfolders as well as files directly inside the selected folder. Before combining, inspect Name, Extension and Folder Path. A backup copy inside a nested folder can be discovered too.

For this specific lab, keep exactly the two named CSV files directly in the selected practice folder. The following illustrative step uses the parameter in the folder restriction as well as in Source. It assumes the Windows Current Value exactly matches the Folder Path format, including its final separator.

ApprovedFiles = Table.SelectRows(
    Source,
    each [Folder Path] = StatementFolder
        and [Extension] = ".csv"
        and List.Contains({"June.csv", "July.csv"}, [Name])
)

Combine and validate the records

After confirming the inventory contains only two approved files, combine their content using the folder-combination workflow from the earlier lesson. Inspect the sample transformation so the first row becomes headings, not a transaction. Retain a source-filename field in the combined result for traceability.

Declare Date using the supplied year-month-day representation and validate the four expected dates. Keep Reference as Text and Debit and Credit numeric. No missing or invalid numeric values are present in this fixture. A production statement with blanks, corrections or different schemas requires its own explicit rules.

Load the result to a new worksheet and check four transaction rows, Credit 130,000 and Debit 912. Also confirm the four reference IDs, because matching totals alone would not prove that the same underlying records were loaded.

3. Test a relocated folder and a wrong folder

Change the location while keeping the approved data constant

Create a second training folder in another authorized location and copy the two practice files into it unchanged. Keep the original folder as a recovery copy while learning. Do not move or overwrite real statements for this exercise.

  1. Record the baseline folder path, filenames, four reference IDs and numeric controls.
  2. Change StatementFolder's Current Value to the new practice folder.
  3. Refresh the file inventory and confirm the two approved names.
  4. Inspect the combined query for four transaction records.
  5. Refresh and inspect the loaded worksheet Table.
  6. Expect the same four references, Credit 130,000, Debit 912 and net movement 129,088.

The location changed, while the intended input population stayed the same. If the output becomes empty, inspect any downstream Folder Path filter that still contains a literal old location. A parameter must reach every relevant step; replacing only Source is insufficient when later steps independently restrict the old path.

A successful connection can still be wrong

Pointing to a different existing folder may produce a successful query with different files. A folder name resembling SavingsAC is not evidence of its contents. Compare the file inventory, reporting period, schema, identities and totals with the declared source contract.

For a controlled fault, place a copy of June.csv inside an Archive subfolder. Folder.Files can discover that third file. With the direct-folder restriction shown above, the approved inventory should still contain only the two root files. Without that restriction, combining both June copies would repeat its two transactions.

The incorrect three-file result would have six transaction rows, Credit 195,000 and Debit 1,324. Its net movement would be 193,676. These are not new transactions; they are the effect of importing a repeated file. Restore the approved two-file scope after observing the fault.

An invalid path is different from an empty approved inventory

A nonexistent or inaccessible folder can produce an access or source error. A valid folder may contain no files matching the approved names. These are different situations and should have different explanations in a maintained report. Investigate the source and selection rules instead of replacing either condition with a reassuring zero-total report.

Parameterization does not create folders, copy files, grant permissions or make a Windows local path available to another computer. The person refreshing the workbook needs the correct environment, location and access. A workbook sent to a teammate does not automatically carry the external source files with it.

4. Lab 2: control an inclusive amount threshold

Create a complete five-order source

On a sheet named OrderSource, enter this fixture in A1:C6. Each row represents one fictional order. All five records are in the approved population for this exercise; there is no hidden Status filter. Amount is in INR, and Order ID uniquely identifies each record.

OrderSource A1:C6 — fictional threshold practice
Order IDCityAmount
Q-101Pune150
Q-102Nashik199
Q-103Pune200
Q-104Kolhapur350
Q-105Solapur500

Create the Table tblParameterOrders and import it as OrdersBase. Check five rows, five unique Order IDs and total Amount 1,399. Set Amount to a numeric type and inspect conversion errors before filtering. The source query remains the complete five-order population.

Create a native numeric parameter first

  1. In Manage Parameters, create MinimumAmount.
  2. Choose Decimal Number as its type for a threshold that may include fractional currency values.
  3. Enter numeric 199 as Current Value.
  4. Describe the rule as “Keep orders with Amount greater than or equal to this INR amount.”
  5. Create a Reference from OrdersBase named OrdersAboveNativeMinimum.
  6. Filter Amount using greater than or equal to MinimumAmount.

The corresponding selection step can be written as below after the numeric field has been validated. The explicit null check keeps missing source amounts outside this selected population. Missing amounts should also be reported separately if they occur; being excluded is not proof they were below the threshold.

Table.SelectRows(
    OrdersBase,
    each [Amount] <> null and [Amount] >= MinimumAmount
)

Predict the selected records before refreshing

Expected outcomes for inclusive thresholds
MinimumIncluded amountsRowsTotal INR
199199, 200, 350, 50041249
200200, 350, 50031050
350350, 5002850
0150, 199, 200, 350, 50051399
501None00 selected amount

The last row describes an empty selected population, not a claim that the original orders have zero value. A worksheet SUM of the empty loaded result can display zero, while other query aggregations may represent an empty result differently. Keep the selected-row count beside the displayed total.

At 199, the order worth exactly 199 is included. If you accidentally choose strictly greater than 199, only 200, 350 and 500 remain, totaling 1,050. This boundary test proves more than checking one value far above the threshold.

Changing the parameter changes which records the query returns. It does not change the original source amounts, add a discount or edit the customer order. Keep the full OrdersBase query available so the selected subset can be reconciled with the whole population.

At inclusive minimum 199 the selected amounts 199, 200, 350, 500 total 1,249 across four rows. At minimum 200, amount 199 drops out, leaving three rows totaling 1,050.
A one-rupee threshold change removes the entire ₹199 order from this selection.

5. Let a worksheet supply the threshold

Give the user one clearly labeled input

Create a Control sheet. Enter MinAmount in B2 and numeric 199 in B3. Select B2:B3, create an Excel Table with a header and name it tblParameterInput. It should contain exactly one data row and one column. Put the instruction “Change this INR minimum, then refresh and verify the report” beside it.

The Table name, column name and worksheet name are different objects. The scalar query below reads the Table named tblParameterInput and the field named MinAmount. Renaming the worksheet alone does not change those identifiers. Renaming the Table or its header can require a query update.

  1. Click inside tblParameterInput and choose Data → From Table/Range.
  2. Inspect the imported one-row, one-column input.
  3. Name the query pMinAmount.
  4. Use the following validation and extraction logic in Advanced Editor.
  5. Confirm that the final result is one numeric value, not a table or list.
  6. Keep this supporting query connection-only where the interface offers that option.
let
    Input = Excel.CurrentWorkbook(){[Name="tblParameterInput"]}[Content],
    CheckedShape =
        if Table.RowCount(Input) <> 1
            or Table.ColumnCount(Input) <> 1
            or not Table.HasColumns(Input, "MinAmount")
        then error "Use one row and one column named MinAmount."
        else Input,
    Raw = CheckedShape{0}[MinAmount],
    CheckedNumber =
        if not Value.Is(Raw, type number)
        then error "Enter a nonblank numeric minimum amount."
        else Raw,
    Result =
        if CheckedNumber < 0
        then error "Minimum amount cannot be negative."
        else CheckedNumber
in
    Result

Read the validation in ordinary language

The first line locates the named Table in the current workbook. A missing Table name causes a source lookup error instead of silently choosing an unrelated table. CheckedShape verifies the structure. Only after that check does the query extract the first row's MinAmount value.

The row index zero in M means the first data row. It is a language indexing rule, not a numbered lesson point or an instruction to create a worksheet row zero. A one-cell input becomes a scalar only after the query extracts the value from its containing table.

CheckedNumber rejects null and numeric-looking text because neither is a numeric value under this strict lab rule. Result rejects negative values. Zero is accepted deliberately because it means “include nonnegative amounts at or above zero.” No default value is silently substituted for a blank input.

Use the scalar query in a separate result query

Create another Reference from OrdersBase named OrdersAboveWorksheetMinimum. Its selection step uses pMinAmount without quotation marks. Keep this query separate from the native-parameter version so you can compare the two input mechanisms clearly.

Table.SelectRows(
    OrdersBase,
    each [Amount] <> null and [Amount] >= pMinAmount
)

Load the result to a new worksheet Table named tblSelectedParameterOrders. At 199, it should contain Q-102, Q-103, Q-104 and Q-105, with four rows totaling 1,249. The original OrdersBase still has all five records totaling 1,399.

A scalar query is not automatically a native Manage Parameters item. You can reference its value directly in M even when an interface parameter dropdown does not list it. Do not type the text pMinAmount into a numeric filter box and assume that the editor will resolve it as a query reference.

Prove which input drives each result

Set the native MinimumAmount parameter to 199 and the worksheet MinAmount input to 350. Refresh both result queries and compare them. OrdersAboveNativeMinimum should return four rows totaling 1,249. OrdersAboveWorksheetMinimum should return two rows totaling 850. The difference of 399 is the pair of orders worth 199 and 200.

This deliberate disagreement is useful evidence that the two queries use different controls. Changing the worksheet input should not change the native parameter's value automatically. If both outputs unexpectedly follow the same control, inspect their selection expressions. The query names alone do not prove which value they reference.

For a final student report, choose the intended input method and label its output clearly. Keep the other query as an explicitly named comparison exercise or remove it from the report's presentation. Two visually similar result tables with different controls can confuse a colleague even when both calculations are technically correct.

Test the input structure rather than only its number

In a workbook copy, add a second data row to tblParameterInput. The validation should stop before selecting a value. Restore one row, then add a second column. The strict one-column rule should stop again. Finally, restore the exact Table shape and confirm that numeric 199 returns the original four selected orders.

To test numeric-looking text deliberately, enter an apostrophe before 199 in the control cell. It may look like a number, but the query's strict type check rejects it. Re-enter a genuine numeric value to recover. Record each failed state and its recovery separately so the exercise demonstrates that the checks actually protect the intended input contract.

6. Understand the named-cell and Drill Down alternative

A named cell is still returned inside a table

The original lesson describes a workbook-scoped named cell called MinAmount and a scalar query called pMinAmount. This remains a useful alternative. Select one numeric control cell and give it the workbook-level name MinAmount. A name scoped only to one worksheet is a different configuration and should not be assumed to match the same lookup.

Excel.CurrentWorkbook exposes Tables, named ranges and dynamic arrays. It does not enumerate ordinary worksheets as sheets. Reading a named range through it normally returns its content as a table, so a separate extraction step is still needed.

Inspect the returned structure before drilling down. For a one-cell named range whose returned column is Column1, Input{0}[Column1] extracts the first row's value. If the column has another name, use the actual name. Do not guess the field name from the visible worksheet label beside the cell.

Drill Down selects a value; it does not validate the whole input

In the query preview, right-clicking the intended value and choosing Drill Down can generate a scalar extraction step. If a named range later expands to several rows, an extraction using the first row can continue returning one value while ignoring the others. That is why shape validation belongs before extraction.

Apply the same rules as the Table method: exactly one expected value, valid numeric type, no missing input and the required business range. If you prefer the named-cell method, use it instead of the Table method for pMinAmount, not simultaneously under the same query name.

A worksheet formula input needs another check

A control cell might contain a formula rather than a typed number. If that formula has not recalculated, the query can read the available cell result rather than the value the user expected from a recent change. Check workbook calculation state and the visible control result before refreshing the query.

Do not build a circular dependency in which the parameter cell depends on the query output that itself depends on the parameter. Keep the control input independent, or redesign the calculation into a clear one-way sequence. Repeatedly refreshing a circular design is not a reliable method for reaching a business answer.

7. Validate meaning as well as type

Suggested choices are not an enforced list

Native parameters can offer suggested values, such as 199, 200 and 350. Microsoft documents these as suggestions; a user can still supply another value. If only an approved set is allowed, implement an explicit membership check at the point where the value is used.

With a list of suggested values, the interface can expose a Default Value as well as Current Value. The current value is the actual input used by downstream steps. Do not assume that changing a default automatically replaces the current selection, or that every parameter configuration shows a universal reset control.

Define accepted values in business terms

  • Unit: INR amount, not a percentage or another currency.
  • Comparison: greater than or equal to, not strictly greater than.
  • Range: nonnegative for this lab.
  • Precision: decimal thresholds are allowed unless a separate whole-rupee rule is declared.
  • Missing input: stop with an explanation instead of assuming zero.
  • Scope: apply the threshold to one order's Amount, not a city's aggregated amount.

At 199.5, this fixture selects 200, 350 and 500, giving three rows totaling 1,050. If the business requires whole rupees, reject a fractional threshold explicitly rather than silently rounding it. An invisible rounding step changes the user's selection rule.

Worksheet validation supports the query check

Excel Data Validation can guide a user toward an acceptable numeric entry and display a helpful input message. It improves the control sheet, but it should not be the only check protecting the query. Pasting or changing the workbook structure can produce states that the maintained query still needs to handle.

The native numeric parameter also needs explicit business validation when invalid values must be rejected. Its numeric type alone does not establish a nonnegative rule or an approved maximum. Apply the same checks in a supporting validated query or in the consuming step before using its value.

Keep source-quality errors separate from input errors

An invalid threshold is an input problem. A valid threshold combined with text in the source Amount column is a source-quality problem. A missing source amount is an unknown observation. Keep these explanations distinct so the learner knows which part to repair.

For example, a source amount entered as the word pending should not be converted to zero just to let the filter run. Inspect the record, correct it from an authorized source or keep it in an exception report. A parameter cannot resolve information that the source does not provide.

8. Follow the input all the way to the final report

The worksheet input 199 becomes validated scalar pMinAmount, selects four orders totaling 1,249, loads a worksheet Table, and then supplies a refreshed dependent report. Every layer must agree.
A changed control cell is the start of an update, not proof that every report is current.

Trace a threshold change

  1. Change the control

    Set MinAmount to numeric 350 in the one-row input Table.

  2. Evaluate the validated input

    pMinAmount should return the scalar number 350 without an error.

  3. Check the loaded selection

    Expect Q-104 and Q-105, two rows totaling 850.

  4. Refresh the report built on that selection

    A dependent PivotTable should agree with the loaded Table after its own refresh.

Distinguish preview, worksheet output and PivotTable

A query preview can show the latest parameter result while a loaded worksheet Table still contains an older result. A PivotTable can also retain an older view of its source. Check the specific layer used by the report instead of assuming that every visible number updated together.

After a failed query refresh, an older loaded result can remain visible. Its presence is not evidence that the new input succeeded. Inspect refresh status and errors, and compare the output controls with the selected threshold. Do not publish a report merely because it still contains plausible numbers.

Show the selection beside the metric

A card reading “Selected Amount ₹850” is clearer when the nearby label says “Orders with Amount at least ₹350.” Include the reporting period and currency where relevant. Without those labels, a teammate can mistake the subset total for the complete order total.

For a report requiring an auditable refresh record, capture the applied input together with the verified output checks. A worksheet TODAY or NOW formula merely shows a calculation time; it does not prove that external data successfully refreshed. Record successful verification deliberately rather than assigning it an unrelated timestamp.

Test source growth independently of threshold changes

Restore the threshold to 199, then add Q-106, Pune, amount 250 inside tblParameterOrders. The complete source becomes six orders totaling 1,649. The selected result becomes five orders totaling 1,499. Pune's selected amount becomes 450 from the 200 and 250 records.

At threshold 350, that new order is outside the selection, so the result remains two rows totaling 850. This is a valuable test: a successful source refresh does not always change a filtered report. Check the complete source and the selection rule before calling an unchanged result stale.

9. Make shared inputs safe to maintain

One change can affect several queries

If a folder parameter feeds several imports, changing it can affect all of them. Document the dependent queries and check each required output after a change. Some queries may accept the new folder's schema while another expects a file that is absent.

Use separate parameters when the inputs represent different business decisions. A bank-statement folder and an order-export folder should not share a parameter merely because both are text paths. Clear names reduce the chance that a convenient edit changes an unrelated report.

Parameters do not replace access controls

A path parameter does not grant access to a folder. Normal data-source permissions and privacy rules still apply. If a query combines workbook inputs with external data and raises a privacy-related error, investigate its sources and supported configuration instead of disabling protections simply to make the exercise run.

Ordinary workbook cells and query parameters are not secret storage. Do not place passwords or access tokens in this control Table. Use the appropriate connector authentication process for a source that requires credentials. The training files here require no private customer or account information.

Keep a small change record

Before handing over the workbook, record the input name, meaning, accepted values, source location, refresh steps and expected controls for a known baseline. Include a recovery copy of the practice workbook. A reader should be able to restore the approved input and demonstrate a working report without guessing what the author intended.

10. Practice tasks with worked answers

Use separate copies for deliberate faults. Predict the selected IDs, count and amount before changing an input, then compare the loaded result after refresh.

1. Rebuild the smallest parameter-driven selection.

Create the five-order fixture and a numeric minimum of 199. The selected IDs are Q-102 through Q-105, giving four rows and 1,249. The complete source remains five rows and 1,399.

2. Change the input from 199 to 200.

Q-102 is removed from the selection because its amount is 199. Three rows remain, totaling 1,050. The total falls by 199, not by one, because the input change selects whole records.

3. Repeat the idea using a separate GBP dataset.

Use fictional amounts 10, 20 and 30 in a separate source with a £20 minimum. Two records total £50. Keep that dataset separate from the INR orders; changing a display symbol does not convert currency.

4. Write the result meaning beside the report.

Use wording such as “Four fictional INR orders have Amount at least 199; together they total 1,249.” The label describes the selected population instead of suggesting that every source order is included.

5. Add another source record.

Add Q-106, Pune, 250 inside the source Table. At threshold 199, expect five selected records totaling 1,499. You refresh the query; you do not fill a parameter formula down the output rows.

6. Enter a blank, text and negative input.

Test each separately in tblParameterInput. The strict scalar query rejects all three. Restore numeric 199 after each test and verify recovery. A blank input should not silently become zero.

7. Apply three thresholds to the same five orders.

At 199, expect four rows and 1,249. At 200, expect three and 1,050. At 350, expect two and 850. These comparisons reveal both the inclusive boundary and the unchanged source population.

8. Check the selected and excluded amounts.

At 199, selected 1,249 plus excluded 150 equals source 1,399. At 350, selected 850 plus excluded 549 equals 1,399. Reconcile IDs as well as totals to detect repeated or missing records.

9. Change the currency display without changing the data.

The stored numbers and selection do not become another currency. A real currency change requires a defined conversion or a separately scoped source. Restore the INR display to keep the lab's meaning clear.

10. Name two common parameter mistakes.

Quoting a query name supplies literal text instead of its value. Updating a control cell without checking refresh leaves uncertainty about the loaded report. Both can be diagnosed by tracing input, expression and output.

11. Explain the workflow aloud.

Describe the input's unit and accepted values, its validation, the step using it, the expected records and the refresh checks. Someone listening should understand the business rule without reading the M code.

12. Save a maintainable practice workbook.

Keep the source, labeled control Table, clearly named supporting queries, loaded result and baseline checks. Document the folder path as an environment-specific input, and keep private credentials out of the workbook.

11. Interview questions and explained checks

What is the difference between a parameter and a filter?

A parameter supplies an input value. A filter is an operation that selects records according to a condition. One filter can use a parameter, and the same parameter can also supply other appropriate steps.

Does a suggested-value list prevent unsupported entries?

No. It guides selection but is not the business validation rule. If the report permits only specific inputs, check membership explicitly before using the value.

Why validate one row before Drill Down?

Extracting the first row can ignore extra input rows. A one-value control should reject an unexpected shape instead of silently choosing whichever value happens to appear first.

Why can the same selected total appear after source growth?

A new source record may be outside the selection. Adding the 250 order does not change the result at a 350 minimum. Verify the source count and filter rule before diagnosing a refresh failure.

Can you use a folder parameter to bypass a permission error?

No. It changes the location supplied to the connector, not the rights of the person or environment reading it. Use the correct authorized location and supported authentication configuration.

What proves that a relocated folder contains the intended data?

Compare its approved inventory, schema, reporting period, record identities and reconciled amounts with the baseline. An existing folder path and a successful connection are only the beginning of that check.

Does a native numeric type enforce a nonnegative minimum?

No. Negative numbers are numeric too. Add the business constraint explicitly, and define whether decimals or an upper limit are allowed.

What should the user see when a refresh fails?

A clear unresolved error or status and the last verified controls, with no suggestion that an old loaded result represents the new input. Correct the cause, refresh again and verify the specific output used by the report.

12. Revision cards

  • Use the value. A quoted parameter name is literal text.
  • Label the rule. Units, comparison and population belong beside the input.
  • Validate before extracting. One control means one expected value.
  • Keep blank separate from zero. Missing input should not widen a report silently.
  • Trace every dependency. An old hardcoded path can survive a new parameter.
  • Verify the loaded report. A current preview does not prove every dependent view is current.

Continue with the Excel Task Hub for additional exercises. Use its own dataset definitions and controls. The transferable skill is to make an input change predictable, visible and testable from the source through the final business answer.

Microsoft references