Skip to content
contact@sataware.com(480) 485-7373
PowerBIAgencyA division of Sataware Technologies Book a strategy call
Back
Power Query guide

Power BI parameters: one value that many queries can reuse

Power BI parameters are named values in Power Query that a query can reuse, such as a server name, a file path or a start date. Change the value once, and every query that uses it follows. So moving a report from a test database to production takes one edit. This guide shows how to create, use and update them.

  • One value, many queries
  • Created in Desktop
  • Editable after publishing

Last updated

What are Power BI parameters?

A parameter stores a value under a name. Microsoft Learn describes it as an easy way to store and manage a value that you can reuse. Queries then refer to the name instead of a typed value.

They serve two main jobs. First, a parameter can feed a step, for example the value in a filter. Second, it can act as the input of a custom function. Both uses keep logic in one place.

Do not confuse them with field parameters. Those belong to the report layer and let readers swap the measure or column in a visual. The values in this guide live in Power Query and shape how data loads.

Radiator thermostat dial in close-up, illustrating Power BI parameters

How to create Power BI parameters in Power Query

Open the Power Query editor from Desktop first, since that is where authors create them.

  1. Open Manage Parameters

    First, go to the Home tab and select Manage Parameters. Then choose New Parameter from its menu.

  2. Name and describe it

    Then enter a clear name and a description, so the next author knows its purpose.

  3. Set type and values

    Next, choose the data type and the suggested values. Enter a current value as well.

  4. Use it in a step

    Finally, open a step such as Filter Rows and pick Parameter instead of a typed value.

Properties to set when you define a query value

The Manage Parameters dialog asks for these properties. A few minutes here saves confusion later.

PropertyWhat it doesPractical tip
NameIdentifies the value in queriesUse a plain name, such as ServerName
DescriptionExplains the purpose to other authorsSay which queries depend on it
RequiredMarks whether a value must existKeep it on for connection values
TypeSets the data type of the valueMatch the type of the column you filter
Suggested valuesAny value, a list of values or a queryUse a list to prevent typing mistakes
Current valueThe value queries use nowCheck it before you publish

How do you change Power BI parameters after publishing?

Authors create them in Desktop, but the service lets you edit their values. Microsoft Learn gives the path: select the Settings cog, open Settings, go to the Semantic models tab and pick the model. Then expand the Parameters section.

That matters for deployment. For example, a test workspace can point at a test database and production at the live one. The report file stays the same, while only the value differs.

Some fields appear gray. Microsoft notes that values of type Any or Binary do not work in the service. So choose a specific type, such as Text or Date, when you expect to edit a value online. Refresh the model after a change, so the data reflects the new value.

Which jobs suit a stored query value, and which do not?

Connection details are the classic case. Server names, database names and folder paths change between environments. With a stored value, one edit redirects every query.

Filters are the second case. A start date can limit how much history loads during development, so refreshes stay quick. Incremental refresh also relies on two date values of this kind, which the service then manages.

They are not a reader control, however. A person viewing a report cannot change a Power Query value from the page. For reader choices, use slicers or field parameters instead. Templates are another option, since a template file asks for values when someone opens it.

Reusable query value questions from report authors

Can readers change Power BI parameters in a report?

No. These values belong to Power Query, so they take effect when data loads, not when a reader clicks. Someone with access to the settings of the model changes them, and a refresh follows. If readers need to choose what they see, build slicers or field parameters. Microsoft also documents dynamic M query parameters for certain DirectQuery sources, which is a separate feature.

Why are my Power BI parameters grayed out in the service?

The service cannot edit every type. Microsoft states that the types Any and Binary do not work there. Open the file in Desktop, set a specific type such as Text, Decimal Number or Date, and publish again. After that, the value appears as an editable field under Parameters in the semantic model settings.

What is the Always allow option?

It is a check box on the View tab of the Power Query editor, in the Parameters group. With it on, step dialogs always offer a parameter as an input, even before one exists. That saves a trip back to the Manage Parameters dialog. It is a convenience for authors and changes nothing about how the model behaves.

Can one of these values hold several entries?

In Desktop it holds one value at a time. Microsoft notes that list versions with several values exist only in Power Query Online. However, the suggested values can come from a list or a query, so authors pick from valid options. For a filter on many values, a separate list query usually works better.

Can you tidy up our Power Query setup?

Yes. Power BI Agency reviews queries, replaces typed connection details with reusable values and documents the result. The work happens online in your own Microsoft tenant, with weekly demos. Our team is small and experienced, part of Sataware Technologies, a Microsoft Solutions Partner, and not part of Microsoft. Call (480) 485-7373 or ask for the free 30-minute assessment.

Let's build your first dashboard together.

Tell us what you report on today. A consultant replies within 2 hours with next steps.

☎(480) 485-7373 ✉contact@sataware.com

Trusted partners

Microsoft Solutions Partner · AWS Partner

Why teams pick us

Power BIDashboards, models, reports
Microsoft FabricModernization and migration
Azure SQLDataflows and pipelines
Row-level securityEach user sees only their data
Power BI EmbeddedAnalytics in your product
Legacy BI migrationTableau, Qlik, Cognos, OBIEE
50 client reviewsReal names, real projects
WorldwideWorking across time zones
Your own accountData stays in your Microsoft 365
One teamFrom first call to handover
Free assessment30 minutes, no obligation
Quote in 48 hoursScope, timeline and price
Mon to Fri, 8 to 6 CTSales and new projects
Secure HTTPSEncrypted in transit
Private enquiriesNever shared or sold

Explore Power BI Agency