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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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.

steven_sparks_0-1597353626516.png

 

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

 

Thanks!!

3 REPLIES 3
dax
Community Support
Community Support

Hi @Anonymous ,

I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data )? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

Anonymous
Not applicable

Hi Zoe, is this more clear now?

Greg_Deckler
Super User
Super User

@Anonymous - Sorry, not entirely clear on this. Please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors