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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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