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
shariq4powerbi
New Member

showing all values in another slicer except one selected in a slicer

i want to have 2 slicer based on same column named website which has values like amazon,walmart and target etc.

So if in one slicer user select amazon then other slicer should show rest values of website column except amazon .

any suggestioon.

6 REPLIES 6
v-kpoloju-msft
Community Support
Community Support

Hi @shariq4powerbi,

Thank you for reaching out to the Microsoft fabric community forum. Also thanks to @danextian@Royel@MohamedFowzan1, for those inputs on this thread.

Has your issue been resolved? If the response provided by the community member @danextian, @Royel, @MohamedFowzan1, addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.

Thank you for using the Microsoft Community Forum.

Hi @shariq4powerbi,

Hope you had a chance to try out the solution shared earlier. Let us know if anything needs further clarification or if there's an update from your side always here to help.

Thank you.

Hi @shariq4powerbi,

Just wanted to follow up one last time. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.

Thank you.

danextian
Super User
Super User

Not possible if you're using the same column or different columns but from the same table. The columns to be used in the slicers shouldn't be directly related to each other. Try @Royel 's solution.





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.
Royel
Responsive Resident
Responsive Resident

Hi @shariq4powerbi  you can achieve this functionality by following this steps 

 

Create two seperate tables ((Replace Column Name)

Website_Slicer1 = DISTINCT(financials[Product])
Website_Slicer2 = DISTINCT(financials[Product])

 

Maintain the logic:  Now lets create these measures 

Show_In_Slicer1 = 
VAR SelectedFromSlicer1 = SELECTEDVALUE(Website_Slicer2[Product])
VAR CurrentWebsite = SELECTEDVALUE(Website_Slicer1[Product])
RETURN 
IF(
    ISBLANK(SelectedFromSlicer1) || CurrentWebsite <> SelectedFromSlicer1,
    1,
    0
)

 

Show_In_Slicer2 = 
VAR SelectedFromSlicer1 = SELECTEDVALUE(Website_Slicer1[Product])
VAR CurrentWebsite = SELECTEDVALUE(Website_Slicer2[Product])
RETURN 
IF(
    ISBLANK(SelectedFromSlicer1) || CurrentWebsite <> SelectedFromSlicer1,
    1,
    0
)

 

Final stage: We need to set filter for each slicer 

 

Now, create a slice visual and visualize Website_Slicer1 and then add a filter on the visual (Show_In_slicer1) make sure it is = 1

Royel_0-1755428980175.png


Now, do the same for Website_Slicer2

Royel_1-1755429018576.png

 

Testing: 

Website_Slicer1 to Website_Slicer2: Selected items from  Website_Slicer1 "Pasep" is not showing Website_Slicer2

Royel_2-1755429103901.png

 

Website_Slicer2 to Website_Slicer1: Selected items from Website_Slicer2 "Montana" is not showing Website_Slicer 1

Royel_3-1755429152051.png

Find this helpful? ✔ Give a Kudo • Mark as Solution – help others too!

MohamedFowzan1
Solution Supplier
Solution Supplier

Hi @shariq4powerbi 

 

Not sure what the usecase is:

  1. Duplicate the Website Table:

    • Create a new table that duplicates your "website" values (call it Website_Slicer2).

     
    Website_Slicer2 = DISTINCT('website_table'[website])

    This is a calculated table, not related to your main data model.

  2. Create a Measure to Filter Slicer 2:
    In the Website_Slicer2 table, add a measure like the following:

     
    ShowInSlicer2 = IF( SELECTEDVALUE('website_table'[website]) = 'Website_Slicer2'[website], 0, 1 )
    • This measure checks if the selected website in Slicer 1 is equal to the current website in Slicer 2. If so, it returns 0 (hide), else 1 (show).

  3. Set Up Slicers:

    • Slicer 1: Use website field from your main table.

    • Slicer 2: Use website from Website_Slicer2, but add the filter where ShowInSlicer2 = 1.

  4. Usage:

    • When a user selects "amazon" in Slicer 1, the second slicer will exclude "amazon" and show the rest.

If this is not what is needed and the usecase is explained, I could clarify further.

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.