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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors