# Get Parent Label as a measure

**URL:** <https://community.eazybi.com/t/get-parent-label-as-a-measure/19573>\
**Category:** Questions & Answers\
**Tags:** mdx\
**Created:** [February 25, 2025, 12:29pm UTC](https://community.eazybi.com/t/get-parent-label-as-a-measure/19573 "2025-02-25T12:29:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marius](https://community.eazybi.com/user_avatar/community.eazybi.com/marius/32/12742_2.png) [@Marius](https://community.eazybi.com/u/Marius)\
**Post date:** [February 25, 2025, 12:29pm UTC](https://community.eazybi.com/t/get-parent-label-as-a-measure/19573/1 "2025-02-25T12:29:11Z")

</div>

Requested support to create a measure that contains the label of parent issues.

Putting the solution provided by EazyBI support here for others that may find this useful:

```auto
CASE 
WHEN
NOT isEmpty([Measures].[Issue parent key])
THEN
Generate(
[Label].[Label].GetMembersByKeys(
  Generate(
  [Issue].[Issue].GetMembersByKeys(
    [Issue].CurrentHierarchyMember.Get('Parent issue key')
  ),
  [Issue].CurrentHierarchyMember.GetString('Labels'),
  ","
  )
),
[Label].CurrentMember.Name,
","
)
END

```
