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
Anonymous
Not applicable

Calculating Past Pipeline by open and close dates

Hi all,

 

I am trying to calculate what our past pipeline looked like. To do this, I need to sum the value of any opportunity that

  • was created before or during the month in question
  • either closed after that month or is still open

 

My data looks like this:

OpportunityValueCreated OnClosed OnStatus

A

107/2/20209/3/2020Closed
B158/3/20209/12/2020Closed
C78/20/20209/15/2020Closed
D89/3/20209/23/2020Closed
E139/18/202010/6/2020Closed
F910/3/2020 Open
G2210/12/2020 Open

 

And I am looking for results like this:

MonthTotal Pipeline Value
July10
August32
September13
October31

 

July would be the sum of Opportunity A, since it's the only one that was created in or before July and it didn't close until August. August would be the sum of A, B, and C, because all of them have a Created On date that is before the end of August and a Closed date after August. And so forth.

 

I've been playing around with this for a while and can't figure it out, and I wasn't able to find anything similar on here via search.

I'd appreciate any help. Thanks!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User
2 REPLIES 2
amitchandak
Super User
Super User

Anonymous
Not applicable

Thank you @amitchandak ! That's exactly what I was trying to do.

 

I had forgotten about the USERELATIONSHIP function - that was the piece I was missing 🙂

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.