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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.