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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
harib
Post Patron
Post Patron

Category selection for multiple values

Hello All,

 

I have a senario . I have a category defined as Group with MS-I, MS-P values like below images. When i use Group column as a slicer if we select "MS-I " from Group it will show "MS-I" values in the table and same way for "MS-P "also. Here I also required when i select "MS-ALL" it should show all the records of "MS-I" and "MS-P". If we dont select any value from group it will show all the records, but i don't want that, when i select MS-ALL it should show all records.

Can anyone help in this.

 

A.PNGb.PNG

 

Thanks in Advance

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@harib,

 

You can modify your table as below and create two slicers based on Group and Sub-Group:

1.PNG2.PNG  

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-yuta-msft
Community Support
Community Support

@harib,

 

You can modify your table as below and create two slicers based on Group and Sub-Group:

1.PNG2.PNG  

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yuta-msft
Community Support
Community Support

@harib ,

 

You don't need to add a MS-ALL value in the GROUP column, in the formatting pane of slicer visual, there's a "select all" option, you can enable that option.

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HI @v-yuta-msft 

 

I have added MS-All in the group why because all the Prd_Name diferentiated with the Group (MS-I, MS-P) and MS-I and MS-P under the MS-ALL group. 

 

Here my scenario is we have a summary report. From the Summary to we are drilling to detailed report. 

In Summary we have "MS-ALL", "MS-I", "MS-P" values in group. When we select "MS-ALL" from the slicer and drilling to detailed report it should fetch all the records, like when we select "MS-I" it should fetch only "MS-I" records , Same way for "MS-P" also.

 

Unfortunatly my detailed report having only MS-I and MS-P values, there is not MS-ALL value.

 

Example : MS-All having 100 records in that MS-I having 40 and MS-P having 60 records

If i select MS-ALL it should fetch  complete 100 records.

If i select MS-I it should fetch  40 records.

If i select MS-ALL it should fetch   60 records.

 

Hope u got the clear requirment, Can anyone help in that

 

Thanks in advacne

 

 

 

 

Anonymous
Not applicable

Create a measure : 

Measure = IF ( ISFILTERED('list'[Group]), BLANK(), 50 )

then go to filters (on your table) :

 
Untitled.png


Can you test this ?

@Anonymous 

 

It's not working, Do we need to give relationship. If yes where to give. i mean to which column?

 

Anonymous
Not applicable

In my case, I had 2 tables which were related via Id : 
- In you case you can create a table containing only the 3 groups then create a relationship between on the 2 tables based on the group.

If you select something in the first table, it will filter the 2nd.
So the first table is acting as a slicer

This is when nothing is selcted (2nd table empty) 

paint3.png

 

And this is when you select something in the first table :

 

paint4.png

 

I hope this can help you (in your case the first table would be the groups)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors