Forum Discussion
Teodor_TRU
9 years agoFrequent Visitor
Running Total - Different Dates Axis Graph
Hello!
I am trying to create a graph of 2 running totals of snags, each having a date attributed to it => when it was raised [Date Raised] and when it was closed [Date Closed].
1) When a snag was created. My formula is:
Open = CALCULATE ( COUNTROWS (dr_summary), dr_summary[Status] = "OPEN", FILTER (
ALL ( dr_summary[Date Raised]),
'dr_summary'[Date Raised] <= MAX ( 'dr_summary'[Date Raised] )&& MIN(dr_summary[Date Raised])<= TODAY()))
2) When a snag was closed. My formula is:
Closed = CALCULATE ( COUNTROWS (dr_summary), dr_summary[Status] = "CLOSED", FILTER (
ALL ( dr_summary[Date Closed]),
'dr_summary'[Date Closed] <= MAX ( 'dr_summary'[Date Closed] )&& MIN(dr_summary[Date Closed])<= TODAY()))
Unfortuneatly, in the graph, I can only have ONE at a time work, depending if I have [Date Raise] or [Date Closed] in it's axis.
They are both under a Date format.
How can I combine the 2 of them ?
Thank you for your time,
Teodor
3 Replies
- Teodor_TRUFrequent Visitor
Here is a picture of the graph.
- v-caliao-msftMicrosoft Employee
Could you please provide us some sample data, so that we can make further analysis.
Regards,
Charlie Liao
- Teodor_TRUFrequent Visitor
I hope this clarifies my situation.