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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Lvadagnini
Frequent Visitor

Group all slicer's unselected value as one ?

Hello everyone !

 

First of all thanks a lot for this well active forum, it has helped me a lot to learn and deal with PowerBI 🙂

 

Here is my question : I have a slicer made of market players and some clustered column charts on my dashboard. Sometimes I want to compare the influence of one (or many) specific players on the full market. I can use the "select all" option on my slicer but as I have 30+ players the charts are difficult to read. I would like to know if it is possible to create a group within the slicer called "Others" and made of the unselected players ? If yes so do you have some tips ?

 

Thanks in advance !

 

Lucas

 

 

2 ACCEPTED SOLUTIONS
v-eachen-msft
Community Support
Community Support

Hi @Lvadagnini ,

 

Here is my sample data. You can get the results you want according to my ideas.4-1.PNG

Then create two measures.

Selected =
CALCULATE (
    SUM ( Slicer[Value] ),
    ALLSELECTED ( Slicer[Slicer] ),
    VALUES ( Slicer[Slicer] )
)
Other =
CALCULATE ( SUM ( Slicer[Value] ), ALL ( Slicer ) ) - [Selected]

Here is the visual.4-2.PNG

 

Best Regards,

Eads

 

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

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Hello Eads,

 

Sorry for the late reply ... No excuses ! Anyway it works perfectly : thanks a lot for your time and your help 🙂

 

Have a good day !

 

Best regards,

 

Lucas

View solution in original post

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @Lvadagnini ,

 

Here is my sample data. You can get the results you want according to my ideas.4-1.PNG

Then create two measures.

Selected =
CALCULATE (
    SUM ( Slicer[Value] ),
    ALLSELECTED ( Slicer[Slicer] ),
    VALUES ( Slicer[Slicer] )
)
Other =
CALCULATE ( SUM ( Slicer[Value] ), ALL ( Slicer ) ) - [Selected]

Here is the visual.4-2.PNG

 

Best Regards,

Eads

 

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

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Hello Eads,

 

Sorry for the late reply ... No excuses ! Anyway it works perfectly : thanks a lot for your time and your help 🙂

 

Have a good day !

 

Best regards,

 

Lucas

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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