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
titanconsulting
Frequent Visitor

Burndown Chart - Dynamically Created Table??

All,

 

I've looked through examples and haven't figured this out yet.  Trying to build burndown chart for PMO dashboard (so it will have tons of projects at once.  I'll have slicers for Project, Sprint, and Sprint Team (steam) and want to show burndown chart based on those slicers. 

I have a sprint table that describes start and end date

Sprint Table Picture.png

 

 

 

 

 

 

 

 

 

 

I have requirements - fields include Status, Points, Close Date (just showing important fields)

Requirement Table picture.png

 

 

 

 

 

 

 

 

I know I need to create a dynamic table of days during the filtered sprint (from sprint start to end date).  That table then would need total story points, ideal points for the day, and actual points for the day.  I can create the visual from there - but the build of the dynamic table is going over my head???

 

Thanks in advance for any help.

1 ACCEPTED SOLUTION
3 REPLIES 3
titanconsulting
Frequent Visitor

Thanks to both of you - created a new table and then used the calendar in order to create the table.

Greg_Deckler
Super User
Super User

So, you cannot build an actual table table that is dynamic because tables are only calculated at run time. You essentially have to build the table dynamically within the measure. I actually have an example of a dynamic burnd down chart in my new book, DAX Cookbook, that is very similar to what you have here. Now, sample data as text would have been great, I probably could have whipped up a quick example PBIX. 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

 

In general, the way to go about this is something like:

Burndown Measure =
  VAR __Table = 
    CALENDAR(
      MAX([StartDt]),
      MAX([EndDt])
    )
  VAR __Table1 =
    ADDCOLUMNS(
      __Table,
      "Some column",<some calculation goes here probably involving hours for dates>
    )
RETURN
  SUMX(__Table1,[Some column])

 

So, not 100% sure what you are going for, but essentially you can build a dynamic table within a meausure using CALENDAR or GENERATESERIES, add columns to it to do your calculations and then aggregate across that dynamic table.


@ 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.