web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Filter Report by Manager

(0) ShareShare
ReportReport
Posted on by

Hi everyone

I'm currently working on a Power BI Report which creates a list of all employees and their current leave and absence balances sorted by absence type so that the managers can monitor the balances of their employees.

Is there a way to filter the list by manager?

I know that the manager is stored in the cdm_jobposition table but I can't figure out how to connect it with cdm_positionworkerassignementmap and cdm_worker.

Any help would be very much appreciated!

  • Verified answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Stefan,

    There was a similar thread in this community where I answered how to get a Manager. 

    Please check this community.dynamics.com/.../1160799

  • StefanA Profile Picture
    on at

    Hi Parag

    Thank you very much for the answer.

    It took me quite some time to figure everything out as I'm pretty new to Power BI.

    In addition to your code I added a filter to the rows "isprimaryposition" and "validto" from the positionworkerassignmentmap table as there can be multiple entries with the same employee but different manager depending on what is defined in the assigned position(s) of the worker.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 528 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 455 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 376

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans