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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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.


Follow on LinkedIn
@ 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.