Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Create table based on conditions in the current table

Hi all,


I've an "Employee" table which contains all the employees from a company. In this table, in addition to the name, function, etc. there is one column with the employeeID, and another one with the ManagerID (each manager is also a row in the Employee table, and thus has an employeeID too).


I'd like to create a separate table to store only Managers.


Could help me on the filter to use to build this ?


Manager = CALCULATETABLE('Employees; 'Employees'[MANAGERID] in (...))


I know how I would do it in SQL, but not really in Power BI with DAX formulaes.


Thanks for your help



Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!


The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors