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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Youness99
Frequent Visitor

How to create this particular type of slicer on pbi?

I have a table with specialitem and item1 and item2, item3 and their prices, and I’m
I’m trying to do a slicer that when I select specialitem it will filter my graph by specialitem, if I don’t select the specialitem it have to show me on the graph all the other items except for specialitem, I’m asking if there is another way besides using a calculated column.

1 REPLY 1
Anonymous
Not applicable

In Power BI, on selection of the button events, you can navigate to and from between pages, bookmarks, and there are some other functionalities as well.

VishalJhaveri_0-1677059693234.png

As per your requirement, you need to understand the concept of Bookmarks.
Link to the concept of Bookmarks : 9.7 Bookmark Action in Power BI | Power BI Tutorial for Beginners | By Pavan Lalwani - YouTube

Your measure won't work. 
VAR Complete = CALCULATE([Nm Documents], FILTER(tabledoc, tabledoc[status] = "COMPLETED"))
VAR All1 = CALCULATE([Nm Documents], FILTER(tabledoc, tabledoc[status] <> "COMPLETED")) 
RETURN
IF(Switch(True(), SELECTEDVALUE(tabledoc[status]) = "COMPLETED", Complete, ALL1))

The red line seems wrong to me.
You need to create 2 visuals and implement the concepts of Bookmarks in Power BI and play with buttons and bookmarks simultaneously to achieve the same.

Thank you.
If my answer helps you, please mark it as solution.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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