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
Anonymous
Not applicable

Item group slicer

<p>Hi,</p><p> </p><p>I have a matrix visual with customers (rows), item groups (columns) and sales.</p><p> </p><p>I would like to build a slicer that contains the item groups and shows all the customers with sales in the selected item group.</p><p>I also want to see the sales in the selected and the non-selected item groups. </p><p> </p><p>When I add a slicer with item groups I can see all the customers with their sales in this group but the other item groups disappear.</p><p> </p><p>Is there any possibily to build a slicer like that?</p><p> </p><p>Thank you very much!</p><p> </p><p>Thomas</p>

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

 

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

amitchandak
Super User
Super User

@Anonymous , first of all you need an independent item group slicer

 

then you can have meausre like

selected = calculate([meausre], filter(Table, Table,[item group] in allselected( 'item group'[ item group]) ))

 

not selected =

var _tab = except( all( 'item group'[ item group]) ,allselected( 'item group'[ item group]) )

return

calculate([meausre], filter(Table, Table,[item group] in _tab ))

 

If you need them with a column(having measure names)  , the create a calculation group 

 

Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

 

 

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.