Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Create Burndown chart with history data

Hello,

 

I want to create a burndown chart report. But im having some trouble getting the data in the right format. 

So in Jira (our project management tool) we have issues with following 2 values: 

Story points

Remaining SP

 

to associate it with dates I need to go into the change history from that issue. I found that in the DB and created a query which gives me following results: 

Then i imported this query into Power BI. 

But it does not have a value for each day. 

I think for each issue i need a table which somehow looks like this: 

 

DateissueStory PointsRemaining SP 
2023-04-0383210118
2023-04-048321086
2023-04-058321086
2023-04-068321086
............
2023-04-258321065

 

So that I have a value for each day. Can I achieve that with DAX ? 

How can I create a Burndown chart based on the data I have ? 

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data. 

    (2) We can create two calculated columns and a table.

    Remaining SP = IF('Table'[field]="Remaining SP",'Table'[newstring],0)
    Story Points = IF('Table'[field]="Story Points",'Table'[newstring],0)
    Table 2 = SELECTCOLUMNS('Table',"date",'Table'[created],"id",'Table'[id],"issue",'Table'[issuenum],"Story Points",'Table'[Story Points],"Remaining SP",'Table'[Remaining SP])

    (3) Then the result is as follows.

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.