Forum Discussion
Burndown Graph with deadlines
- 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.
Hi v-jingzhang,
Thanks a lot! I get the following visual now:
It does everything I've asked of you. If I may be so bold as to ask one more question:
Is it possible to tweek the visual or data such that the graph doesn't show every single date, but only the dates that with data points in them? Making the lines look more fluid:
instead of
If there is a solution for that I would be very gratefull. We're using these graphs throughout our organisation.
Kind regards,
Luca
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.
- Anonymous5 years agoNot applicable