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
Gingerjeans88
Helper IV
Helper IV

Sales Pipeline / Forecast for future 12 months - HELP!

Hello all,

 

Please help, I am SO stuck. 

 

I need a column chart that displays, by month, the sum of all individual opportunities’ sales values to give a variable forecast of revenue in the pipeline over the next 12 - 24 months. 

 

As an example, an opportunity closing (or expected to close) in Jan 2020 will need to have its revenue split evenly over the 12 months following its close date. And I need to do this for every opportunity at a status of OPEN or WON and sum them together by month. 

 

Table example is as follows, with only necessary columns shown:

 

Opportunities Table

Opportunity NameWeighted RevenueClose Date
30000 units of oil for chip shop£150,00015 January 2020
500kilograms of flour for bakery£2,40020 August 2019
10000kilograms of almonds£48,0005 March 2019

 

So I would like to see, for example, the £150,000 split evenly across 12 months starting from and including Jan 2020 until and including December 2021.

Likewise, I would want to see the £2,400 split evenly across 12 months from and including August 2019 until and including July 2020.

THEN I need this to happen for all open or won opportunities still within the 12 months and have them summed together by month and displayed in a column chart like below. 

 

Sales Pipeline by month.jpg

 

Please help, I have no idea how to dynamically add the future 12 months based on the opportunity's close date (date table?) or how to sum up that evenly split monthly calculation of all opportunities' revenue. 

 

@Greg_Deckleryou are such a whizz I am really hoping you can help me. 

1 ACCEPTED SOLUTION

@Gingerjeans88 I see what you are saying, sorry about that. it is giving revenue for each day, anyhow, see attached and I think that will do it

 

Would appreciate Kudos 🙂 if my solution helped.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

10 REPLIES 10
parry2k
Super User
Super User

@Gingerjeans88 solution attached, I think this is what you are looking for.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k this is incredible and I think it is excactly what I need! Just a quick question to help me replicate it.

Your step 'Extended End Date'....what have you done there? Is that just to simulate having more rows of data for the example report? 

Just checking it is something dynamic in my source Opportunity table and nothing I will have to do manually ongoing.

 

Thanks so much again!

 

 

Yes it is dynamic and previous steps adds 12 months to the date and make a list and this step expand that date to rows. There will be no manual process. Hope this helps.


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Got it, thank you!
Last question - my sum seems over-inflated and, looking at the data, it seems it’s not just adding a new monthly value, but the expanded list is adding that monthly value to every day of every month.

So instead of having 12 values of £12,500 for each of the months in the forecast, each day has £12,500. How do I fix this?
Or Is this mitigated somehow by grouping when adding to the chart?

@Gingerjeans88 not sure if I following your question, if total oppy revenue is 12000 and for each month it would be 1000 and there is already a column I added for this (1000 value) which you should be using. Am I missing something here?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

No you're not at all, it's me! 

 

So say as an example, the first opportunity.

10000kilograms of almonds£48,00015 March 2019 2020

 

With having applied the changes you so kindly gave, the £48,000 total oppy revenue is divided by 12 into £4,000.

However, I am seeing the £4,000 367 times instead of once for each month. Hence in your pbix March 2019's revenue is £68,000 (£4,000 x 17 days) instead of just £4,000....and there are no other opportunities with a value in March, so that should be the total monthly value for March.

I'm sure it is easily fixed and something I did wrong, but thought I'd ask anyway! Unfortunately I can't share the pbix but let me try some screenshots....

Opportunity Table steps.png

 
 

Thanks @parry2k !! Can't explain how helpful this has been

@Gingerjeans88 I see what you are saying, sorry about that. it is giving revenue for each day, anyhow, see attached and I think that will do it

 

Would appreciate Kudos 🙂 if my solution helped.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k I honestly cannot thank you enough for this, it is spot on! Very much appreciated.

@Gingerjeans88  - I just saw this, looks like you have been helped by @parry2k . If you need anything else let me know. Seems like you need a variation of Open Tickets. https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/td-p/409364.

 

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@parry2k you are fantastic, a massive thanks for the help and speedy reply! It’s after midnight here and I’ve just logged off so as soon as I’m back on the laptop in the morning I’m going to have a look!

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.