How to Add Slider in Power BI

Cody Schneider8 min read

A static report is a missed opportunity. Building an interactive dashboard that lets your users explore data on their own terms is the key to creating real value. One of the best ways to add this interactivity in Power BI is with a slider. This article will show you exactly how to add and configure sliders for filtering numbers and performing powerful what-if scenario analyses.

What is a Slider in Power BI?

In Power BI, a slider is a specific type of visual called a "Slicer." While a slicer can take many forms (like a list, dropdown, or buttons), a slider is specifically used for filtering numeric or date ranges. Instead of clicking checkboxes, users can drag a handle along a visual track to define the range they want to see, making it an intuitive way to zero in on specific data points.

There are two primary ways you'll use sliders:

  • Numeric Range Filtering: This is the most common use. It allows users to filter a report based on a numeric column like price, age, sales volume, or customer rating. For example, a user could slide to see only products priced between $50 and $150.
  • What-If Analysis: This is a more advanced technique where a slider isn't connected to an existing data column. Instead, it creates an independent variable that you can use in formulas (DAX measures). This lets users model scenarios, like "How would our total revenue change if we applied a 5% discount?"

Both methods turn a static report into an engaging analytical tool, and we'll cover how to create both from scratch.

How to Create a Standard Numeric Range Slider

Let's start with a classic numeric range filter. Imagine you have a dataset of product sales and you want to let your users filter the report to see products within a specific price range. Here’s how you do it step-by-step.

Step 1: Add a Slicer Visual to Your Report

First, find a blank space on your Power BI report canvas. In the Visualizations pane on the right-hand side, find and click on the Slicer icon. It looks like a funnel with a checkmark. This will add an empty slicer placeholder to your report.

Step 2: Add Your Numeric Data Field

With the new slicer selected, go to your Data pane. Find the table that contains the numeric field you want to filter by. In our example, this would be the 'Product Price' column from our 'Products' table.

Click and drag the 'Product Price' field into the "Field" well of the slicer in the Visualizations pane. Power BI will instantly create a slider, automatically detecting that the field is numeric and setting the range based on the minimum and maximum values in your data.

Step 3: Configure the Slicer Settings

By default, Power BI creates a "Between" slider, which has two handles for setting a start and an end point. You can customize this behavior.

  1. Select the slicer visual.
  2. Go back to the Visualizations pane and click the "Format your visual" icon (it looks like a paintbrush).
  3. Expand the Slicer settings section, then expand Options.
  4. Here, you'll see a Style dropdown. You can choose from:

For most scenarios, 'Between' is the most intuitive choice. Now, when a user interacts with this slider, all other visuals on the report page will automatically filter to show data only for products within the selected price range.

Creating a "What-If" Parameter for Scenario Analysis

While filtering an existing column is useful, the true power of sliders comes to life with What-If parameters. This lets you build dynamic models directly into your report. Let's create a scenario where we want to see how a potential sitewide discount would impact our total projected revenue.

Step 1: Create a New "What-If" Parameter

You don't start with a slicer visual for this one. Instead, you create the parameter from the Power BI ribbon.

  1. Go to the Modeling tab at the top of the Power BI window.
  2. Click the New parameter button in the ribbon. A context menu will appear.
  3. From the dropdown, select Numeric range.

Step 2: Configure the Parameter

A configuration window will pop up. This is where you define how your slider will behave.

  • Name: Give your parameter a clear name. We'll call ours "Discount %". This name will be used to generate a new table and measure.
  • Data type: For a percentage, choose Decimal number.
  • Minimum: The lowest value on the slider. Let’s set this to 0 (no discount).
  • Maximum: The highest value. Let’s set this to 0.50 (for a 50% max discount).
  • Increment: The amount the slider moves with each step. We'll set this to 0.01 for 1% increments.
  • Default: The initial value when the report loads. Let's set it to 0.
  • What to do if there is a blank value: Set to whatever makes the most sense - 0, mean, median, none, etc. We will stick with 0 here.

Make sure the "Add slicer to this page" checkbox is ticked. When you click "Create," Power BI works its magic behind the scenes. It does two things:

  1. It adds a slicer visual for "Discount %" to your report page.
  2. It creates a new table named "Discount %" with a column and an associated DAX measure. The measure is what captures the user's selection from the slider. It looks something like this:

Discount % Value = SELECTEDVALUE('Discount %'[Discount %], 0)

This DAX measure is the dynamic variable you'll use in other calculations.

Step 3: Use the What-If Parameter in a Measure

The slider is on the page, but it doesn't do anything yet. We need to connect it to our existing data by creating a new measure that uses the "Discount % Value".

Let's say you already have a basic measure for total sales called Total Revenue:

Total Revenue = SUM(Sales[RevenueAmount])

Now, we'll create a new measure for our projected revenue after the discount. Right-click on your Sales table, select New measure, and enter this formula:

Projected Revenue = [Total Revenue] * (1 - [Discount % Value])

This formula takes your Total Revenue and multiplies it by the inverse of the selected discount percentage. If a user selects 10% (0.10) on the slider, the formula calculates [Total Revenue] * (1 - 0.10), giving you 90% of the original revenue.

Step 4: Visualize Your Results

Now, add the new Projected Revenue measure to a visual, like a Card or a Bar Chart, placing it next to your original Total Revenue. As you move the "Discount %" slider, you'll see the Projected Revenue value update in real-time, giving you and your users an instant way to model the financial impact of different promotional strategies.

Tips for Using Sliders Effectively

  • Don't Overdo It: A report with five different sliders can quickly become confusing. Use them thoughtfully for the most important filters that users will want to adjust often.
  • Use Clear Labels: Make sure the purpose of each slider is immediately obvious. Use the formatting options to give it a clear title if the field name isn't descriptive enough.
  • Set Sensible Ranges: If your data for 'Employee Age' only runs from 21 to 65, don't leave the slider's default range at 0 to 100. Restrict the range in the slicer settings to make it more user-friendly. You can set a fixed range in the 'Format your visual' > 'Slicer settings' > 'Range' section.
  • Consider Input Boxes: In the slicer formatting settings, you can enable "Slider" responsive formatting to ON. This will provide a better user experience. Small input boxes will appear to show what the slider range is, and they serve to double-check their filtering more easily.

Final Thoughts

Adding a slider is one of the easiest ways to elevate your Power BI reports from static pages into dynamic, exploratory tools. Whether you're providing a simple way to filter sales data or building complex what-if scenarios, sliders empower your users to ask their own questions and find answers instantly, which is the ultimate goal of any great dashboard.

Our whole focus at Graphed is centered on this same principle of making data interaction effortless. We realized that for many marketing and sales teams, the big hurdle isn't just visualizing data but getting it all in one place and then figuring out the complexities of tools like Power BI. We built Graphed so you can connect all your sources - like Google Analytics, Shopify, and Salesforce - and then simply ask questions in plain English to build real-time, interactive dashboards instantly. It's about getting to the insights without the steep learning curve.

Related Articles

How to Connect Facebook to Google Data Studio: The Complete Guide for 2026

Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.

Appsflyer vs Mixpanel​: Complete 2026 Comparison Guide

The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.