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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Shadd307
Frequent Visitor

Creating a calculated column

So going for my second post hope help is as fast as the first one.

 

I am trying to create a new column in a table based on values in 2 other columns and then populating the new column with data from a 4th column. 

 

Here is an example of the data:

 

table = Gantt Chart table

If issue type = epic use parent link to find the parent-key in issue_key and then use the summary  of the parent_link and theparent_link value and populate it in a new column called parent_summary.

 

issue_keysummaryparent_linkissue_typeparent_summary (New column)
GDES-20654Do some work Story 
GDES-56713Build WaggleGDES-66684EpicGDES-66684: Waggle Launch
GDES-66684Waggle Launch Initiative 
GDES-56142test my work Story 
GDES-55651Build the widgetGDES-57785EpicGDES-57785: Widget Creation
GDES-57785Widget creation Initiative 
1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@Shadd307 

Parent Summary = 
IF(
    'Table'[issue_type] = "Epic",
    VAR _parent_link = 'Table'[parent_link]
    VAR _summary = 
    CONCATENATEX(
        FILTER(
            'Table',
            'Table'[issue_key] = _parent_link
        ),
        'Table'[summary]
    )
    RETURN
    _parent_link & ": " & _summary
)


In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos 🙂

View solution in original post

1 REPLY 1
SpartaBI
Community Champion
Community Champion

@Shadd307 

Parent Summary = 
IF(
    'Table'[issue_type] = "Epic",
    VAR _parent_link = 'Table'[parent_link]
    VAR _summary = 
    CONCATENATEX(
        FILTER(
            'Table',
            'Table'[issue_key] = _parent_link
        ),
        'Table'[summary]
    )
    RETURN
    _parent_link & ": " & _summary
)


In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos 🙂

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.