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
savulesc
Helper I
Helper I

Slicer: Select ALL logic

I have a table with one column:

 

A

B

C

...

Z

 

I'm using this table to create a slicer. In this slicer I want to keep only specific values: B, C, E, F, L, M, N and also to have the Select All option.

The problem is that when I click on Select ALL option all the values are considered in the report, not only the ones that i want (B, C...N)

Is there a fix for this?

1 ACCEPTED SOLUTION

Hi @savulesc ,

 

Another approach is to use this measure as a visual-level filter in all visuals that need to be filtered.

 

Measure =
COUNTROWS (
    FILTER (
        VALUES ( Query1[Column1] ),
        Query1[Column1] IN { "B", "C", "E", "F", "L", "M", "N" }
    )
)

vkkfmsft_1-1659599146061.png

vkkfmsft_0-1659599126248.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
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

7 REPLIES 7
v-kkf-msft
Community Support
Community Support

Hi @savulesc ,

 

First create a page-level filter to select specific values.


Then add a slicer, which will not show all the data when you select "Select all".

 

vkkfmsft_0-1659407103476.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Page level filter is not an option for me because it will mess up all visuals' results.

Hi @savulesc ,

 

Another approach is to use this measure as a visual-level filter in all visuals that need to be filtered.

 

Measure =
COUNTROWS (
    FILTER (
        VALUES ( Query1[Column1] ),
        Query1[Column1] IN { "B", "C", "E", "F", "L", "M", "N" }
    )
)

vkkfmsft_1-1659599146061.png

vkkfmsft_0-1659599126248.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

TheoC
Super User
Super User

Hi @savulesc 

 

If the slicer is not selected, are you still wanting to show the records that you do not want to have in the slicer?  If you don't want the other records, just go into Power Query and filter out the values you do not want (i.e. A, D, G, H... etc) and then Close & Apply.  This will remove the others and only keep the relevant values you want.

 

I may be missing something thought?  Let me know.

 

Thanks,

Theo

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Hi @TheoC ,

 

Unfortunately, i can't do that because i have another slicer based on the same table where i want to leave all the values.

This was my idea to have another slicer based on the same table but with specific values.

VahidDM
Super User
Super User

Hi @savulesc 

 

If you just want those specific values, you can select that slicer then add that column to the filter pane and set filter to shows just specific values.

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Hi @VahidDM ,

 

I already did that, but like i said when i have the Select All option clicked all values will be considered, not just the ones that i want.

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.