How to Create a Slider Slicer in Power BI

Cody Schneider

Power BI slicers make reports interactive, allowing users to filter data on the fly. But when you need to filter by a range of numbers or dates, like a price bracket or a specific time period, the standard list slicer isn't very intuitive. That's where the slider slicer comes in, offering a far more user-friendly way to select a range. This guide will walk you through exactly how to create, customize, and effectively use slider slicers in your Power BI reports.

What Exactly is a Slicer in Power BI?

Think of slicers as on-canvas visual filters. Instead of hiding filters in a side pane, slicers are right on your report page, letting you and your end-users easily click and segment the data shown in other visuals. When you click an option in a slicer - like a product category or a specific year - all connected visuals on that page instantly update to reflect your selection. They are essential for building dynamic, explorable dashboards.

While the default list or dropdown format is perfect for categorical data like "country" or "status," it becomes clumsy for continuous data. Imagine trying to select all sales between $51.34 and $342.98 from a list containing thousands of unique values. It's impractical. This is the problem the slider slicer solves beautifully.

How to Create a Slider Slicer: A Step-by-Step Guide

Let's build a slider slicer from scratch. For this example, we'll use a sample sales dataset that contains numerical data (like Sales Amount) and date data (like Order Date). The process is nearly identical for both.

Before you begin, make sure you have your data loaded into Power BI Desktop and are on the report canvas view.

Step 1: Add a Slicer Visual to the Canvas

First, you need to add a generic slicer visual to your report page.

  • In the Visualizations pane on the right-hand side, find the slicer icon. It looks like a funnel with a filter icon on top of it.

  • Click this icon to add a blank slicer visual to your report canvas.

  • You can resize it and position it wherever you like, though slicers are most commonly placed along the top or left side of a report.

Step 2: Add Your Numerical or Date Field

With an empty slicer ready, you need to tell it which data to filter. This must be a continuous field - a number or a date.

  • Make sure your new slicer visual is selected (it will have a bounding box around it).

  • In the Data pane (just to the right of the Visualizations pane), find the table containing the field you want to filter by. For our example, let's use the Sales Amount field.

  • Drag the Sales Amount field and drop it into the Field well within the Visualizations pane for your selected slicer.

Step 3: Convert the Slicer to a Slider

By default, Power BI often displays numerical data in a list or some other format. You need to manually change it to act as a slider. This is the most crucial step.

  • With the slicer visual still selected:

    • Look at the top-right corner of the slicer visual itself on the report canvas. You should see a small downward-facing arrow (v). Note: In newer versions of Power BI, this option has been moved to the Formatting pane.

    • Click this arrow to open a context menu. Here, you'll see a list of slicer types.

    • Select Between. Your slicer will instantly transform from a list into an interactive range slider with two control knobs - one for the minimum value and one for the maximum value.

If you don't see the dropdown on the visual itself, find this setting in the formatting options:

  1. Select the slicer.

  2. Click the "Format your visual" icon (the paintbrush) in the Visualizations pane.

  3. Expand the Slicer settings section.

  4. Under Options > Style, choose Between.

That's it! You've successfully created a working slider slicer. You can now drag the handles to change the range, and you'll see other visuals on your page update in real-time. For example, you can now filter your sales report to only show transactions between $100 and $500.

Customizing and Formatting Your Slider Slicer

A basic slider is functional, but a well-formatted slider enhances the user experience and makes your report look more professional. Power BI gives you plenty of options to fine-tune its appearance and behavior. To access these, select your slicer and open the Format your visual pane (paintbrush icon).

Slicer Settings: Changing the Slider Type

Hidden within the "Slicer settings" section are a few different styles of sliders:

  • Between: The default range slider we just created, with two handles for a minimum and maximum value. This is the most common type.

  • Less than or equal to: This converts the slider to have only one handle. Users can set a maximum value, and the slicer will filter everything less than or equal to that value. Ideal for questions like "Show me all sales under $200."

  • Greater than or equal to: The opposite of the above. This also has one handle but is used to set a minimum value. Perfect for filtering things like "Show me deals over $1,000."

Refining the Slider's Appearance

Once you've chosen your slider type, you can start customizing its visual components.

  • Slider: This sub-section in the format pane lets you change the color of the slider bar itself. Choose a color that matches your report's theme for a cohesive look.

  • Values: Here you can control the numeric inputs that show the current min and max values. You can change the font style, size, and color to improve readability. Adding a faint background color sometimes helps the numbers stand out.

  • Header: Every slicer needs a clear title. In the Slicer header section, you can change the title text (e.g., from Sales Amount to "Filter by Price Range"), adjust its font, and set background colors. A good title tells the user exactly what the slicer does.

  • General: For overall styling, the General tab lets you control things like the slicer's background color, add a border, or apply a shadow effect to make it pop off the page.

Practical Examples and Best Practices

To understand when and how to best use slider slicers, let's explore a few common business scenarios.

Use Case 1: E-commerce Price Range Filter

On a product sales dashboard, you want to let users browse products within a specific price range. A slider slicer on the "Product Price" field is perfect for this. Users can easily narrow down thousands of products to find an affordable subset without having to use complex filter menus.

Use Case 2: Financial Date Range Analysis

For a financial report, you need to analyze performance over specific periods. A date slider allows a marketing manager or CEO to quickly move the window of analysis from one quarter to the next, analyze year-to-date performance, or focus on a single month to investigate a sales spike, all with a simple drag-and-drop motion.

Use Case 3: Customer Demographic Filtering

In a CRM dashboard, you could use a slider to filter customers by age or by their "customer since" date. This helps the sales team identify long-time loyal customers or target marketing campaigns towards a specific age demographic like 25- to 35-year-olds.

Best Practices to Keep in Mind:

  • Use for Continuous Data: Sliders are built for numbers and dates. Avoid them for categorical fields like "Product Name" - a dropdown or list is better for that.

  • Consider the Range: If your data has extreme outliers (e.g., one sale of $1,000,000 and the rest are under $100), the slider becomes less precise. You may need to clean or filter your underlying data for the slicer to be truly effective.

  • Be Clear with Titles: Always give your slicer a descriptive title. A slider with no context is confusing for the end-user.

  • Position Intuitively: Place your slicers where users expect to find them - typically grouped together at the top of the report or in a designated filter panel on the left or right side.

Final Thoughts

In summary, creating a slider slicer in Power BI is a straightforward process of adding a slicer visual, populating it with a continuous numerical or date field, and simply changing it to an interactive range filter. They are powerful tools for making your dashboards more intuitive, allowing anyone to explore data freely without needing to learn the underlying mechanics of the filter pane.

While tools like Power BI are great for building reports, the process can become repetitive - manually connecting data, building each visual, and arranging them just right. At Graphed, we streamline this entire workflow. By connecting your marketing and sales sources - like Google Analytics, Shopify, and Salesforce - we let you use plain English to build real-time dashboards in seconds. Just ask, "Show me revenue by campaign for the last 90 days as a bar chart," and it's done, giving you back time to focus on analysis instead of manual report building.