Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Unable to figure this problem out

Hi All,

 

I hope someone can help here, I have 2 tables called Epic and Tasks pulled from JIRA.

 

Tasks contains  the EPIC_PARENT_LINK, which is where you can match up the data, I have created a hierarchy in Tasks using EPIC_PARENT_LINK as the first, then ISSUE_KEY to collect the Task ID.

 

This provides the following 

 

As you can see, i have chosen the values to be Status and Summary, the trouble is they have propogated up from the Task and I do not want that information on the Epic, anyone have an idea on how to stop that?

 

Thanks,

 

Jeff

 

 

  • Anonymous Might help although I do not think I have included MM3TR&R yet which is kind of what you are looking for. Try something like below. Basically at the "group" level (first hierarchy level) you are going to have multiple Tasks. So, if you have only a single Task, then you are at the second level of the hierarchy, otherwise, you are at the top level of the hierarchy. This uses HASONEVALUE instead of ISINSCOPE but same concept.

    Measure =
      IF(
        HASONEVALUE('Tasks'[ISSUE_KEY]),
        MAX('Tasks'[SUMMARY]),
        MAX('Epics'[SUMMARY])
      )

     

8 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Greg_Deckler 

     

    PARENT_ISSUE_KEYISSUE_KEYSUMMARYISSUE_STATUSdone
    CAPLO-1CAPLO-16This is just text soNew0
    CAPLO-1CAPLO-17Another text fieldIn Progress0
    CAPLO-1CAPLO-18yet another textDone1

     

    The above is from the Tasks table

     

    The below is from Epics

     

    PARENT_ISSUE_KEYISSUE_KEYSummaryStatusDone
    RMPP-1CAPLO-1different text based on epicNew0
    RMPP-2CAPLO-2text based on epicIn progress0
    RMPP-2CAPLO-3text based on epicdone1

     

    So, as you can see 2 different table containing different information, but with the PARENT_ISSUE_KEY being the link between Tasks and Epics

     

    What I would like to see is:

    PARENT_ISSUE_KEYISSUE_KEYSummaryStatus
    CAPLO-1 Epic summaryepic status
     CAPLO-16Task summarytask status
     CAPLO-17Task Summarytask status

     

    As you can see from the pictures i shared earlier, the + sign opens the information about the tasks.

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

      Anonymous So, use ISINSCOPE in your measure to determine where you are in the hierarchy and then return either the Epics status or the Task status as appropriate. I assume the tables are related on ISSUE_KEY in Epics to PARENT_ISSUE_KEY in Tasks. Use the ISSUE_KEY from Epics in your table as the top of the hierarchy and the ISSUE_KEY from Tasks as the second level. ISINSCOPE('Tasks'[ISSUE_KEY) should return true for task lines and false for Epics lines.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Greg_Deckler thanks for the reply, way beyond my level of understanding at the moment, as I have only been using powerBI since middle of January.

         

        Would your tool MHGDQM help me here or would it be like throwing myself into a tank of piranha?