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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.