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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
prakash11440278
Post Prodigy
Post Prodigy

Group Individual values & All

Hi Power BI Experts,

 

I want to group the values in a column and need to display in Slicer. How can we acheive the below result. 

 

prakash11440278_0-1637814068324.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@prakash11440278 , Create a new table 

 

Status Slicer 

Open Open

Open All

Waiting All

Pending all

Closed all

 

Join with status column Many to Many join. Use new table's slicer column for filter

 

Same approch what I have done for single select slicer with all

 

Single Select with Select All : https://youtu.be/plGqCEZRfXU

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

I suggest having a disconnected slicer table like below and writing the measure like below.

Also, please check the attached pbix file.

 

Picture2.png

 

Qty total by slicer: =
SWITCH (
SELECTEDVALUE ( Slicer[Slicer] ),
"All", CALCULATE ( SUM ( Data[Qty] ), KEEPFILTERS ( REMOVEFILTERS () ) ),
"Open", CALCULATE ( SUM ( Data[Qty] ), KEEPFILTERS ( Data[Status] = "Open" ) ),
SUM ( Data[Qty] )
)

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
amitchandak
Super User
Super User

@prakash11440278 , Create a new table 

 

Status Slicer 

Open Open

Open All

Waiting All

Pending all

Closed all

 

Join with status column Many to Many join. Use new table's slicer column for filter

 

Same approch what I have done for single select slicer with all

 

Single Select with Select All : https://youtu.be/plGqCEZRfXU

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.