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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Frequent Visitor

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



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.




Is this possible?



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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.