cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Microsoft

@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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors