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
pablofigueira
Frequent Visitor

Not SELECTEDVALUES

Hi Everyone,

 

I´m having a problem with SELECTEDVALUE. I want to get a sum (anycolumn) for all objects in slicer that is not selected.

 

(  ) Option A

(  ) Option B

(X) Option C

 

Here I want to get the sum of Option A and  Option B.

I tried everything but I didn´t get it.

 

Any help, please?

 

Tks

Pablo

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You can use

Unselected items =
CALCULATE (
    [Measure],
    EXCEPT ( ALL ( 'Table'[Column] ), VALUES ( 'Table'[Column] ) )
)

View solution in original post

4 REPLIES 4
pablofigueira
Frequent Visitor

Looks like perfect. Tks

johnt75
Super User
Super User

You can use

Unselected items =
CALCULATE (
    [Measure],
    EXCEPT ( ALL ( 'Table'[Column] ), VALUES ( 'Table'[Column] ) )
)

Hi...

 

Can I make this?

 

CALCULATE (
[Measure],
EXCEPT ( ALL ( 'Table'[Column] ), VALUES ( 'Table'[Column] ) ),
EXCEPT ( ALL ( 'Table'[Column] ), VALUES ( 'Table'[Column] ) ),

EXCEPT ( ALL ( 'Table'[Column] ), VALUES ( 'Table'[Column] ) )
)

 

Since the columns inside lines are different,

 

 

Technically you could, but I would not recommend it. You would need to have a very clear understanding of the model, the data, and how it all interacts with each other.

Different implementations might be better if more than one column is involved but, again, you would need to have a very clear understanding of the model and what you are trying to achieve - e.g. should the filters act as AND or OR. 

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.