• Home
  • Tools dropdown img
    • Spreadsheet Charts

      • ChartExpo for Google Sheets
      • ChartExpo for Microsoft Excel
    • Power BI Charts

      • Power BI Custom Visuals by ChartExpo
    • Word Cloud

  • Charts dropdown img
    • Chart Category

      • Bar Charts
      • Circle Graphs
      • Column Charts
      • Combo Charts
      • Comparison Charts
      • Line Graphs
      • PPC Charts
      • Sentiment Analysis Charts
      • Survey Charts
    • Chart Type

      • Box and Whisker Plot
      • Clustered Bar Chart
      • Clustered Column Chart
      • Comparison Bar Chart
      • Control Chart
      • CSAT Survey Bar Chart
      • CSAT Survey Chart
      • Dot Plot Chart
      • Double Bar Graph
      • Funnel Chart
      • Gauge Chart
      • Likert Scale Chart
      • Matrix Chart
      • Multi Axis Line Chart
      • Overlapping Bar Chart
      • Pareto Chart
      • Radar Chart
      • Radial Bar Chart
      • Sankey Diagram
      • Scatter Plot Chart
      • Slope Chart
      • Sunburst Chart
      • Tornado Chart
      • Waterfall Chart
      • Word Cloud
    • Google Sheets
      Microsoft Excel
  • Services
  • Pricing
  • Contact us
  • Blog
  • Support dropdown img
      • Gallery
      • Videos
      • Contact us
      • FAQs
      • Resources
    • Please feel free to contact us

      atsupport@chartexpo.com

Categories
All Data Visualizations Data Analytics Surveys
Add-ons/
  • Google Sheets
  • Microsoft Excel
  • Power BI
All Data Visualizations Data Analytics Surveys
Add-ons
  • Google Sheets
  • Microsoft Excel
  • Power BI

We use cookies

This website uses cookies to provide better user experience and user's session management.
By continuing visiting this website you consent the use of these cookies.

Ok

ChartExpo Survey



Home > Blog > Power BI

Toggle Button in Power BI: A Complete User Guide

The toggle button in Power BI is a control feature that enables a user to switch between multiple states. It could be switching between measurements, images, or pages. The toggle button makes Power BI reports interactive.

Toggle Button in Power BI

One of the primary benefits of the toggle button is the space it creates within a report. For instance, it eliminates the need to use two images in a single report. Instead, the user has the option of switching between images with the toggle button.

In this guide, you’ll discover what the toggle button in Power BI is, why it is important, and when to use it.

Table of Contents:

  1. What is a Toggle Button in Power BI?
  2. Why is the Power BI Toggle Button Important?
  3. When to Use the Power BI Toggle Button Filter in Power BI?
  4. How does the Toggle Button Work in Power BI?
  5. How to Add and Connect the Toggle Button for Power BI?
  6. How to Visualize Data Using Power BI?
  7. Wrap Up

First…

What is a Toggle Button in Power BI?

The toggle button in Power BI is an interactive feature that helps in switching between multiple views or states in a report. With the toggle button, users can easily change data visualizations, and switch between multiple data perspectives and toggle filters. This will, in turn, improve the user experience within Power BI reports and dashboards.

Why is the Power BI Toggle Button Important?

The major reasons why the Power BI toggle button is important are:

  • Enhanced User Interactivity

The toggle button allows users to dynamically interact with their reports. By switching between multiple views or states, users can easily explore their data from multiple perspectives. The data exploration is done without the need to move out of the current page.

  • Better Storytelling

Toggle buttons help the report creator enhance visual storytelling by creating a compelling narrative and guiding users through it. For instance, toggling between multiple visual perspectives (or data sets) allows the report creator to show how various factors impact overall business outcomes. All these pieces make the story more understandable and compelling.

  • Productivity and Efficiency

Quick switches between multiple data views help to enhance productivity and efficiency amongst users. This way, users are enabled to quickly access their desired information without manually adjusting multiple filters or navigating through various pages.

When to Use the Power BI Toggle Button Filter in Power BI?

These are instances when you should use the toggle button in Power BI:

  • View Modes

With the toggle button, you’ll have access to multiple perspectives of the same data. It could be switching between multiple visualization types, or toggling between detailed views and summary.

  • Data Segmentation

It helps the user filter data by categories like customer segment, product line, or region. All these help in diving deep into the data analysis.

  • Comparative Analysis

The toggle button helps users switch between multiple periods or datasets. It could be year-over-year, or month-over-month comparisons.

  • Interactive Dashboards

The toggle button enhances interactive storytelling by allowing users to easily change filters without navigating away from their current view.

  • Scenario Analysis

It helps users compare what-if analysis results or multiple business scenarios.

How does the Toggle Button Work in Power BI?

Here’s a brief overview of how the toggle button works, and how to set it up:

  1. Creating Toggle Buttons

Creating toggle buttons involves the use of buttons or shapes from your Power BI visualizations pane. To design toggle buttons, use text or images. Designing the toggle button helps to indicate the various states like “Monthly/Yearly,” or “On/Off.”

  1. Bookmarks

Bookmarks capture the different views or states you want the users to toggle between. One bookmark could show a yearly view, while the other shows a chart in a monthly view.

  1. Assigning Actions

To assign action buttons, select the toggle button and navigate to the format pane. Turn on the action toggle that’s under the “Action” section.

  1. Switching Views

When a user clicks on the toggle button, it activates the assigned bookmark and that switches the report view to the captured state. A user can dynamically explore and filter data by toggling between multiple bookmarks.

  1. Testing and Adjustments

You have to test the toggle button to figure out if it switches between your views. Also, make adjustments to the button actions or bookmarks in Power BI when necessary.

How to Add and Connect the Toggle Button for Power BI?

First, you’ll have to create a toggle button. The toggle button always works with the bookmarks. To create a toggle button, you’ll have to create a bookmark.

Step 1: Navigate to the view and select the Bookmark option.

Navigate View for Adding Toggle Button in Power BI

Step 2: Look out for the Bookmarks panel. To add it, click on Add.

  1. Toggle_on
  2. Toggle_off
Lookout for Bookmark Panel for Adding Toggle Button in Power BI

Step 3: To insert the bookmark navigator, go to “insert,” and click on “Buttons.” From the drop-down menu in “Navigators,” select “Bookmark Navigator.”

Select Bookmark Navigator for Adding Toggle Button in Power BI

Step 4: To observe the bookmark created on your dashboard, use the Toggle_on and Toggle_off states as shown below.

Observed Bookmark Created for Adding Toggle Button in Power BI

Step 5: Navigate to the “Bookmark Navigator” and select “Toggle_on.” After that, right-click and select “Group.” There’s the option of renaming the Group.

Select Group for Adding Toggle Button in Power BI

Step 6: Navigate to the “Formatting option” of the Bookmark and click “Bookmarks.” A close look at the drop-down of the Bookmark will reveal the Toggle_on group that has been created. Choose the “Group-1” option.

Choose Group-1 for Adding Toggle Button in Power BI

Step 7: Switch on the “Allow deselection” option. The option is found below the bookmarks. After that, take a look at the drop-down list of the “Launch on deselection,” and select “Toggle_off.”

Switch Allow Deselection for Adding Toggle Button in Power BI

Step 8: At this point, you’ve completed the primary setup for the toggle button. Next, navigate to the “Bookmark panel” and rename your “Toggle_on” with a dot. To do that, copy and paste the Unicode character circle. This will make the toggle button look realistic.

Rename Toggle On With Dot for Adding Toggle Button in Power BI

Step 9: From the image below, you’ll notice the dot popping up on the toggle.

Notice Dot Popping Up for Adding Toggle Button in Power BI

Step 10: You have to format the toggle button to suit your needs. To do that, navigate to the “Bookmark” panel and select “Toggle_off.” In the “Format” panel, you’ll notice that the “State” is in “Default.” You need to be creative and customize the options to fit your needs. The image below shows how the formatting options have been customized to fit a user’s needs.

Fromat Toggle Button for Adding Toggle Button in Power BI

Step 11: You can repeat step 10 for “Toggle_on.” To do that, navigate to the “Bookmark” panel, and select “dot.” Start the formatting process. You’ll notice that in the “Format” panel, the “State” has the “Selected” option. Customize it to fit what you’re looking for. The image below shows the formatting options of a user.

Repeat Step 10 for Toggle On for Adding Toggle Button in Power BI

Step 12: To check the toggle button you’ve created, click on it using ctrl+click.

Check Toggle Button for Adding Toggle Button in Power BI

Step 13: You have to add the toggle button to your visuals. The image below shows two matrices the first shows the sum of sales, while the other shows the percentage of the total.

Hide One Matrix for Adding Toggle Button in Power BI

Step 14: The two matrix visuals should overlap above one other. The aim is to show one image while hiding the other when the toggle is on, and vice versa when the toggle is off.

Step 15: Navigate to “view,” and click the “selection” panel. It comes with three options bookmark, the sum of sales, and the sum of sales in %. To hide one matrix and unhide another, you’ll have to keep the toggle button on.

Navigate Bookmark Panel for Adding Toggle Button in Power BI

Step 16: Navigate to the “bookmark” panel and update the “toggle on” by choosing the sum of sales and the sum of sales % (right-click the “toggle_on” option to see the update option).

Update Toggle Off for Adding Toggle Button in Power BI

Step 17: Keep the toggle off by repeating the two steps above in the reverse order of the hidden and unhidden state. To update the Toggle off, you’ll have to choose bookmark navigator, the sum of sales, and the sum of sales %. To see the update, right-click on toggle_off.

Toggle Button Helps Switching Between Two Images for Adding Toggle Button in Power BI

How to Visualize Data Using Power BI?

Stage 1: Logging in to Power BI

    • Log in to Power BI.
    • Enter your email address and click the “Submit” button.
Enter email to login to Power BI
  • You are redirected to your Microsoft account.
  • Enter your password and click “Sign in“.
Enter Password to login to Power BI
  • You can choose whether to stay signed in.
Click on stay signed in
  • Once done, the Power BI home screen will open.

Stage 2: Creating a Data Set and Selecting the Data Set to Use in Your Chart

  • Go to the left-side menu and click the “Create” button.
  • Select “Paste or manually enter data“.
select Paste or manually enter data in Power BI ce487
  • We’ll use the sample data below for this example.
Country Revenue Stream Revenue (in $)
USA Digital Advertising Revenue 39,620,000
USA Event Marketing Revenue 10,670,000
USA Content Marketing Revenue 5,580,000
USA Print & Outdoor Revenue 455,270
UK Digital Advertising Revenue 40,710,000
UK Event Marketing Revenue 24,770,000
UK Content Marketing Revenue 6,330,000
UK Print & Outdoor Revenue 552,190
DNK Digital Advertising Revenue 47,040,000
DNK Event Marketing Revenue 29,070,000
DNK Content Marketing Revenue 7,740,000
DNK Print & Outdoor Revenue 600,690
DNK Media Relations Revenue 106,430
AUS Digital Advertising Revenue 53,790,000
AUS Event Marketing Revenue 38,530,000
AUS Content Marketing Revenue 6,590,000
AUS Print & Outdoor Revenue 9,040,000
AUS Media Relations Revenue 6,130,000
FR Digital Advertising Revenue 57,860,000
FR Event Marketing Revenue 50,450,000
FR Content Marketing Revenue 3,560,000
FR Print & Outdoor Revenue 18,790,000
FR Media Relations Revenue 15,460,000
IND Digital Advertising Revenue 60,470,000
IND Event Marketing Revenue 63,200,000
IND Content Marketing Revenue 2,080,000
IND Print & Outdoor Revenue 29,500,000
IND Media Relations Revenue 30,020,000
  • Paste the data table above into the “Power Query” window. After that, choose the “Create a dataset only” option.
Click Create a Dataset Only for Adding Toggle Button in Power BI
  • On the left-side menu, click “Data Hub.” After that, Power BI will populate the data set list. If there are no datasets created, you’ll get an error message. Next, click “Create report.”
Click Create Report for Adding Toggle Button in Power BI
  • Click on “Expand All” to see the chart metrics. You can check the dimensions and metrics.
Click Expand All for Adding Toggle Button in Power BI
  • Click “Get more visuals,” search ChartExpo, and select Comparison Bar Chart.
Click Get More Visuals for Adding Toggle Button in Power BI
  • Click “Add.”
Click Add Button for Adding Toggle Button in Power BI
  • You’ll see the Comparison Bar Chart in the visuals list.
See Comparison Bar Chart for Adding Toggle Button in Power BI
  • To add the key, click on “License Settings.” After that, you’ll see the comparison bar chart.
Add License Key for Adding Toggle Button in Power BI
  • The Comparison Bar Chart will be similar to the image below.
Final Toggle Button in Power BI

Insights

Here are three major insights from the chart:

  • India has the largest total revenue, and France, Australia, and Denmark closely follow them.
  • “Digital Advertising” is a significant revenue contributor in most countries. However, “Event Marketing” is the leading revenue contributor in India.
  • The US and UK have no “Media Relations” revenue stream.

Upgrade Your Data Visualization with Proficiency in Toggle Buttons in Power BI:

Discover the power of the Toggle Button in Power BI with this hands-on video tutorial. This essential feature allows you to seamlessly switch between views and data sets. Mastering the Toggle Button will enable you to create interactive and user-friendly reports, enhancing your data visualization capabilities and making your dashboards more dynamic.

FAQs

How do you toggle visuals on and off in Power BI?

To toggle visuals on and off in Power BI, you’ll have to create a shape or button and assign bookmarks to each visual state. This will enable users to switch between them.

What is the difference between toggle and toggle buttons?

“Toggle” refers to switching between multiple states, while a “toggle button” is the specific UI element that’s used in Power BI and other similar software interfaces.

What are the advantages of the toggle button?

Toggle buttons offer improved interactivity and help users to easily switch between multiple views or states within a report. This facilitates customization and data exploration in Power BI.

Wrap Up

The toggle button in Power BI is an interactive control for switching between multiple views or states in a report. It helps in enhancing usability and interactivity in scenarios that require dynamic data exploration.

Toggle buttons lower the need to have clustered visuals or multiple report pages. Instead of having multiple pages for different filters or views, a single with toggle buttons will serve the same purpose. All of these make the report concise, and it also makes it easy to navigate.

The steps outlined in this guide will help you become better at the use of Power BI. This way, you’ll start creating interactive, engaging visualizations.

Now you know the importance of toggle buttons in Power BI, how will you integrate toggle buttons into your visuals?

How much did you enjoy this article?

PBIAd2
Start Free Trial!
138329

Related articles

next previous
Power BI12 min read

Power BI Group By Guide for Effective Data Insights

Learn how Power BI Group By helps you aggregate data, clarify trends, and create reports by grouping values to make large datasets manageable & insightful.

Power BI12 min read

How to Create Sankey Diagram in Microsoft Power BI?

Learn How to Create Sankey Diagram in Microsoft Power BI using Desktop & Web Service. What they are and how to use them effectively.

Power BI8 min read

Power BI Artificial Intelligence: Insights Using Visuals

Discover all there is to know about the Power BI artificial intelligence. You'll also discover how AI is used in Power BI, and how to use it for analysis and more.

Power BI9 min read

Budgeting in Healthcare: Use Visuals to Spot Budget Gaps

This guide helps you discover what budgeting in healthcare is. You'll also discover the factors that affect hospital budgets and types of budgeting in healthcare.

Power BI9 min read

Predictive Analytics in Power BI for Making Insightful Visuals

This guide shows you everything you need to know about Predictive Analytics in Power BI. It also shows you how it works, and how to interpret the results.

ChartExpo logo

Turn Data into Visual
Stories

CHARTEXPO

  • Home
  • Gallery
  • Videos
  • Services
  • Pricing
  • Contact us
  • FAQs
  • Privacy policy
  • Terms of Service
  • Sitemap

TOOLS

  • ChartExpo for Google Sheets
  • ChartExpo for Microsoft Excel
  • Power BI Custom Visuals by ChartExpo
  • Word Cloud

CATEGORIES

  • Bar Charts
  • Circle Graphs
  • Column Charts
  • Combo Charts
  • Comparison Charts
  • Line Graphs
  • PPC Charts
  • Sentiment Analysis Charts
  • Survey Charts

TOP CHARTS

  • Sankey Diagram
  • Likert Scale Chart
  • Comparison Bar Chart
  • Pareto Chart
  • Funnel Chart
  • Gauge Chart
  • Radar Chart
  • Radial Bar Chart
  • Sunburst Chart
  • see more
  • Scatter Plot Chart
  • CSAT Survey Bar Chart
  • CSAT Survey Chart
  • Dot Plot Chart
  • Double Bar Graph
  • Matrix Chart
  • Multi Axis Line Chart
  • Overlapping Bar Chart
  • Control Chart
  • Slope Chart
  • Clustered Bar Chart
  • Clustered Column Chart
  • Box and Whisker Plot
  • Tornado Chart
  • Waterfall Chart
  • Word Cloud
  • see less

RESOURCES

  • Blog
  • Resources
  • YouTube
SIGN UP FOR UPDATES

We wouldn't dream of spamming you or selling your info.

© 2025 ChartExpo, all rights reserved.