Forum Discussion
Anonymous
5 years agoNot applicable
Burndown Graph with deadlines
Hi all, I'm trying to create a graph that shows the expected burndown of milestones of a program. I would like to compare the planned dates with the actual dates. My goal would be two lines that ...
- 5 years ago
Hi Anonymous
Try below measures.
Planned to do = VAR _count = CALCULATE ( COUNT ( 'Table'[Milestone Name] ), FILTER ( ALLSELECTED ( 'Date' ), 'Date'[Date] > MAX ( 'Date'[Date] ) ) ) + 0 RETURN IF ( ISBLANK ( SELECTEDVALUE ( 'Table'[Planned date] ) ), BLANK (), _count )Actual to do = VAR _count = CALCULATE ( COUNT ( 'Table'[Milestone Name] ), FILTER ( ALLSELECTED ( 'Date' ), 'Date'[Date] > MAX ( 'Date'[Date] ) ), USERELATIONSHIP ( 'Date'[Date], 'Table'[Actual Date] ) ) + 0 VAR _date = CALCULATE ( SELECTEDVALUE ( 'Table'[Actual date] ), USERELATIONSHIP ( 'Date'[Date], 'Table'[Actual Date] ) ) RETURN IF ( ISBLANK ( _date ), BLANK (), _count )Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
v-jingzhang
5 years agoCommunity Support
Hi Anonymous
Try below measures.
Planned to do =
VAR _count =
CALCULATE (
COUNT ( 'Table'[Milestone Name] ),
FILTER ( ALLSELECTED ( 'Date' ), 'Date'[Date] > MAX ( 'Date'[Date] ) )
) + 0
RETURN
IF ( ISBLANK ( SELECTEDVALUE ( 'Table'[Planned date] ) ), BLANK (), _count )
Actual to do =
VAR _count =
CALCULATE (
COUNT ( 'Table'[Milestone Name] ),
FILTER ( ALLSELECTED ( 'Date' ), 'Date'[Date] > MAX ( 'Date'[Date] ) ),
USERELATIONSHIP ( 'Date'[Date], 'Table'[Actual Date] )
) + 0
VAR _date =
CALCULATE (
SELECTEDVALUE ( 'Table'[Actual date] ),
USERELATIONSHIP ( 'Date'[Date], 'Table'[Actual Date] )
)
RETURN
IF ( ISBLANK ( _date ), BLANK (), _count )
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Anonymous
5 years agoNot applicable