How to sort slicer by another column in Power BI

In this Microsoft Power Bi tutorial, we will see how to sort slicer by another column in Power Bi.

Power Bi sort slicer by another column

Let us see how to sort a slicer by another column within the same data table in the Power Bi report.

In this example, I am going to create a Power BI report using the sales table data. We will select two columns called customer location and sales from the data table, and we will sort the sales value based on the customer location.

  • Open the Power Bi desktop, and load the data table into it using the get data option. Once the data has been loaded, Choose the data section and select the sales column as below:
  • Under the Column tools, expand the sort by column and select the customer location column as below: It automatically works on it.
Sort Slicer Value By A Different Column
Sort Slicer Value By A Different Column
  • Now in the Report section, select the Power Bi slicer visual from the visualization and drag and drop the Customer Location field from the fields pane.
  • In the same way, select the Line Chart visual and then drag and drop the Sales and Product names fields in it as below:
Power Bi sort slicer by another column
Power Bi sort slicer by another column
  • Now sort any values from the Power Bi slicers visual, it filters and displays the sales data in the Line chart visual.
  • The below screenshot displays the chart sales value based on the selected customer location in the Power Bi report.
Power Bi sort slicer by another column example
Power Bi sort slicer by another column example

In the same way, we can select different customer location from the power bi slicer visual, and it filters the sales value based on the selection.

Example of Power Bi sort slicer by another column
Example of Power Bi sort slicer by another column

This is how to sort a slicer by another column within the same data table in a Power Bi report.

This Microsoft Power Bi article illustrated how to sort slicer values by a different column in a Power Bi report.

You may like the following Power BI tutorials:

>
Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

Power Platform Tutorial

FREE Power Platform Tutorial PDF

Download 120 Page FREE PDF on Microsoft Power Platform Tutorial. Learn Now…