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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
AlainDelhaise
Frequent Visitor

Ignoring Included table filter while maintaining slicer filter

Hello,

 

I am attempting to compare individual performance against the average performance of a group using a line chart.

However I want the user to be able to deselect certain people, to filter out unwanted data. The idea is the list of people will be selected in the slicer, their stats will appear in the table. Selecting a name from the table will filter the line chart to that person's stats. Example included.

 

However, now I've selected the employee to review, I'd like to create an Average line across the other 3 employees who were chosen in the slicer, but are not currently selected. I cannot use ALL() or REMOVEFILTERS() on the [First Name] column since doing so would include Josh.

 

AlainDelhaise_1-1722976291455.png

 

Is there some way to remove the "Included (1)" filter from the table, while keeping the rest? Or is there a better approach to what I am trying to do?

AlainDelhaise_2-1722976552604.png

 

Thanks!

 

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

Disconnected tables are your friend here. I'm not 100% sure what  your data looks like behind all of it, but here's my setup - 

vicky__0-1722984694190.png(btw there's no relationship between the tables)

I put Name[Name] in a slicer, I then create 2 measures:

 

All selected names = CONCATENATEX(ALLSELECTED(Names[Name]), Names[Name], ", ") // this is all the names selected in the slicer
excluding slicer Names = CONCATENATEX(EXCEPT(ALLSELECTED('Names'[Name]), ALLSELECTED('Names (2)'[Name])), 'Names'[Name], ", ")

 

 which gives the following result:

vicky__1-1722984802026.png

instead of using concatenatex, you could save the values in a variable, and use them as calculate filter arguments.

 

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

Disconnected tables are your friend here. I'm not 100% sure what  your data looks like behind all of it, but here's my setup - 

vicky__0-1722984694190.png(btw there's no relationship between the tables)

I put Name[Name] in a slicer, I then create 2 measures:

 

All selected names = CONCATENATEX(ALLSELECTED(Names[Name]), Names[Name], ", ") // this is all the names selected in the slicer
excluding slicer Names = CONCATENATEX(EXCEPT(ALLSELECTED('Names'[Name]), ALLSELECTED('Names (2)'[Name])), 'Names'[Name], ", ")

 

 which gives the following result:

vicky__1-1722984802026.png

instead of using concatenatex, you could save the values in a variable, and use them as calculate filter arguments.

 

Great! Got it working, and learned something new. Thank you!

 

AlainDelhaise_0-1723033408303.png


And to any that come looking at this in the future, to make this work with a measure I did this:

AlainDelhaise_1-1723033493001.png

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.