Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MandyL
Helper I
Helper I

Can we merge two slicers into one slicer?

Hi Team,

 

Can we merge two slicers into one slicer? I’m trying to do is create one slicer, when user pick “Yes” value then it will apply all data; when user pick “No” value then it will apply Column B equals “No”. Thanks!

 

Column A: Only “Yes” value
Column B: “Yes” and “No” value

 

Column A

Column B

Yes

No

Yes

Yes

Yes

No

 

Slicer:
  Yes => All Data
  No => ColumnB=”No”

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MandyL ,

 

Based on the information you provided, you may consider adding two buttons and two bookmarks, one bookmark shows all the data and the other bookmark shows "No" in Column B.


Ctrl+click the button to follow link:

vyifanwmsft_0-1705374623260.png

vyifanwmsft_1-1705374650927.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @MandyL ,

 

Based on the information you provided, you may consider adding two buttons and two bookmarks, one bookmark shows all the data and the other bookmark shows "No" in Column B.


Ctrl+click the button to follow link:

vyifanwmsft_0-1705374623260.png

vyifanwmsft_1-1705374650927.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

123abc
Community Champion
Community Champion

In Power BI, you can create a calculated column that combines the information from both columns A and B into a new column, and then use this new column for your slicer. Here's a step-by-step guide:

  1. Create a Calculated Column:

    • Go to the "Model" view.
    • Find your table in the Fields pane.
    • Right-click on the table, and select "New column."
  2. Write the DAX Formula:

    • Use a DAX formula to create a new column that combines the information from columns A and B. For example, if your table is named "YourTable," and the columns are named "ColumnA" and "ColumnB," you can use the following formula:

CombinedColumn = IF(YourTable[ColumnA] = "Yes" || YourTable[ColumnB] = "Yes", "Yes", "No")

 

    • This formula checks if either ColumnA or ColumnB has a "Yes" value and assigns "Yes" to the CombinedColumn, otherwise, it assigns "No."

  1. Create a Slicer:

    • Go back to the "Report" view.
    • Select the "CombinedColumn" you just created.
    • Click on the "Slicer" icon in the Visualizations pane to create a slicer visual.
  2. Configure the Slicer:

    • In the slicer visual, you can now use "Yes" and "No" to filter your data based on the logic you specified.

By using this approach, you have essentially merged the information from columns A and B into a new column that you can use for filtering using a slicer. Remember to adjust the table and column names according to your actual data model.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.