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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
DanishNadeem
Frequent Visitor

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, @DanishNadeem 

 

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, @DanishNadeem 

 

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 @DanishNadeem ,

 

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.










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


Proud to be a Super User!









"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.

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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