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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to exclude a data from the chart and table

I have a slicer and associated chart and table. Table consists of employee and their direct manager and regional manager. If I select the one of the direct manager from the slicer, the chart should data of his employees.But currently my chart shows both his and his employee details. How to exclude the direct manager data from the chart/Table.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Flag = if(SELECTEDVALUE('Table'[Employee Name]) in ALLSELECTED('Table'[Direct Manager]),0,1)

Then filter the data.

vpollymsft_0-1645000899477.png

vpollymsft_1-1645000942654.png

Best Regards

Community Support Team _ Polly

 

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

 

 

View solution in original post

10 REPLIES 10
Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Flag = if(SELECTEDVALUE('Table'[Employee Name]) in ALLSELECTED('Table'[Direct Manager]),0,1)

Then filter the data.

vpollymsft_0-1645000899477.png

vpollymsft_1-1645000942654.png

Best Regards

Community Support Team _ Polly

 

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

 

 

VijayP
Super User
Super User

@Anonymous 

then you shuld unselect the regional manager 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Anonymous
Not applicable

</> Thats not possible, requirement itself is like that, first you need to select RM and then Direct Manager and see the data. Is there any way?

VijayP
Super User
Super User

@Anonymous 

Just Add only employee Data into Table
Add two slicers 1. Direct manager 2. Regional manager

 thats it! 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Anonymous
Not applicable

</>

but still we need Manager Data into table..as if they select their name indvidually to see the status

VijayP
Super User
Super User

@Anonymous 
I think a sample data will give better idea. Is that Data is in single columns or multiple columns?!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Anonymous
Not applicable

</>Please find the sample data..

If i select Regional Manager - Chart/Table should show all the employees data reporting to Regional Mangager

Ex: if select Rob - All data related to Direct Manager and Employee should show

If i select any of Direct Manager - say Peter, it should his reportees data only ,it should not show Peter Data

 

SL. NoEmployee NameDirect ManagerRegional ManagerTask Name Start DateCompletion DateStatus
1SamPeterRobDevelopment Review101.01.2131.12.21Complete
2MaryPeterRobDevelopment Review201.01.2231.12.22In Progress
3JuliePeterRobDevelopment Review301.01.2131.12.21Complete
4PeterPeterRobDevelopment Review401.01.2131.12.21Complete
5RobRobRobFinal Review31.12.2131.12.21Complete
6AlexJeffJimTest Review 101.01.2131.12.21Complete
7KarenJeffJimTest Review 201.01.2131.12.22In Progress
8SteveJeffJimTest Review 301.01.2131.12.21Complete
9GeorgeJeffJimTest Review 401.01.2131.12.21Complete
10JimJimJimFinal Test Review31.12.2131.12.21Complete

@Anonymous 
Check this file and let me know if it answers your question. Share your Kudoes




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Anonymous
Not applicable

</>

When i select Peter, In table/Chart Peter should not come.

Capture.PNG

Anonymous
Not applicable

</> what was done in this? i know its bit tricky..looking at file it looks everything straightforward.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.