Forum Discussion

JonDewar's avatar
JonDewar
Frequent Visitor
4 years ago
Solved

How to create a new column, using its own table as a reference

I am pulling data out of azure dev ops, board views. If your familiar with agile and ADO's analytical views, it gives you one table filled with all of your epics/features/stories/tasks. Included in this dump is the:

- Work Item ID

- TItle

- Work item type (epic/story/etc.)

- Parent ID

- Myriad of other fields. 

I want to create a new column referencing its own table, to pull the parents title, since all of the information is already there. Here is a picture of what I am trying to do:

 

I feel like it should be simple, I could easily create a join to a new table, but im fairly new to PowerBI, I do not know how to "use its own table as a reference" if that makes sense?

Thanks for the guidance! JD

4 Replies

    • JonDewar's avatar
      JonDewar
      Frequent Visitor

      Sorry if my first post was not explicit enough. 

      Exmaple Data Set:

      IDTitleTypeParent IDParent Title *New
      1

      Word

      User Story3Microsoft Office
      2ExcelUser Story3Microsoft Office
      3Microsoft OfficeFeature4Bill Gates
      4Bill GatesEpic  

       

      If you notice above, all of the information needed is in the same table, I just want the Parent Title Column, to look up the Parent ID field and bring back the title for that ID.

       

      Does that help?
      Thanks,

      JD

      • PijushRoy's avatar
        PijushRoy
        Community Champion

        What is the logic for Parent Title

        if word, then Microsoft Office
        like that