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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Filter the other table based on the selected value

Hi,

 

I have a table called Employee Details with different Data Fields such as employee Id, Name, Department and Grade Rank.  I have created another duplicate table called Succesor Table. Now I want to filter the successor table automatically based on the selection (The selection is drillthroughed from the othe page) from the first table with the followning three conditons:

1. The successor must be from the same department

2. If the Grade rank of the current employee is n, then the successor grade rank must be either n, n-1 or n-2.

3. The selected employee should not be appeared in the successor table.

 

I was able to achieve the first condition by creating the relationship between the departments of the two tables and then using a forced selection in the Chiclet Slicer. But I coudnt achieve the other two conditions.

 

Any help on this is highly appreciated.

Thanks in Advance!

4 REPLIES 4
vanessafvg
Super User
Super User

can you provide sample data in text form or share your pbix.  please also give an example of what you expect.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Hi @vanessafvg,

Sure...,

lokesh199_0-1685874153336.png

Let us the above are the details of the selected emloyee

lokesh199_1-1685874238577.png

And this is the succesor table(Same as Employee Details Table). Now Based on the Selected employee, the result of the successor table should be as follows:

lokesh199_2-1685874471799.png

 

Hope, this clarifies my situation!

need the data in text format so i can copy and paste, not a screenshot.  





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Please find the data in the text format as requested

    
Employee CdeEmployee NameDepartmentGrade Rank
1ASupport Staff1
2BTech Team4
3CAdmin4
4DTech Team2
5EAdmin3
6FMngt2
7GMngt2
8HTech Team2
9IMngt3
10JSupport Staff2
11KTech Team3
12LAdmin4
13MSupport Staff1
14NSupport Staff1
15OSupport Staff3
16PAdmin3
17QMngt3
18RAdmin1
19STech Team1
20TAdmin2
21UMngt4
22VAdmin4
23WAdmin3
24XAdmin1
25YTech Team1

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.