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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

I want to eliminate the selected values from Slicer one to show only remaining values in 2nd Slicer.

I have two slicers with the same column 'Table'[reference] and I want to see only unselected values from slicer one in slicer two. I have 

DanishNadeem_1-1693043102820.png

 

2 ACCEPTED SOLUTIONS
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try the following methods.

Sample data:

vzhangti_0-1693484886548.png

New table:

Table 2 = VALUES('Table'[Reference2])

vzhangti_1-1693484920160.png

Measure = 
Var _table=CALCULATETABLE(VALUES('Table'[Reference1]),FILTER('Table',[Reference1]<>BLANK()))
Return
IF(SELECTEDVALUE('Table 2'[Reference2]) in _table,0,1)

vzhangti_2-1693485074134.png

vzhangti_3-1693485093670.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

ThxAlot
Super User
Super User

Exclusive Slicer.pbix

 

One can never imagine how weired requests on forum can be.

ThxAlot_0-1693508255681.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LeanAndPractise(Everyday)


)



View solution in original post

4 REPLIES 4
ThxAlot
Super User
Super User

Exclusive Slicer.pbix

 

One can never imagine how weired requests on forum can be.

ThxAlot_0-1693508255681.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LeanAndPractise(Everyday)


)



v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try the following methods.

Sample data:

vzhangti_0-1693484886548.png

New table:

Table 2 = VALUES('Table'[Reference2])

vzhangti_1-1693484920160.png

Measure = 
Var _table=CALCULATETABLE(VALUES('Table'[Reference1]),FILTER('Table',[Reference1]<>BLANK()))
Return
IF(SELECTEDVALUE('Table 2'[Reference2]) in _table,0,1)

vzhangti_2-1693485074134.png

vzhangti_3-1693485093670.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

danextian
Super User
Super User

Hi @Anonymous ,

 

With jus the information provided, use the below formula as a visual filter = is not blank

=
CALCULATE (
    COUNTA ( 'table'[Other References] ),
    FILTER (
        'table',
        NOT 'table'[Other References] IN VALUES ( 'table'[Promocode References] )
    )
)

Please take note that a previously selected item that is no longer visible because of the change in slicer 1 selection will still be visible in slicer 2  unless deselected. Deselection of non-visible items is not automatic.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Hi @danextian , I am getting nothing(no values) when I applied visual level filter = is not blank

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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