Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Stacked column chart accumulated columns by week with max dated status

Data - Issues over time with daily status and story points.

 

issue_id

status

end_date

story_points

week

10

OPEN

2020-01-04

3

1

10

OPEN

2020-01-05

3

1

10

OPEN

2020-01-06

3

1

10

OPEN

2020-01-07

3

1

10

IN PROGRESS

2020-01-08

3

2

10

IN PROGRESS

2020-01-09

3

2

10

BLOCKED

2020-01-10

0

2

10

BLOCKED

2020-01-11

0

2

10

IN PROGRESS

2020-01-12

3

2

10

DONE

2020-01-13

3

3

11

OPEN

2020-01-14

5

3

11

OPEN

2020-01-15

5

3

11

OPEN

2020-01-16

5

3

11

OPEN

2020-01-17

5

3

11

OPEN

2020-01-18

5

3

11

OPEN

2020-01-19

5

3

11

OPEN

2020-01-20

5

4

11

OPEN

2020-01-21

5

4

11

OPEN

2020-01-22

5

4

11

OPEN

2020-01-23

5

4

11

OPEN

2020-01-24

5

4

11

OPEN

2020-01-25

5

4

11

OPEN

2020-01-26

5

4

11

OPEN

2020-01-27

5

5

11

OPEN

2020-01-28

5

5

11

OPEN

2020-01-29

5

5

11

IN PROGRESS

2020-01-30

5

5

11

DONE

2020-01-31

5

5

12

OPEN

2020-02-12

2

7

12

OPEN

2020-02-13

2

7

12

OPEN

2020-02-14

2

7

12

OPEN

2020-02-15

2

7

12

IN PROGRESS

2020-02-16

2

7

12

DONE

2020-02-17

2

8

 

Requirement:

1) Stacked Chart by week for statuses OPEN,IN PROGRESS,BLOCKED, and DONE.

2) Each week and status should have the total story points for all existing issues

3) Each week is a snap shot for all issues - like an as-of view.

 

Resulting report for data:

I included the issue id and status to show issue statuses across time. This will not be displayed in report.

OPEN - Blue, IN PROGRESS - GREEN, DONE - Dark gray.

Boxes with black bold border indicate the issue was added. Dotted border indicates the issue current status in the following week.

 

Does anyone have an idea on how to contruct the DAX code?

 

Thanks!!

3 Replies