Forum Discussion

kschimmo's avatar
kschimmo
Frequent Visitor
5 years ago
Solved

Help creating a table based on relationship within the table

I am working with Jira data with Issue Links. The table provided from Jira with the issue links has the following data:

 

IDLinked_Issues_IssuesLinked_Issues_Link_TypeLinked_Issues_Issue_KeyLinked_Issues_Direction
2827446440RelatesMDSUP-1090Inward
2827446407RelatesMDSUP-1051Outward
2827546440RelatesMDSUP-1090Outward
2827546441RelatesMDSUP-1091Inward

 

I want to create a table that summarizes the associated links in a list for quick reference (and for query to see if particular projects are referenced). Want my results to look like this:

 

Issue IDLinked Issues
MDSUP-1090

MDSUP-1051, MDSUP-1091

 

6 Replies

  • Nathaniel_C's avatar
    Nathaniel_C
    Icon for Community Champion rankCommunity Champion

    Hi kschimmo ,
    Maybe I am over thinking this, would you expect your table to look like this?

     

    Issue ID Linked Issues
    MDSUP-1051 MDSUP-1090
    MDSUP-1090 MDSUP-1051, MDSUP-1091
    MDSUP-1091 MDSUP-1090


    Nathaniel

     

    • kschimmo's avatar
      kschimmo
      Frequent Visitor

      Yes. That is the result I am looking for in. 

      • Nathaniel_C's avatar
        Nathaniel_C
        Icon for Community Champion rankCommunity Champion

        Hi kschimmo ,
        Still am over thinking it. Went down various paths. Calling for help from jdbuchanan71 . John, figured that the logic is based on that each of these issues have an in / out. Tried various DAX, but the only thing that gets close is a NewTable with SUMMARIZECOLUMNS() and MIN()/MAX() to get both Issue IDS on the same row, so there is the link.
        Here is my pbix, and took out all the relationships.

        https://1drv.ms/u/s!AgCd7AyfqZtE2VrhBg2SgGlvrpB_?e=qTwOVv 
        Good Luck,


        Let me know if you have any questions.

        If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
        Nathaniel

         

  • Nathaniel_C's avatar
    Nathaniel_C
    Icon for Community Champion rankCommunity Champion

    Hi kschimmo ,
    What is the logic here? How would we know that MDSUP-1090 links to the other two? I can not tell from looking at your data

    Let me know if you have any questions.

    If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
    Nathaniel

  • kschimmo's avatar
    kschimmo
    Frequent Visitor

    Thanks for the follow-up, Nathaniel_C !

     

    The data between ID and Linked_Issues_Issues ran together which confuses the situation.

     

    Attaching an image of the file which separates it. In this you can see that the ID column shows the link to the other issue.