Introduction
In this article, you will learn how to create a button and how to use it in Power BI reports. In a Power BI report, you can add different types of buttons, as shown in the below image.

In this article, I will create a button using a bookmark. A bookmark is a very useful feature of Power BI. Using a bookmark, you can capture the current view of a report including filters and visuals used in the report. Whatever you configured in a bookmark you can get it by selecting the saved bookmark. You can also create a collection of bookmarks and arranged them in any order. To create a button with a bookmark, you need to create a bookmark first. To create a bookmark, go to the ‘View’ tab of the Power BI desktop and click on Bookmarks.
When you create a bookmark, the below elements are saved with the bookmark:
- The current state of the report/page
- Applied Filters
- Slicers, including slicer type (for example, dropdown or list) and slicer state
- Visual selection state (such as cross-highlight filters)
- Sort order
- Drill location
- Visibility of an object (by using the Selection pane)
- The focus or Spotlight modes of any visible object
I am going to create a report using the ‘Employee’ table and ‘Department’ table. I have already imported the data from these two tables. I want to create a report where I can check the data in the table by clicking on a button. I will create 3 or 4 buttons according to the department name. Once I click on the ‘MKT’ button, I will get data of employees of the MKT department. Similarly, if I click on another button that represents the second department, I will get the data accordingly. See the below steps to perform this task.
Step 1
Import your data from the source. I have loaded two tables. See the below image
See the data of employee table and Department table.

See the relationship between these two tables.
Step 2

Join the conversation! Your thoughts help the community grow.