A field parameter is a named list of columns or measures that belongs to a semantic model. Bind it to a visual and add a slicer, and readers switch what the visual shows: for example, Country or Product on the same axis.
Create a field parameter
Open the semantic model, and find the Field parameters section in the BI tables panel.
Click Add field parameter, or right-click the section and choose Add field parameter. The Edit field parameter window opens on a new parameter, named Field parameter 1 or the next free number, with the Dimension kind.
In Parameter name, type a name. The name commits when you leave the field or press Enter. A name that another parameter already uses is refused with Another field parameter already uses this name, and the previous name stays.
Choose the kind, Dimension or Measure, and add entries.
Each change saves as you make it. There is no save button.
Closing the editor of a parameter you have just added, before it holds a single field, asks Discard "<name>"?: Discard deletes the empty parameter, Keep empty keeps it and leaves it in Field parameters, and Back returns to the editor. Folders alone count as empty, so a parameter with folders and no fields is asked about too. A parameter you kept empty and open again later does not ask again.
Add entries and folders
The pane on the left lists what you can add. In a Measure parameter it offers columns and measures and reads Search columns and measures...; in a Dimension parameter it offers columns only and reads Search columns.... Nothing matches means the search found no field.
Click a source row to add it, or drag it into the entry list. Both add the same entry.
Drag entries to arrange them. Dropping on empty space adds the field at the end of the list, dropping on a folder adds it at the end of that folder, and dropping on an entry places it just above or below.
Double-click an entry to rename it. Enter commits and Escape cancels, and the editor stays open. When the label differs from the field's own name, Reset to the original field name restores it.
On a column entry of a Measure parameter, pick an aggregation: None (group by), Sum, Average, Count, Distinct count, Min or Max. A column starts with the aggregation its type suggests, for example Sum for a number. Measure entries carry no aggregation.
Click Add folder to group entries, and drag entries into a folder. Rename a folder in its header. Empty folders lists folders that hold no entries, and deleting a folder never deletes its fields: they leave the folder.
Dimension or Measure
Kind
Entries
A bound visual shows
Dimension
Columns
The first entry, until a reader picks another
Measure
Columns and measures
Every entry at once
A stored kind always wins, so a parameter with mixed entries follows the kind you chose. A parameter saved before kinds existed is read from its entries: one whose entries all summarise acts as a Measure, and anything else acts as a Dimension.
Switching the kind of a parameter that has entries asks you to confirm with Switch to a measure parameter? or Switch to a dimension parameter?, confirmed with Switch. The dialog warns: Fields that do not suit the new kind stay in the list and are flagged, so you can remove them or switch back. An empty parameter switches without a prompt.
Let readers switch fields
Open the report and drag the field parameter from BI tables into a visual. A Dimension parameter goes into a grouping well, such as X-Axis on a bar chart, and a Measure parameter goes into a value well, such as Values. See Visuals for the wells by type.
Add a Slicer from Visualizations, and drag the same parameter into its Field well. A slicer takes a field parameter of either kind, and the parameter goes into that well wherever on the tile you drop it. A Dimension parameter shows one entry at a time; a Measure parameter turns the slicer into the picker for its measures, so a bound visual shows the entry the slicer picks. Only a plain measure is refused there, with Measures cannot be used in a slicer; slicer settings are on Filters, slicers and interactions.
Readers pick an entry, and every visual bound to the parameter switches to it.
A few things to expect:
A Dimension parameter shows one entry at a time, and a field-parameter slicer always keeps one entry selected, starting on the first.
With at least two entries ticked, the slicer lists them in their own block above the value list, each with a grip and its position number. The grip is labelled Reorder {label}, position {position} of {count}: drag it, or hold Alt and press ArrowUp or ArrowDown, and a screen reader announces {label} moved to position {position} of {count}.
That order is the one the visuals bound to the parameter plot. In edit mode the slicer writes it into the report as one undo step; for a reader it lasts for that view only. The block appears whenever the slicer is not in Single select.
A Measure parameter on its own shows every entry at once, as the table above says; bind it to a slicer and the slicer picks the one entry a bound visual shows.
A chart bound to the parameter keeps its own sort for each option, and the entry a Measure parameter slicer picks drives the tile's auto title: switch the slicer and that option's order and title come back with it. See Sorting, Top N and paging and KPI and Cards.
An entry folder acts as one choice: picking it swaps in every field in the folder.
The slicer runs no query of its own. The Values per load row under General > Limits shows the note A field-parameter slicer runs no query.
A slicer group takes columns only, so a field parameter cannot join it: the drop is refused with Field parameters cannot go in a slicer group and Use a slicer on its own to switch fields.
Manage and delete a parameter
Right-click a parameter for its menu: Edit fields reopens the editor, and Delete field parameter removes it. Deleting asks Delete field parameter? and warns Visuals bound to "<name>" will show a broken field until you replace it., confirmed with Delete. If the editor is open on the parameter, it closes.
Field parameters belong to the semantic model, so every report built on the model can use them. Changing them needs Edit DataPrism Semantic Models (Who can do what in DataPrism).
Limits and edge cases
A parameter needs at least one entry that suits its kind before you can drag it into a report: a column for a Dimension parameter, a column or a measure for a Measure parameter. The row's tooltip tells you what to add.
An entry whose column or measure no longer exists in the model is dropped when the parameter is next edited. A table replacement lists Field parameters on deleted columns in its review (Model files and replacing a table).
Parameter names and folder names are unique in the model, ignoring capitals and extra spaces.
A date, date time or time column cannot join a Measure parameter, because it does not summarise into a chart value. Add it to a Dimension parameter instead.
While the BI tables panel search has no match, the Field parameters section hides; clear the search to bring it back. It stays visible while its editor is open.
If a change cannot be saved, the field returns to its last saved value and the message tells you why.
Questions, answered
Readers want to switch the axis between Country and Product. Which kind do I use?
A Dimension parameter. The visual shows one entry at a time, and the slicer lets readers choose Country or Product.
Can readers switch a chart between two measures?
Yes, with a Measure parameter. Bind it to the chart's value well, then add a slicer with the same parameter in its Field well: the slicer lists the parameter's entries, and the chart shows the one a reader picks. Without a slicer on it, a visual bound to a Measure parameter shows every entry at once. To build the measures a parameter lists, see Measures.
Can I stop a field parameter slicer from affecting one visual?
Not while the visual uses the parameter: every visual bound to it follows the reader's choice. If a visual must keep one field, bind it to that field itself instead of the parameter.
Can I show a friendlier name for an entry?
Yes. Double-click the entry, type the new name and press Enter. Reset to the original field name brings back the field's own name.
Can I sum a column entry?
Yes, in a Measure parameter: choose an aggregation such as Sum on the column entry, or keep None (group by). In a Dimension parameter the aggregation control does not appear.
Why can't I add a date column to a Measure parameter?
The source list offers only fields that summarise into a chart value, and a date, date time or time column cannot. Add it to a Dimension parameter instead.
What happens to my entries when I switch kind?
They stay in the list. Anything that does not suit the new kind is flagged with a warning icon and still resolves; remove it, or switch back.
Where does a field land when I drop it into the list?
At the end of the list when you drop it on empty space, at the end of a folder when you drop it on that folder, and just above or below an entry when you drop it on that entry.
Why did an entry disappear from my parameter?
Its column or measure no longer exists in the model, so the parameter dropped it the last time it was edited. Check the model, then add the field again if you still need it.
Does a field parameter slicer count toward the slicer values limit?
No. It runs no query of its own, and the Values per load row shows the note A field-parameter slicer runs no query.
Why can't I drag my parameter into a visual?
It has no entry that suits its kind. Add a column to a Dimension parameter, or a column or a measure to a Measure parameter; the row's tooltip tells you the same.
How do I delete a field parameter?
Right-click it in Field parameters, choose Delete field parameter, and confirm with Delete. Visuals that used it show a broken field until you replace it.