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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
OmkarNag99
Frequent Visitor

Path Dax Function

Hi all,
I've a doubt regarding Path Function.

 

In my data I've Reporting Manager ie(Parent) and Employees that work under Parent.

As you see my data has 2 Parent

 

Below is the snip of sample data.

OmkarNag99_2-1663918145940.png

 


is there any way to bypass any 1 parent and work on it??
because if my data has 2 parent Path function(DAX) doesnt work.

 

Is it because my data has 2 parents that's why I'm getting below error?

OmkarNag99_1-1663917940316.png

 

Please Help.

2 REPLIES 2
MahyarTF
Memorable Member
Memorable Member

Hi,

If I am not mistaken the error isn't because of the 2 parent layer, it is because you have the data "Mulahi Hitesh" as a name in "REporting Manager" that does not exist in "Employee" column.

It means you have a manage that is not an employee in the particular organization.

Please mark as a solution if it helps

Thanks for your Kudos

Mahyartf
amitchandak
Super User
Super User

@OmkarNag99 , Please clean and trim and replace "" with null in the power query.

 

Seems like some data quality issues. It is giving the error manager's name is not present as an employee

 

Power Query Trim and Clean : https://youtu.be/NRYPsCnS0w4

 

Power Query Replace Value: https://youtu.be/hkZhZbR7Kmk

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors