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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Natalia1234
Regular Visitor

Single filter to filter different columns

Hi, 
I am new to Power BI and really need your help with this:

I have data like this:

Column AColumn BColumn C
A

not B

not C
not ABC
ABnot C

I would like to have a single filter (dropdown with options A, B and C) to be able to choose "B", and the report filters the B column to show all data related to B.
Basically, I need Power BI to understand, which value is selected by a user, and use it to filter the correct column. Or, Maybe there is a measure, allowing to save the selected value (a measure that is equal to the selected value, for example, if user selects "B" in the report, measure should be equal to "B" ), and then use it in other functions (for example, save the selected text into the measure and then find this text in the other column)?

Any help would be greatly appreciated!
Thanks!

3 REPLIES 3
amitchandak
Super User
Super User

Refer :https://www.sqlbi.com/articles/creating-a-slicer-that-filters-multiple-columns-in-power-bi/

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Unfortunately, this is not the case, cause I have observations with A in one column and B in the other, while in your example continent, country and region forms a unique combination (we can not have an observation with Asia as a continent and France as a country in the same time). Moreover, the slicer will have options "A, not_A, B, not_B", and I what I need is "A, B".

 

Maybe there is a measure that would be equal to the selected option in filter?

Hi @Natalia1234 , 

I am not clear about your requirement, If you choose "A" in slicer, what is your expected output? You could use your original table, filter value only to "A" and "B", then use this as slicer.

If possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

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.