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
AnthonyTilley
Solution Sage
Solution Sage

SELECTED VALUES Ignore some values

Hi All,

 

Looking for a simple way to retrive the selected values from a filter but ignore some pretetermind values 

 

in my example i have a filter that contains a set of integers 

these integers are the identifiers to a set of Data snap shots 

 

Within the report the user will always select 1 snap shot to display, however by default the report always includes several snap shots that must be included. for example if a user wants to see snap shot 78 then they would select this in the filter.

however when using all selected function it will return snap shot 78,9999,0000,0001 

these three snap shots contain data that is always included in the filter and cannot be removed. 

 

i am trying to display a title across the top of the page that will tell the user what snap shot is selected 

i can use all selected to get back the list above but not sure how to return onl the 78 and ignore 9999,0000,0001





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

ALLSELECTED just returns a table object so you can wrap that in a FILTER
eg.

 

MyMeasure = CONCATENATEX(
    FILTER(
      ALLSELECTED( 'table'[Column1] ),
      NOT( 'table'[Column1] IN {"0000","0001","9999"} )
    ) , [Column1], ",")

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User

ALLSELECTED just returns a table object so you can wrap that in a FILTER
eg.

 

MyMeasure = CONCATENATEX(
    FILTER(
      ALLSELECTED( 'table'[Column1] ),
      NOT( 'table'[Column1] IN {"0000","0001","9999"} )
    ) , [Column1], ",")

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.