In Power BI, to let users change the y-axis category of a bar chart using a slicer, which feature should you add?

Prepare for the DP-600 Fabric Analytics Engineer Exam. Study with flashcards and multiple choice questions, each offering hints and detailed explanations. Enhance your chances of success on the exam!

Multiple Choice

In Power BI, to let users change the y-axis category of a bar chart using a slicer, which feature should you add?

Explanation:
Field parameters let you swap which field a visual uses for its axis, legend, or values by exposing those fields as a single selectable parameter. In this case, you want users to choose which category appears on the bar chart’s y-axis. Create a Field parameter that lists the candidate y-axis fields (for example, Category, Subcategory) and use that parameter on the chart’s axis. Then add a slicer bound to the parameter so the user can pick which field drives the axis. When the slicer selection changes, the y-axis categories update accordingly. This dynamic field-switching capability isn’t provided by what-if parameters, slicer bookmarks, or simple visual-level filters, which either adjust values numerically, control state, or filter data rather than swap the axis field.

Field parameters let you swap which field a visual uses for its axis, legend, or values by exposing those fields as a single selectable parameter. In this case, you want users to choose which category appears on the bar chart’s y-axis. Create a Field parameter that lists the candidate y-axis fields (for example, Category, Subcategory) and use that parameter on the chart’s axis. Then add a slicer bound to the parameter so the user can pick which field drives the axis. When the slicer selection changes, the y-axis categories update accordingly. This dynamic field-switching capability isn’t provided by what-if parameters, slicer bookmarks, or simple visual-level filters, which either adjust values numerically, control state, or filter data rather than swap the axis field.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy