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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Teodor_TRU
Frequent 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 3
v-caliao-msft
Microsoft Employee
Microsoft Employee

@Teodor_TRU,

 

Could you please provide us some sample data, so that we can make further analysis.

 

Regards,

Charlie Liao

 

I hope this clarifies my situation. 

 

 

Capture.PNG 

 

 

 

 

Teodor_TRU
Frequent Visitor

Here is a picture of the graph.

 

Capture.PNG



Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors