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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
a_guest1005
Frequent Visitor

Path Function - Filter Multiple Parent ID's based on date range

HI,

 

I've read numerous posts and can't seem to find anything that solves this, so thought I'd ask.

 

I've an employee table, holding line mgr information and changes to this line mgt /  employee data over time.
The current record is marked by an IsCurrent Column


What I need to do:
When the path function comes across two records, it looks at the records that is current.

Or if I apply a date filte to my visual, I return the line management at that point in time.

 

So prior to End of July I have one Hierarchy and after this I get a different one for the employees shown below.

 

a_guest1005_0-1660047651443.png

 

Is this possible?

TIA

2 REPLIES 2
amitchandak
Super User
Super User

@a_guest1005 , refer if this can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for sharing. I like what it achieves and will help with other reporting I need to do.

However, it doesn't solve my hierarchy (line Mangement) issue above.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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