Tutorial Gateway

  • C
  • C#
  • Python
  • SQL
  • Java
  • JS
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Go Programs
    • Python Programs
    • Java Programs
  • MySQL

Power BI Slicer

Power BI Slicer is commonly used to add filters to the canvas or to display filters on the report canvas. Let me show you how to Create a Slicer in Power BI with an example.

For this Power BI Slicer demonstration, we are going to use the SQL Data Source that we created in our previous article.

How to Create a Power BI Slicer

We are going to use this page to demonstrate the steps involved in creating a Power BI Slicer. This page contains Stacked Bar Chart, Clustered Column Chart, and Pie Chart. So, Please refer to Connect Power BI to SQL Server article to understand the Power BI Data Source.

Power BI Slicer 1

To create a Slicer in Power BI, first Drag and Drop the fields that you want to use as a filter to the Canvas region. In this example, we want to use Country as the Filter for this report. So, let me drag the Country from the Geography table to the Canvas. It will automatically create a Map for you.

Power BI Slicer 2

Click on the Slicer under the Visualization section. It will convert a Map into Slicer. From the screenshot below, you can see the list of countries.

Power BI Slicer 3

Create a Power Bi Slicer Approach 2

First, click on the Slicer under the Visualization section. It automatically creates a Slicer with dummy data, as shown below.

Power BI Slicer 4

In order to add data to a Slicer, please drag and drop the filter field to the Fields section. Let me add Country to the Fields section.

Power BI Slicer 5

For the demo purpose, let me select the United States. From the screenshot below, you can see that the Stacked Column chart, Pie Chart, and Clustered Column charts are displaying the Sales for the united states.

TIP: By default, you can only select One field (Country) at a time. For multiple select, you have to toggle Single Select option from On to Off in the format section.

Power BI Slicer 6

This time we selected the United Kingdom. As you can observe that the filter applied on all charts.

Power BI Slicer 7

How to Format Power BI Slicer

Please click on the Format button to see the list of formatting options that are available for this Power BI Slicer.

Power BI Slicer 8

Format Slicer General Settings

Use this General Section to Change the Outline Weight, Outline Color, X, Y position, Width, and height of a slicer

Power BI Slicer 9

Format Header of a Slicer in Power BI

Here, we added Background Color, Outline to bottom. Next, we changed the text size to 20, and Font family to Georgia.

Power BI Slicer 10

Format Slicer Items

We changed the Items (Countries) font color to Green, text size to 20, and Font family to Georgia.

Power BI Slicer 11

Format Slicer Title

By toggling the Title option from Off to On, you can add a title to the Slicer. From the screenshot below, you can see we added the Title Text as Countries Slicer in Power BI. Next, change the Font Color to Red, Title Alignment to center, Font Family to Georgia, and Text Size to 19.

Power BI Slicer 12

Format Power BI Slicer Background Color and Borders

You can add the Background color to a slicer by toggling Background option to On. For the demonstration purpose, we added a random color with 66% transparency. Similarly, you can add Borders to a slicer by toggling the Border option from Off to On.

Power BI Slicer 13

Format Slicer Selection Control

The selection controls section helps you to format the Power BI slicer selection control. This section has two properties:

  • Show Select All: It adds Select All option to the Slicer.
  • Single Select: It restricts the slicer selection to one item at a time.
Power BI Slicer 14

Let me toggle the Show Select All option from Off to On. Now, you can see Select All under the Country Slicer

Power BI Slicer 15

By toggling Single Select option from On to Off, you can enable the slicer to select multiple fields.

Power BI Slicer 16

Let me select Australia, Germany, the United Kingdom, and the United States.

Power BI Slicer 17

Filed Under: Power BI

  • Install Power BI Desktop
  • Connect Power BI to SQL Server
  • Add Rename and Duplicate Pages
  • Connect to Multiple Excel Sheets
  • Get Excel Data to Power BI
  • Get Text File Data to Power BI
  • Load Data from Multiple Sources
  • Remove Power BI Table Columns
  • Create Power BI Bins
  • Power BI Joins
  • Change Column Data Types
  • Combine Multiple Tables
  • Power BI Clusters
  • How to Enter Data into Power BI
  • How to Format Dates in Power BI
  • Create Power BI Groups
  • Create Power BI Query Groups
  • Create Power BI Hierarchy
  • Power BI Pivot Table
  • Power BI Unpivot Table
  • Rename Power BI Table Names
  • Rename power bi column names
  • Split Columns in Power BI
  • Remove reorder power bi column
  • Power BI Area Chart
  • Format Power BI Area Chart
  • Power BI Bar Chart
  • Format Power BI Bar Chart
  • Power BI Clustered Bar Chart
  • Clustered Column Chart
  • Create a Power BI Card
  • Format Power BI Card
  • Create Power BI Multi-Row Card
  • Format Power BI Multi-Row Card
  • Power BI Column Chart
  • Format Power BI Column Chart
  • Power BI Donut Chart
  • Format Power BI Donut Chart
  • Power BI Funnel Chart
  • Format Power BI Funnel Chart
  • Power BI Heat Map
  • Power BI Line Chart
  • Format Power BI Line Chart
  • Line & Clustered Column Chart
  • Format Line & Clustered Column
  • Line & Stacked Column Chart
  • Format Line & Stacked Column
  • Power BI Matrix
  • Format Power BI Matrix
  • Power BI Table
  • Format Power BI Table
  • Add Data Bars to Power BI Table
  • Add alternate Table Row Colors
  • Power BI Pie Chart
  • Format Power BI Pie Chart
  • Power BI Ribbon Chart
  • Format Power BI Ribbon Chart
  • Power BI Treemap
  • Format Power BI TreeMap
  • Power BI Scatter Chart
  • Format Power BI Scatter Chart
  • Power BI Stacked Area Chart
  • Power BI Stacked Bar Chart
  • Format Stacked Bar Chart
  • Power BI Stacked Column Chart
  • Format Stacked Column Chart
  • Power BI Waterfall Chart
  • Format Power BI Waterfall Chart
  • Power BI 100% Stacked Bar Chart
  • 100% Stacked Column Chart
  • Create a Power BI Map
  • Format Power BI Map
  • Power BI Filled Map
  • Format Power BI Filled Map
  • Power BI Basic Filters
  • Power BI Slicer
  • Power BI Top 10 Filters
  • Power BI Drill through Filters
  • Power BI Filters on Measures
  • Power BI Advanced Filters
  • Power BI Report Level Filters
  • Power BI Page Level Filters
  • Power BI Calculated Columns
  • Add Conditional Column
  • Create Power BI Custom Column
  • Power BI Calculated Measures
  • Power BI Calculated Tables
  • Power BI DAX String Functions
  • Power BI DAX Math Functions
  • DAX Trigonometric Functions
  • Power BI DAX Date Functions
  • Power BI DAX Logical Functions
  • Power BI DAX Agg. Functions
  • Power BI Dashboard Introduction
  • Power BI Dashboard Settings
  • Power BI Dashboard Actions
  • Delete Power BI Dashboard
  • Subscribe Power BI Dashboard
  • Add Web Content to Dashboard
  • Add Image to Dashboard
  • Add video to power bi dashboard
  • Add Title to Power BI Dashboard
  • Pin Workbooks to Dashboard
  • Register to Power BI Service
  • Connect to Power BI Service
  • Create Power BI Workspace
  • Share Power BI Workspace
  • Create a Report in Workspace
  • Rename a Report in Workspace
  • Rename a Dataset in Workspace
  • Quick insights in Power BI
  • Get insights in Power BI
  • Publish power bi desktop report
  • Upload Power BI Workbooks
  • Upload Excel Files to Dashboard
  • Edit Power BI App
  • View Published Power BI App
  • Publish Power BI App
  • Share Power BI Dashboard
  • Share Power BI Workspace
  • Share Power BI Report
  • Power BI Q&A
  • Power BI Q&A Advanced
  • Customize Q&A Suggestions

Copyright © 2021· All Rights Reserved by Suresh.
About | Contact | Privacy Policy