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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Dni
Frequent Visitor

Burndown chart for software tasks

Hello,

 

I'm trying to create a table containing data that will be used to create a burndown chart. As an inputs, I have two tables:

1. Dates: the table date corresponding to the list of dates for a given release/sprint

2. History: the table containing the transitions for the set of tasks to be performed

       The fields are: 

            id: id of the task

            when: transition date between to states

            status: status of a task (New, Assigned, Analyzed, Solving, etc)

            It looks like this:

id when state

12/1/2024New
12/2/2024Assigned
23/1/2024New
32/2/2024Solving
24/1/2024Solving

 

I'm trying to build a Burndown table from these datas using DAX. I don't want a measure here.

DateNewAssignedAnalyzed
1/1/20241  
2/1/202421 
3/1/2024111
4/1/20240  
5/1/2024...  

 

New = number of tickets with last 'when' is "New" before the date.

I've been circling around a solution without converging for quite a some time, hence a little help would be highly appreciated.

 

Thanks in advance for any advice you may give!

3 REPLIES 3
Dni
Frequent Visitor

Hello,

thanks for the quick reply

 

Here is an example of something that is in a measure; same spirit:

    VAR _Summarized = SUMMARIZE(
        _History ,
        'History'[id] ,
        "@Last Date", MAX('History'[when] ) ,
        "@Last Status" , CALCULATE(
                            MAX('History'[status]),
                            FILTER(
                                _History,
                                'History'[when]= MAX ('History'[when])
                            )
                        )
    )  

 

Basically for each date in the calculated table I want to:

- Filter History to get only the dates before the reference date

(e.g. the first date in the Burndown table is 1/1/24. This is the reference date)

- Filter History to get the latest [when] for each id

(e.g if I have a when for id1 at 31/12/23 and 30/12/23, I'll keep only the 31/12/23 one)

- and Finally filter history to get the id in status New

 

and then, count the IDs that match these criteria, and fill the New with this value in Burndown

govindarajan_d
Super User
Super User

Hi @Dni ,

 

New = number of tickets with last 'when' is "New" before the date. I am not able to understand this. Can you help us by posting a single calculation and how it is done?

Hello,

thanks for the quick reply

 

Here is an example of something that is in a measure; same spirit:

    VAR _Summarized = SUMMARIZE(
        _History ,
        'History'[id] ,
        "@Last Date"MAX('History'[when] ) ,
        "@Last Status" , CALCULATE(
                            MAX('History'[status]),
                            FILTER(
                                _History,
                                'History'[when]MAX ('History'[when])
                            )
                        )
    )  

 

Basically for each date in the calculated table I want to:

- Filter History to get only the dates before the reference date

(e.g. the first date in the Burndown table is 1/1/24. This is the reference date)

- Filter History to get the latest [when] for each id

(e.g if I have a when for id1 at 31/12/23 and 30/12/23, I'll keep only the 31/12/23 one)

- and Finally filter history to get the id in status New

 

and then, count the IDs that match these criteria, and fill the New with this value in Burndown

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.