Using Field Parameters for Interactive Dashboards in Power BI

In this post, I want to show how we can use Field Parameters to add interactivity and save space in our dashboards. Let’s imagine we want to show Sales by Sub-Category and Profit by Sub-Category. Instead of creating two separate charts, we can create one chart with the possibility to select the desired measure. Let’s do it together!

1. Create measures for Sales and Profit

Field Parameters only work with measures, not columns. So first, create these simple measures:

Sales = SUM(Orders[Sales])
Profit = SUM(Orders[Profit])

💡 Tip: I usually create a new table called _Measures to store all my measures in one place. This makes it easier to find them and keep an overview.

2. Create the Field Parameter

  • Go to Modeling → New Parameter → Fields.
  • Name your parameter.
  • Add the new measures for Sales and Profit.

Power BI will automatically create:

  1. table with the parameter inside
  2. slicer to switch between Sales and Profit

3. Build the chart

  1. Add a bar chart to your report.
  2. Drag Sub-Category to the Y-axis.
  3. Drag your Field Parameter to the X-axis (Values).

4. Switch between measures

Now your chart can show Sales or Profit by Sub-Category — just select the desired measure using the slicer.

See you in the next blog 🙂

Author:
Anastasiia Larina
Powered by The Information Lab
1st Floor, 25 Watling Street, London, EC4M 9BR
Subscribe
to our Newsletter
Get the lastest news about The Data School and application tips
Subscribe now
© 2025 The Information Lab