- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
DAX Parent & Child - PATHLENGTH function
Description
Returns the number of parents to the specified item in a given PATH result, including self.
Syntax
PATHLENGTH (<path>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
path A text expression resulting from evaluation of a PATH function. |
Return Value
The number of items that are parents to the specified item in a given PATH result, including the specified item.
Example
= PATHLENGTH(PATH(Employee[EmployeeID], Employee[ManagerEmployeeID]))
dax_functions_parent_child
Advertisements